diff --git a/admin/themes/default/template/controllers/addresses/helpers/form/form.tpl b/admin/themes/default/template/controllers/addresses/helpers/form/form.tpl index 420c44ca4..d416d2a07 100644 --- a/admin/themes/default/template/controllers/addresses/helpers/form/form.tpl +++ b/admin/themes/default/template/controllers/addresses/helpers/form/form.tpl @@ -26,10 +26,6 @@ {extends file="helpers/form/form.tpl"} {block name="label"} - {if $input.name == 'vat_number'} -
- {/if} - {if $input.type == 'text_customer' && !isset($customer)} {else} @@ -92,7 +88,4 @@ {else} {$smarty.block.parent} {/if} - {if $input.name == 'vat_number'} -
- {/if} {/block} diff --git a/admin/themes/default/template/helpers/form/form.tpl b/admin/themes/default/template/helpers/form/form.tpl index 478f365db..75e0dce6f 100644 --- a/admin/themes/default/template/helpers/form/form.tpl +++ b/admin/themes/default/template/helpers/form/form.tpl @@ -911,7 +911,6 @@ var module_dir = '{$smarty.const._MODULE_DIR_}'; var id_language = {$defaultFormLanguage|intval}; var languages = new Array(); - var vat_number = {if $vat_number}1{else}0{/if}; // Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid // precedence conflicts with other document.ready() blocks {foreach $languages as $k => $language} diff --git a/classes/Address.php b/classes/Address.php index 7533f2ac1..f1258d791 100644 --- a/classes/Address.php +++ b/classes/Address.php @@ -243,13 +243,6 @@ class AddressCore extends ObjectModel public function validateController($htmlentities = true) { $errors = parent::validateController($htmlentities); - if (!Configuration::get('VATNUMBER_MANAGEMENT') || !Configuration::get('VATNUMBER_CHECKING')) { - return $errors; - } - include_once(_PS_MODULE_DIR_.'vatnumber/vatnumber.php'); - if (class_exists('VatNumber', false)) { - return array_merge($errors, VatNumber::WebServiceCheck($this->vat_number)); - } return $errors; } /** diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index f432f2d4e..14ce46b7c 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -124,19 +124,6 @@ class DispatcherCore 'tags' => array('regexp' => '[a-zA-Z0-9-\pL]*'), ), ), - /* Must be after the product and category rules in order to avoid conflict */ - 'layered_rule' => array( - 'controller' => 'category', - 'rule' => '{id}-{rewrite}{/:selected_filters}', - 'keywords' => array( - 'id' => array('regexp' => '[0-9]+', 'param' => 'id_category'), - /* Selected filters is used by the module blocklayered */ - 'selected_filters' => array('regexp' => '.*', 'param' => 'selected_filters'), - 'rewrite' => array('regexp' => '[_a-zA-Z0-9\pL\pS-]*'), - 'meta_keywords' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), - 'meta_title' => array('regexp' => '[_a-zA-Z0-9-\pL]*'), - ), - ), ); /** diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index c73fbc854..bb910c35a 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -943,7 +943,6 @@ abstract class PaymentModuleCore extends Module '{delivery_phone}' => ($delivery->phone) ? $delivery->phone : $delivery->phone_mobile, '{delivery_other}' => $delivery->other, '{invoice_company}' => $invoice->company, - '{invoice_vat_number}' => $invoice->vat_number, '{invoice_firstname}' => $invoice->firstname, '{invoice_lastname}' => $invoice->lastname, '{invoice_address2}' => $invoice->address2, diff --git a/classes/PrestaShopBackup.php b/classes/PrestaShopBackup.php index 485550964..adb0f4edd 100644 --- a/classes/PrestaShopBackup.php +++ b/classes/PrestaShopBackup.php @@ -189,7 +189,7 @@ class PrestaShopBackupCore { if (!$this->psBackupAll) { $ignore_insert_table = array(_DB_PREFIX_.'connections', _DB_PREFIX_.'connections_page', _DB_PREFIX_ - .'connections_source', _DB_PREFIX_.'guest', _DB_PREFIX_.'statssearch'); + .'connections_source', _DB_PREFIX_.'guest'); } else { $ignore_insert_table = array(); } diff --git a/classes/Product.php b/classes/Product.php index 957a94e64..52f318af5 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -588,13 +588,6 @@ class ProductCore extends ObjectModel $id_address = (int)$cur_cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')}; } $address_infos = Address::getCountryAndState($id_address); - - if (self::$_taxCalculationMethod != PS_TAX_EXC - && !empty($address_infos['vat_number']) - && $address_infos['id_country'] != Configuration::get('VATNUMBER_COUNTRY') - && Configuration::get('VATNUMBER_MANAGEMENT')) { - self::$_taxCalculationMethod = PS_TAX_EXC; - } } else { self::$_taxCalculationMethod = Group::getPriceDisplayMethod(Group::getCurrent()->id); } @@ -2857,13 +2850,6 @@ class ProductCore extends ObjectModel $usetax = false; } - if ($usetax != false - && !empty($address_infos['vat_number']) - && $address_infos['id_country'] != Configuration::get('VATNUMBER_COUNTRY') - && Configuration::get('VATNUMBER_MANAGEMENT')) { - $usetax = false; - } - if (is_null($id_customer) && Validate::isLoadedObject($context->customer)) { $id_customer = $context->customer->id; } @@ -5514,66 +5500,6 @@ class ProductCore extends ObjectModel $id_shop = (int)Context::getContext()->shop->id; $cache_id = 'Product::getAttributesParams_'.(int)$id_product.'-'.(int)$id_product_attribute.'-'.(int)$id_lang.'-'.(int)$id_shop; - // if blocklayered module is installed we check if user has set custom attribute name - if (Module::isInstalled('blocklayered') && Module::isEnabled('blocklayered')) { - $nb_custom_values = Db::getInstance()->executeS(' - SELECT DISTINCT la.`id_attribute`, la.`url_name` as `name` - FROM `'._DB_PREFIX_.'attribute` a - LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac - ON (a.`id_attribute` = pac.`id_attribute`) - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pac.`id_product_attribute` = pa.`id_product_attribute`) - '.Shop::addSqlAssociation('product_attribute', 'pa').' - LEFT JOIN `'._DB_PREFIX_.'layered_indexable_attribute_lang_value` la - ON (la.`id_attribute` = a.`id_attribute` AND la.`id_lang` = '.(int)$id_lang.') - WHERE la.`url_name` IS NOT NULL AND la.`url_name` != \'\' - AND pa.`id_product` = '.(int)$id_product.' - AND pac.`id_product_attribute` = '.(int)$id_product_attribute); - - if (!empty($nb_custom_values)) { - $tab_id_attribute = array(); - foreach ($nb_custom_values as $attribute) { - $tab_id_attribute[] = $attribute['id_attribute']; - - $group = Db::getInstance()->executeS(' - SELECT a.`id_attribute`, g.`id_attribute_group`, g.`url_name` as `group` - FROM `'._DB_PREFIX_.'layered_indexable_attribute_group_lang_value` g - LEFT JOIN `'._DB_PREFIX_.'attribute` a - ON (a.`id_attribute_group` = g.`id_attribute_group`) - WHERE a.`id_attribute` = '.(int)$attribute['id_attribute'].' - AND g.`id_lang` = '.(int)$id_lang.' - AND g.`url_name` IS NOT NULL AND g.`url_name` != \'\''); - if (empty($group)) { - $group = Db::getInstance()->executeS(' - SELECT g.`id_attribute_group`, g.`name` as `group` - FROM `'._DB_PREFIX_.'attribute_group_lang` g - LEFT JOIN `'._DB_PREFIX_.'attribute` a - ON (a.`id_attribute_group` = g.`id_attribute_group`) - WHERE a.`id_attribute` = '.(int)$attribute['id_attribute'].' - AND g.`id_lang` = '.(int)$id_lang.' - AND g.`name` IS NOT NULL'); - } - $result[] = array_merge($attribute, $group[0]); - } - $values_not_custom = Db::getInstance()->executeS(' - SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group` - FROM `'._DB_PREFIX_.'attribute` a - LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al - ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)$id_lang.') - LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl - ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)$id_lang.') - LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac - ON (a.`id_attribute` = pac.`id_attribute`) - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pac.`id_product_attribute` = pa.`id_product_attribute`) - '.Shop::addSqlAssociation('product_attribute', 'pa').' - WHERE pa.`id_product` = '.(int)$id_product.' - AND pac.id_product_attribute = '.(int)$id_product_attribute.' - AND a.`id_attribute` NOT IN('.implode(', ', $tab_id_attribute).')'); - return array_merge($values_not_custom, $result); - } - } - if (!Cache::isStored($cache_id)) { $result = Db::getInstance()->executeS(' SELECT a.`id_attribute`, a.`id_attribute_group`, al.`name`, agl.`name` as `group` @@ -5603,94 +5529,20 @@ class ProductCore extends ObjectModel */ public static function getAttributesInformationsByProduct($id_product) { - // if blocklayered module is installed we check if user has set custom attribute name - if (Module::isInstalled('blocklayered') && Module::isEnabled('blocklayered')) { - $nb_custom_values = Db::getInstance()->executeS(' - SELECT DISTINCT la.`id_attribute`, la.`url_name` as `attribute` - FROM `'._DB_PREFIX_.'attribute` a - LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac - ON (a.`id_attribute` = pac.`id_attribute`) - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pac.`id_product_attribute` = pa.`id_product_attribute`) - '.Shop::addSqlAssociation('product_attribute', 'pa').' - LEFT JOIN `'._DB_PREFIX_.'layered_indexable_attribute_lang_value` la - ON (la.`id_attribute` = a.`id_attribute` AND la.`id_lang` = '.(int)Context::getContext()->language->id.') - WHERE la.`url_name` IS NOT NULL AND la.`url_name` != \'\' - AND pa.`id_product` = '.(int)$id_product); - - if (!empty($nb_custom_values)) { - $tab_id_attribute = array(); - foreach ($nb_custom_values as $attribute) { - $tab_id_attribute[] = $attribute['id_attribute']; - - $group = Db::getInstance()->executeS(' - SELECT g.`id_attribute_group`, g.`url_name` as `group` - FROM `'._DB_PREFIX_.'layered_indexable_attribute_group_lang_value` g - LEFT JOIN `'._DB_PREFIX_.'attribute` a - ON (a.`id_attribute_group` = g.`id_attribute_group`) - WHERE a.`id_attribute` = '.(int)$attribute['id_attribute'].' - AND g.`id_lang` = '.(int)Context::getContext()->language->id.' - AND g.`url_name` IS NOT NULL AND g.`url_name` != \'\''); - if (empty($group)) { - $group = Db::getInstance()->executeS(' - SELECT g.`id_attribute_group`, g.`name` as `group` - FROM `'._DB_PREFIX_.'attribute_group_lang` g - LEFT JOIN `'._DB_PREFIX_.'attribute` a - ON (a.`id_attribute_group` = g.`id_attribute_group`) - WHERE a.`id_attribute` = '.(int)$attribute['id_attribute'].' - AND g.`id_lang` = '.(int)Context::getContext()->language->id.' - AND g.`name` IS NOT NULL'); - } - $result[] = array_merge($attribute, $group[0]); - } - $values_not_custom = Db::getInstance()->executeS(' - SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group` - FROM `'._DB_PREFIX_.'attribute` a - LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al - ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.') - LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl - ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)Context::getContext()->language->id.') - LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac - ON (a.`id_attribute` = pac.`id_attribute`) - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pac.`id_product_attribute` = pa.`id_product_attribute`) - '.Shop::addSqlAssociation('product_attribute', 'pa').' - '.Shop::addSqlAssociation('attribute', 'pac').' - WHERE pa.`id_product` = '.(int)$id_product.' - AND a.`id_attribute` NOT IN('.implode(', ', $tab_id_attribute).')'); - $result = array_merge($values_not_custom, $result); - } else { - $result = Db::getInstance()->executeS(' - SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group` - FROM `'._DB_PREFIX_.'attribute` a - LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al - ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.') - LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl - ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)Context::getContext()->language->id.') - LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac - ON (a.`id_attribute` = pac.`id_attribute`) - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pac.`id_product_attribute` = pa.`id_product_attribute`) - '.Shop::addSqlAssociation('product_attribute', 'pa').' - '.Shop::addSqlAssociation('attribute', 'pac').' - WHERE pa.`id_product` = '.(int)$id_product); - } - } else { - $result = Db::getInstance()->executeS(' - SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group` - FROM `'._DB_PREFIX_.'attribute` a - LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al - ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.') - LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl - ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)Context::getContext()->language->id.') - LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac - ON (a.`id_attribute` = pac.`id_attribute`) - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pac.`id_product_attribute` = pa.`id_product_attribute`) - '.Shop::addSqlAssociation('product_attribute', 'pa').' - '.Shop::addSqlAssociation('attribute', 'pac').' - WHERE pa.`id_product` = '.(int)$id_product); - } + $result = Db::getInstance()->executeS(' + SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group` + FROM `'._DB_PREFIX_.'attribute` a + LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al + ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.') + LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl + ON (a.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)Context::getContext()->language->id.') + LEFT JOIN `'._DB_PREFIX_.'product_attribute_combination` pac + ON (a.`id_attribute` = pac.`id_attribute`) + LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa + ON (pac.`id_product_attribute` = pa.`id_product_attribute`) + '.Shop::addSqlAssociation('product_attribute', 'pa').' + '.Shop::addSqlAssociation('attribute', 'pac').' + WHERE pa.`id_product` = '.(int)$id_product); return $result; } diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index c80831cd4..11dba43e9 100644 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -465,7 +465,6 @@ class FrontControllerCore extends Controller 'use_taxes' => (int)Configuration::get('PS_TAX'), 'show_taxes' => (int)(Configuration::get('PS_TAX_DISPLAY') == 1 && (int)Configuration::get('PS_TAX')), 'display_tax_label' => (bool)$display_tax_label, - 'vat_management' => (int)Configuration::get('VATNUMBER_MANAGEMENT'), 'opc' => (bool)Configuration::get('PS_ORDER_PROCESS_TYPE'), 'PS_CATALOG_MODE' => (bool)Configuration::get('PS_CATALOG_MODE') || (Group::isFeatureActive() && !(bool)Group::getCurrent()->show_prices), 'b2b_enable' => (bool)Configuration::get('PS_B2B_ENABLE'), @@ -1582,17 +1581,10 @@ class FrontControllerCore extends Controller */ public function setMobileTemplate($template) { - // Needed for site map - $blockmanufacturer = Module::getInstanceByName('blockmanufacturer'); - $blocksupplier = Module::getInstanceByName('blocksupplier'); - $this->context->smarty->assign(array( 'categoriesTree' => Category::getRootCategory()->recurseLiteCategTree(0), 'categoriescmsTree' => CMSCategory::getRecurseCategory($this->context->language->id, 1, 1, 1), 'voucherAllowed' => (int)CartRule::isFeatureActive(), - 'display_manufacturer_link' => (bool)$blockmanufacturer->active, - 'display_supplier_link' => (bool)$blocksupplier->active, - 'PS_DISPLAY_SUPPLIERS' => Configuration::get('PS_DISPLAY_SUPPLIERS'), 'PS_DISPLAY_BEST_SELLERS' => Configuration::get('PS_DISPLAY_BEST_SELLERS'), 'display_store' => Configuration::get('PS_STORES_DISPLAY_SITEMAP'), 'conditions' => Configuration::get('PS_CONDITIONS'), diff --git a/classes/helper/HelperForm.php b/classes/helper/HelperForm.php index c60308f6e..9fe37a036 100644 --- a/classes/helper/HelperForm.php +++ b/classes/helper/HelperForm.php @@ -251,7 +251,6 @@ class HelperFormCore extends Helper 'fields' => $this->fields_form, 'fields_value' => $this->fields_value, 'required_fields' => $this->getFieldsRequired(), - 'vat_number' => Module::isInstalled('vatnumber') && file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'), 'module_dir' => _MODULE_DIR_, 'base_url' => $this->context->shop->getBaseURL(), 'contains_states' => (isset($this->fields_value['id_country']) && isset($this->fields_value['id_state'])) ? Country::containsStates($this->fields_value['id_country']) : null, diff --git a/classes/pdf/HTMLTemplateInvoice.php b/classes/pdf/HTMLTemplateInvoice.php index 8d2c7c0c9..c8832e174 100644 --- a/classes/pdf/HTMLTemplateInvoice.php +++ b/classes/pdf/HTMLTemplateInvoice.php @@ -533,9 +533,6 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate $debug = Tools::getValue('debug'); $address = new Address((int)$this->order->id_address_tax); - $tax_exempt = Configuration::get('VATNUMBER_MANAGEMENT') - && !empty($address->vat_number) - && $address->id_country != Configuration::get('VATNUMBER_COUNTRY'); $carrier = new Carrier($this->order->id_carrier); // code to send name of the taxes applied on the order to show names od taxes in the invoice for GST @@ -560,7 +557,6 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate $data = array( 'showTaxName' => $showTaxName, - 'tax_exempt' => $tax_exempt, 'use_one_after_another_method' => $this->order_invoice->useOneAfterAnotherTaxComputationMethod(), 'display_tax_bases_in_breakdowns' => $this->order_invoice->displayTaxBasesInProductTaxesBreakdown(), 'product_tax_breakdown' => $this->order_invoice->getProductTaxesBreakdown($this->order), diff --git a/classes/pdf/HTMLTemplateOrderSlip.php b/classes/pdf/HTMLTemplateOrderSlip.php index 8178636e6..b843b3d2a 100644 --- a/classes/pdf/HTMLTemplateOrderSlip.php +++ b/classes/pdf/HTMLTemplateOrderSlip.php @@ -199,12 +199,7 @@ class HTMLTemplateOrderSlipCore extends HTMLTemplateInvoice public function getTaxTabContent() { $address = new Address((int)$this->order->id_address_tax); - $tax_exempt = Configuration::get('VATNUMBER_MANAGEMENT') - && !empty($address->vat_number) - && $address->id_country != Configuration::get('VATNUMBER_COUNTRY'); - $this->smarty->assign(array( - 'tax_exempt' => $tax_exempt, 'product_tax_breakdown' => $this->getProductTaxesBreakdown(), 'shipping_tax_breakdown' => $this->getShippingTaxesBreakdown(), 'order' => $this->order, diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml index 96567894c..2f93b1510 100644 --- a/config/xml/themes/default.xml +++ b/config/xml/themes/default.xml @@ -50,7 +50,6 @@ - @@ -62,43 +61,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -166,12 +128,6 @@ - - - - - - diff --git a/controllers/admin/AdminAddressesController.php b/controllers/admin/AdminAddressesController.php index ce37b1743..0c503b10f 100644 --- a/controllers/admin/AdminAddressesController.php +++ b/controllers/admin/AdminAddressesController.php @@ -36,7 +36,7 @@ class AdminAddressesControllerCore extends AdminController { $this->bootstrap = true; $this->required_database = true; - $this->required_fields = array('company','address2', 'postcode', 'other', 'phone', 'phone_mobile', 'vat_number', 'dni'); + $this->required_fields = array('company', 'address2', 'postcode', 'other', 'phone', 'phone_mobile', 'dni'); $this->table = 'address'; $this->className = 'Address'; $this->lang = false; @@ -217,13 +217,6 @@ class AdminAddressesControllerCore extends AdminController 'col' => '4', 'hint' => $this->l('Invalid characters:').' <>;=#{}' ); - $temp_fields[] = array( - 'type' => 'text', - 'label' => $this->l('VAT number'), - 'col' => '2', - 'name' => 'vat_number', - 'required' => in_array('vat_number', $required_fields) - ); } elseif ($addr_field_item == 'lastname') { if (isset($customer) && !Tools::isSubmit('submit'.strtoupper($this->table)) && diff --git a/controllers/admin/AdminBackupController.php b/controllers/admin/AdminBackupController.php index 265cff280..53bba4575 100644 --- a/controllers/admin/AdminBackupController.php +++ b/controllers/admin/AdminBackupController.php @@ -61,7 +61,7 @@ class AdminBackupControllerCore extends AdminController 'title' => $this->l('Ignore statistics tables'), 'desc' => $this->l('Drop existing tables during import.').'
'._DB_PREFIX_.'connections, '._DB_PREFIX_.'connections_page, '._DB_PREFIX_ - .'connections_source, '._DB_PREFIX_.'guest, '._DB_PREFIX_.'statssearch', + .'connections_source, '._DB_PREFIX_.'guest', 'cast' => 'intval', 'type' => 'bool' ), diff --git a/controllers/admin/AdminMetaController.php b/controllers/admin/AdminMetaController.php index f16e5b68d..6ca06e6d8 100644 --- a/controllers/admin/AdminMetaController.php +++ b/controllers/admin/AdminMetaController.php @@ -741,7 +741,6 @@ class AdminMetaControllerCore extends AdminController { $this->addFieldRoute('product_rule', $this->l('Route to products')); $this->addFieldRoute('category_rule', $this->l('Route to category')); - $this->addFieldRoute('layered_rule', $this->l('Route to category which has the "selected_filter" attribute for the "Layered Navigation" (blocklayered) module')); $this->addFieldRoute('supplier_rule', $this->l('Route to supplier')); $this->addFieldRoute('manufacturer_rule', $this->l('Route to manufacturer')); $this->addFieldRoute('cms_rule', $this->l('Route to CMS page')); diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 4cb2873ef..5e9a41d8a 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -29,7 +29,6 @@ class AdminModulesControllerCore extends AdminController private $_modules_ad = array( 'blockcart' => array('cartabandonmentpro'), /* 'bloctopmenu' => array('advancedtopmenu'), */ - 'blocklayered' => array('pm_advancedsearch4') ); /* ** @var array map with $_GET keywords and their callback diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index 72bbb7901..f55a881fb 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -2697,8 +2697,6 @@ class AdminProductsControllerCore extends AdminController // used to build the new url when changing category $this->tpl_list_vars['base_url'] = preg_replace('#&id_category=[0-9]*#', '', self::$currentIndex).'&token='.$this->token; } - // @todo module free - $this->tpl_form_vars['vat_number'] = file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'); parent::initContent(); } diff --git a/controllers/admin/AdminReferrersController.php b/controllers/admin/AdminReferrersController.php index 8efbd2640..ee8da2c2b 100644 --- a/controllers/admin/AdminReferrersController.php +++ b/controllers/admin/AdminReferrersController.php @@ -230,17 +230,6 @@ class AdminReferrersControllerCore extends AdminController 'submit' => array('title' => $this->l('Save')), )); - if (Module::isInstalled('trackingfront')) { - $this->fields_form[0]['form']['desc'] = array( - $this->l('Affiliates can access their data with this name and password.'), - $this->l('Front access:').' '.$uri.'modules/trackingfront/stats.php' - ); - } else { - $this->fields_form[0]['form']['desc'] = array( - sprintf($this->l('Please install the "%s" module in order to give your affiliates access their own statistics.'), Module::getModuleName('trackingfront')) - ); - } - $this->fields_form[1] = array('form' => array( 'legend' => array( 'title' => $this->l('Commission plan'), diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index 2b9f6d16b..1d99f606d 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -2085,45 +2085,16 @@ class AdminThemesControllerCore extends AdminController return array( 'addsharethis', 'bankwire', - 'blockadvertising', - 'blockbanner', - 'blockbestsellers', 'blockcart', - 'blockcategories', - 'blockcms', - 'blockcmsinfo', - 'blockcontact', - 'blockcontactinfos', 'blockcurrencies', - 'blockcustomerprivacy', - 'blockfacebook', 'blocklanguages', - 'blocklayered', - 'blocklink', - 'blockmanufacturer', 'blockmyaccount', - 'blockmyaccountfooter', - 'blocknewproducts', 'blocknewsletter', - 'blockpaymentlogo', - 'blockpermanentlinks', - 'blockreinsurance', - 'blockrss', - 'blocksearch', - 'blocksharefb', 'blocksocial', - 'blockspecials', - 'blockstore', - 'blocksupplier', - 'blocktags', - 'blocktopmenu', 'blockuserinfo', - 'blockviewed', - 'blockwishlist', 'carriercompare', 'cashondelivery', 'cheque', - 'crossselling', 'dashactivity', 'dashgoals', 'dashproducts', @@ -2135,22 +2106,13 @@ class AdminThemesControllerCore extends AdminController 'followup', 'gapi', 'graphnvd3', - 'gridhtml', - 'homefeatured', - 'homeslider', 'loyalty', 'mailalerts', 'newsletter', 'pagesnotfound', 'productcomments', - 'productpaymentlogos', - 'productscategory', - 'producttooltip', - 'pscleaner', 'referralprogram', 'sekeywords', - 'sendtoafriend', - 'socialsharing', 'statsbestcategories', 'statsbestcustomers', 'statsbestmanufacturers', @@ -2170,12 +2132,8 @@ class AdminThemesControllerCore extends AdminController 'statsproduct', 'statsregistrations', 'statssales', - 'statssearch', - 'statsstock', 'statsvisits', 'themeconfigurator', - 'trackingfront', - 'vatnumber', 'watermark' ); } diff --git a/controllers/front/AddressController.php b/controllers/front/AddressController.php index a03befc81..55b3d0f51 100644 --- a/controllers/front/AddressController.php +++ b/controllers/front/AddressController.php @@ -45,7 +45,6 @@ class AddressControllerCore extends FrontController { parent::setMedia(); $this->addJS(array( - _THEME_JS_DIR_.'tools/vatManagement.js', _THEME_JS_DIR_.'tools/statesManagement.js', _PS_JS_DIR_.'validate.js' )); @@ -257,7 +256,6 @@ class AddressControllerCore extends FrontController parent::initContent(); $this->assignCountries(); - $this->assignVatNumber(); $this->assignAddressFormat(); // Assign common vars @@ -331,32 +329,6 @@ class AddressControllerCore extends FrontController )); } - /** - * Assign template vars related to vat number - * @todo move this in vatnumber module ! - */ - protected function assignVatNumber() - { - $vat_number_exists = file_exists(_PS_MODULE_DIR_.'vatnumber/vatnumber.php'); - $vat_number_management = Configuration::get('VATNUMBER_MANAGEMENT'); - if ($vat_number_management && $vat_number_exists) { - include_once(_PS_MODULE_DIR_.'vatnumber/vatnumber.php'); - } - - if ($vat_number_management && $vat_number_exists && VatNumber::isApplicable((int)Tools::getCountry())) { - $vat_display = 2; - } elseif ($vat_number_management) { - $vat_display = 1; - } else { - $vat_display = 0; - } - - $this->context->smarty->assign(array( - 'vatnumber_ajax_call' => file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'), - 'vat_display' => $vat_display, - )); - } - public function displayAjax() { if (count($this->errors)) { diff --git a/controllers/front/AddressesController.php b/controllers/front/AddressesController.php index 661c6cef8..27e81f944 100644 --- a/controllers/front/AddressesController.php +++ b/controllers/front/AddressesController.php @@ -85,7 +85,6 @@ class AddressesControllerCore extends FrontController $addresses_style = array( 'company' => 'address_company', - 'vat_number' => 'address_company', 'firstname' => 'address_name', 'lastname' => 'address_name', 'address1' => 'address_address1', diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 9042a1e10..32ab62ac7 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -70,7 +70,6 @@ class AuthControllerCore extends FrontController $this->addJqueryPlugin('typewatch'); $this->addJS(array( - _THEME_JS_DIR_.'tools/vatManagement.js', _THEME_JS_DIR_.'tools/statesManagement.js', _THEME_JS_DIR_.'authentication.js', _PS_JS_DIR_.'validate.js' @@ -217,7 +216,6 @@ class AuthControllerCore extends FrontController 'countries' => $countries, 'PS_REGISTRATION_PROCESS_TYPE' => Configuration::get('PS_REGISTRATION_PROCESS_TYPE'), 'sl_country' => (int)$this->id_country, - 'vat_management' => Configuration::get('VATNUMBER_MANAGEMENT') )); } diff --git a/controllers/front/OrderOpcController.php b/controllers/front/OrderOpcController.php index 1c0227326..a4660529c 100644 --- a/controllers/front/OrderOpcController.php +++ b/controllers/front/OrderOpcController.php @@ -345,7 +345,6 @@ class OrderOpcControllerCore extends ParentOrderController } $this->addJS(array( - _THEME_JS_DIR_.'tools/vatManagement.js', _THEME_JS_DIR_.'tools/statesManagement.js', _THEME_JS_DIR_.'order-carrier.js', _PS_JS_DIR_.'validate.js' @@ -597,7 +596,6 @@ class OrderOpcControllerCore extends ParentOrderController 'company' => Tools::htmlentitiesUTF8($address_delivery->company), 'lastname' => Tools::htmlentitiesUTF8($address_delivery->lastname), 'firstname' => Tools::htmlentitiesUTF8($address_delivery->firstname), - 'vat_number' => Tools::htmlentitiesUTF8($address_delivery->vat_number), 'dni' => Tools::htmlentitiesUTF8($address_delivery->dni), 'address1' => Tools::htmlentitiesUTF8($address_delivery->address1), 'postcode' => Tools::htmlentitiesUTF8($address_delivery->postcode), @@ -613,7 +611,6 @@ class OrderOpcControllerCore extends ParentOrderController 'company_invoice' => Tools::htmlentitiesUTF8($address_invoice->company), 'lastname_invoice' => Tools::htmlentitiesUTF8($address_invoice->lastname), 'firstname_invoice' => Tools::htmlentitiesUTF8($address_invoice->firstname), - 'vat_number_invoice' => Tools::htmlentitiesUTF8($address_invoice->vat_number), 'dni_invoice' => Tools::htmlentitiesUTF8($address_invoice->dni), 'address1_invoice' => Tools::htmlentitiesUTF8($address_invoice->address1), 'address2_invoice' => Tools::htmlentitiesUTF8($address_invoice->address2), @@ -627,7 +624,6 @@ class OrderOpcControllerCore extends ParentOrderController 'invoice_company' => Tools::htmlentitiesUTF8($address_invoice->company), 'invoice_lastname' => Tools::htmlentitiesUTF8($address_invoice->lastname), 'invoice_firstname' => Tools::htmlentitiesUTF8($address_invoice->firstname), - 'invoice_vat_number' => Tools::htmlentitiesUTF8($address_invoice->vat_number), 'invoice_dni' => Tools::htmlentitiesUTF8($address_invoice->dni), 'invoice_address' => $this->context->cart->id_address_invoice !== $this->context->cart->id_address_delivery, 'invoice_address1' => Tools::htmlentitiesUTF8($address_invoice->address1), diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index 1f80365ba..6da5561ae 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -158,7 +158,7 @@ class ProductControllerCore extends FrontController $id_category = (int)$this->product->id_category_default; } $this->category = new Category((int)$id_category, (int)$this->context->cookie->id_lang); - if (isset($this->context->cookie) && isset($this->category->id_category) && !(Module::isInstalled('blockcategories') && Module::isEnabled('blockcategories'))) { + if (isset($this->context->cookie) && isset($this->category->id_category)) { $this->context->cookie->last_visited_category = (int)$this->category->id_category; } } diff --git a/controllers/front/SitemapController.php b/controllers/front/SitemapController.php index cd355fa97..049fbcf1b 100644 --- a/controllers/front/SitemapController.php +++ b/controllers/front/SitemapController.php @@ -46,22 +46,6 @@ class SitemapControllerCore extends FrontController $this->context->smarty->assign('categoriesTree', Category::getRootCategory()->recurseLiteCategTree(0)); $this->context->smarty->assign('categoriescmsTree', CMSCategory::getRecurseCategory($this->context->language->id, 1, 1, 1)); $this->context->smarty->assign('voucherAllowed', (int)CartRule::isFeatureActive()); - - if (Module::isInstalled('blockmanufacturer') && Module::isEnabled('blockmanufacturer')) { - $blockmanufacturer = Module::getInstanceByName('blockmanufacturer'); - $this->context->smarty->assign('display_manufacturer_link', isset($blockmanufacturer->active) ? (bool)$blockmanufacturer->active : false); - } else { - $this->context->smarty->assign('display_manufacturer_link', 0); - } - - if (Module::isInstalled('blocksupplier') && Module::isEnabled('blocksupplier')) { - $blocksupplier = Module::getInstanceByName('blocksupplier'); - $this->context->smarty->assign('display_supplier_link', isset($blocksupplier->active) ? (bool)$blocksupplier->active : false); - } else { - $this->context->smarty->assign('display_supplier_link', 0); - } - - $this->context->smarty->assign('PS_DISPLAY_SUPPLIERS', Configuration::get('PS_DISPLAY_SUPPLIERS')); $this->context->smarty->assign('PS_DISPLAY_BEST_SELLERS', Configuration::get('PS_DISPLAY_BEST_SELLERS')); $this->context->smarty->assign('display_store', Configuration::get('PS_STORES_DISPLAY_SITEMAP')); diff --git a/install/data/theme.sql b/install/data/theme.sql index 3e46270cc..499aa07d3 100644 --- a/install/data/theme.sql +++ b/install/data/theme.sql @@ -43,12 +43,10 @@ UPDATE `PREFIX_configuration` SET value = '1' WHERE name = 'MANUFACTURER_DISPLAY UPDATE `PREFIX_configuration` SET value = '1' WHERE name = 'MANUFACTURER_DISPLAY_TEXT'; UPDATE `PREFIX_configuration` SET value = '5' WHERE name = 'MANUFACTURER_DISPLAY_TEXT_NB'; UPDATE `PREFIX_configuration` SET value = '8' WHERE name = 'NEW_PRODUCTS_NBR'; -UPDATE `PREFIX_configuration` SET value = '10' WHERE name = 'BLOCKTAGS_NBR'; UPDATE `PREFIX_configuration` SET value = '0_3|0_4' WHERE name = 'FOOTER_CMS'; UPDATE `PREFIX_configuration` SET value = '0_3|0_4' WHERE name = 'FOOTER_BLOCK_ACTIVATION'; UPDATE `PREFIX_configuration` SET value = '1' WHERE name = 'FOOTER_POWEREDBY'; UPDATE `PREFIX_configuration` SET value = 'https://qloapps.com/' WHERE name = 'BLOCKADVERT_LINK'; -UPDATE `PREFIX_configuration` SET value = 'store.jpg' WHERE name = 'BLOCKSTORE_IMG'; UPDATE `PREFIX_configuration` SET value = 'jpg' WHERE name = 'BLOCKADVERT_IMG_EXT'; UPDATE `PREFIX_configuration` SET value = 'CAT3,CAT8,CAT5,LNK1' WHERE name = 'MOD_BLOCKTOPMENU_ITEMS'; UPDATE `PREFIX_configuration` SET value = '0' WHERE name = 'MOD_BLOCKTOPMENU_SEARCH'; @@ -107,9 +105,6 @@ AND id_hook = @id_hook; /* displayTop */ SET @id_hook = (SELECT id_hook FROM `PREFIX_hook` WHERE name = 'displayTop'); -UPDATE `PREFIX_hook_module` SET position = 1 -WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blocksearch') -AND id_hook = @id_hook; UPDATE `PREFIX_hook_module` SET position = 3 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blocktopmenu') @@ -131,10 +126,6 @@ UPDATE `PREFIX_hook_module` SET position = 1 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blocknewproducts') AND id_hook IN (@id_hook, @id_hook2); -UPDATE `PREFIX_hook_module` SET position = 2 -WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'homefeatured') -AND id_hook IN (@id_hook, @id_hook2); - UPDATE `PREFIX_hook_module` SET position = 3 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blockbestsellers') AND id_hook IN (@id_hook, @id_hook2); @@ -149,14 +140,6 @@ UPDATE `PREFIX_hook_module` SET position = 2 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blocksocial') AND id_hook = @id_hook; -UPDATE `PREFIX_hook_module` SET position = 3 -WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blockcategories') -AND id_hook = @id_hook; - -UPDATE `PREFIX_hook_module` SET position = 4 -WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blockcms') -AND id_hook = @id_hook; - UPDATE `PREFIX_hook_module` SET position = 5 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blockmyaccountfooter') AND id_hook = @id_hook; @@ -170,9 +153,6 @@ SET @id_hook = (SELECT id_hook FROM `PREFIX_hook` WHERE name = 'displayProductBu UPDATE `PREFIX_hook_module` SET position = 1 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blockwishlist') AND id_hook = @id_hook; -UPDATE `PREFIX_hook_module` SET position = 2 -WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'productpaymentlogos') -AND id_hook = @id_hook; INSERT INTO `PREFIX_hook_module_exceptions` (`id_shop`, `id_module`, `id_hook`, `file_name`) ( diff --git a/install/data/xml/configuration.xml b/install/data/xml/configuration.xml index 7d09e334d..436515bc6 100644 --- a/install/data/xml/configuration.xml +++ b/install/data/xml/configuration.xml @@ -605,9 +605,6 @@ gridhtml - - 10 - 100 @@ -644,9 +641,6 @@ http://www.qloapps.com - - store.jpg - jpg @@ -662,26 +656,6 @@ http://www.twitter.com/qloapps - - Your company - - - Address line 1 -City -Country - - - 0123-456-789 - - - pub@qloapps.com - - - 0123-456-789 - - - pub@qloapps.com - 1 @@ -703,18 +677,6 @@ Country 5 - - 535 - - - 1300 - - - 7700 - - - 1 - m diff --git a/js/admin.js b/js/admin.js index cf326f85f..2edebf24d 100644 --- a/js/admin.js +++ b/js/admin.js @@ -1321,21 +1321,6 @@ function ajaxStates(id_state_selected) } } }); - - if (module_dir && vat_number) - { - $.ajax({ - type: "GET", - url: window.location.origin + module_dir + "vatnumber/ajax.php?id_country=" + $('#id_country').val(), - success: function(isApplicable) - { - if(isApplicable == 1) - $('#vat_area').show(); - else - $('#vat_area').hide(); - } - }); - } } function check_for_all_accesses(tabsize, tabnumber) diff --git a/modules/blockadvertising/CHANGELOG.txt b/modules/blockadvertising/CHANGELOG.txt deleted file mode 100644 index 65bd6cfa7..000000000 --- a/modules/blockadvertising/CHANGELOG.txt +++ /dev/null @@ -1,14 +0,0 @@ ------------------------------- -# V0.10.1 to V0.10.2 ------------------------------- - -## Improved/Changed Features: - -* [CO] :Images link are now generated dynamically - -_____________________________________________________________________________ - -2014-04-22 18:56:48 +0200 // Changelog updated -2014-04-15 17:23:48 +0200 [*] MO : blockadvertising - Changed the way images are stocked to avoid overwrite on update -2014-03-24 10:44:25 +0100 // MO BlockAdvertising : ps_versions_compliancy added -2014-03-20 14:19:12 +0100 Initial commit diff --git a/modules/blockadvertising/blockadvertising.php b/modules/blockadvertising/blockadvertising.php deleted file mode 100644 index ff14468cd..000000000 --- a/modules/blockadvertising/blockadvertising.php +++ /dev/null @@ -1,292 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockAdvertising extends Module -{ - /* Title associated to the image */ - public $adv_title; - - /* Link associated to the image */ - public $adv_link; - - /* Name of the image without extension */ - public $adv_imgname; - - /* Image path with extension */ - public $adv_img; - - public function __construct() - { - $this->name = 'blockadvertising'; - $this->tab = 'advertising_marketing'; - $this->version = '0.10.2'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Advertising block'); - $this->description = $this->l('Adds an advertisement block to selected sections of your e-commerce website.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - - $this->initialize(); - } - - /* - * Set the properties of the module, like the link to the image and the title (contextual to the current shop context) - */ - protected function initialize() - { - $this->adv_imgname = 'advertising'; - if ((Shop::getContext() == Shop::CONTEXT_GROUP || Shop::getContext() == Shop::CONTEXT_SHOP) - && (bool)Tools::file_get_contents($this->context->link->getMediaLink(_MODULE_DIR_.$this->name.'/img/'.$this->adv_imgname.'-g'.$this->context->shop->getContextShopGroupID().'.'.Configuration::get('BLOCKADVERT_IMG_EXT'))) //bywebkul - ) - $this->adv_imgname .= '-g'.$this->context->shop->getContextShopGroupID(); - if (Shop::getContext() == Shop::CONTEXT_SHOP - && (bool)Tools::file_get_contents($this->context->link->getMediaLink(_MODULE_DIR_.$this->name.'/img/'.$this->adv_imgname.'-s'.$this->context->shop->getContextShopID().'.'.Configuration::get('BLOCKADVERT_IMG_EXT'))) // by webkul - ) - $this->adv_imgname .= '-s'.$this->context->shop->getContextShopID(); - - // If none of them available go default - if ($this->adv_imgname == 'advertising') - $this->adv_img = Tools::getMediaServer($this->name)._MODULE_DIR_.$this->name.'/img/fixtures/'.$this->adv_imgname.'.jpg'; - else - $this->adv_img = Tools::getMediaServer($this->name)._MODULE_DIR_.$this->name.'/img/'.$this->adv_imgname.'.'.Configuration::get('BLOCKADVERT_IMG_EXT'); - $this->adv_link = htmlentities(Configuration::get('BLOCKADVERT_LINK'), ENT_QUOTES, 'UTF-8'); - $this->adv_title = htmlentities(Configuration::get('BLOCKADVERT_TITLE'), ENT_QUOTES, 'UTF-8'); - } - - public function install() - { - if (!parent::install()) - return false; - - // Hook the module either on the left or right column - $theme = new Theme(Context::getContext()->shop->id_theme); - if ((!$theme->default_left_column || !$this->registerHook('leftColumn')) - && (!$theme->default_right_column || !$this->registerHook('rightColumn')) - ) - { - // If there are no colums implemented by the template, throw an error and uninstall the module - $this->_errors[] = $this->l('This module needs to be hooked to a column, but your theme does not implement one'); - parent::uninstall(); - - return false; - } - - Configuration::updateGlobalValue('BLOCKADVERT_LINK', 'http://www.prestashop.com/'); - Configuration::updateGlobalValue('BLOCKADVERT_TITLE', 'PrestaShop'); - // Try to update with the extension of the image that exists in the module directory - foreach (scandir(_PS_MODULE_DIR_.$this->name) as $file) - if (in_array($file, array('advertising.jpg', 'advertising.gif', 'advertising.png'))) - Configuration::updateGlobalValue('BLOCKADVERT_IMG_EXT', substr($file, strrpos($file, '.') + 1)); - - return true; - } - - public function uninstall() - { - Configuration::deleteByName('BLOCKADVERT_LINK'); - Configuration::deleteByName('BLOCKADVERT_TITLE'); - Configuration::deleteByName('BLOCKADVERT_IMG_EXT'); - - return (parent::uninstall()); - } - - /** - * delete the contextual image (it is not allowed to delete the default image) - * - * @return void - */ - private function _deleteCurrentImg() - { - // Delete the image file - if ($this->adv_imgname != 'advertising' && (bool)Tools::file_get_contents($this->context->link->getMediaLink(_PS_MODULE_DIR_.$this->name.'/img/'.$this->adv_imgname.'.'.Configuration::get('BLOCKADVERT_IMG_EXT')))) // by webkul - Tools::deleteFile(_PS_MODULE_DIR_.$this->name.'/img/'.$this->adv_imgname.'.'.Configuration::get('BLOCKADVERT_IMG_EXT')); - - // Update the extension to the global value or the shop group value if available - Configuration::deleteFromContext('BLOCKADVERT_IMG_EXT'); - Configuration::updateValue('BLOCKADVERT_IMG_EXT', Configuration::get('BLOCKADVERT_IMG_EXT')); - - // Reset the properties of the module - $this->initialize(); - } - - public function postProcess() - { - if (Tools::isSubmit('submitDeleteImgConf')) - $this->_deleteCurrentImg(); - - $errors = ''; - if (Tools::isSubmit('submitAdvConf')) - { - if (isset($_FILES['adv_img']) && isset($_FILES['adv_img']['tmp_name']) && !empty($_FILES['adv_img']['tmp_name'])) - { - if ($error = ImageManager::validateUpload($_FILES['adv_img'], Tools::convertBytes(ini_get('upload_max_filesize')))) - $errors .= $error; - else - { - Configuration::updateValue('BLOCKADVERT_IMG_EXT', substr($_FILES['adv_img']['name'], strrpos($_FILES['adv_img']['name'], '.') + 1)); - - // Set the image name with a name contextual to the shop context - $this->adv_imgname = 'advertising'; - if (Shop::getContext() == Shop::CONTEXT_GROUP) - $this->adv_imgname = 'advertising-g'.(int)$this->context->shop->getContextShopGroupID(); - elseif (Shop::getContext() == Shop::CONTEXT_SHOP) - $this->adv_imgname = 'advertising-s'.(int)$this->context->shop->getContextShopID(); - - // Copy the image in the module directory with its new name - if(!ImageManager::resize($_FILES['adv_img']['tmp_name'], _PS_MODULE_DIR_.$this->name.'/img/'.$this->adv_imgname.'.'.Configuration::get('BLOCKADVERT_IMG_EXT'))) { //by webkul - $errors .= $this->l('File upload error.'); - } - } - } - - // If the link is not set, then delete it in order to use the next default value (either the global value or the group value) - if ($link = Tools::getValue('adv_link')) - Configuration::updateValue('BLOCKADVERT_LINK', $link); - elseif (Shop::getContext() == Shop::CONTEXT_SHOP || Shop::getContext() == Shop::CONTEXT_GROUP) - Configuration::deleteFromContext('BLOCKADVERT_LINK'); - - // If the title is not set, then delete it in order to use the next default value (either the global value or the group value) - if ($title = Tools::getValue('adv_title')) - Configuration::updateValue('BLOCKADVERT_TITLE', $title); - elseif (Shop::getContext() == Shop::CONTEXT_SHOP || Shop::getContext() == Shop::CONTEXT_GROUP) - Configuration::deleteFromContext('BLOCKADVERT_TITLE'); - - // Reset the module properties - $this->initialize(); - $this->_clearCache('blockadvertising.tpl'); - - if (!$errors) - Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules').'&conf=6'); - echo $this->displayError($errors); - } - - } - - /** - * getContent used to display admin module form - * - * @return string content - */ - public function getContent() - { - $this->postProcess(); - - return $this->renderForm(); - } - - public function hookRightColumn($params) - { - if (!$this->isCached('blockadvertising.tpl', $this->getCacheId())) - $this->smarty->assign( - array( - 'image' => $this->context->link->protocol_content.$this->adv_img, - 'adv_link' => $this->adv_link, - 'adv_title' => $this->adv_title, - ) - ); - - return $this->display(__FILE__, 'blockadvertising.tpl', $this->getCacheId()); - } - - public function hookLeftColumn($params) - { - return $this->hookRightColumn($params); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS($this->_path.'blockadvertising.css', 'all'); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Configuration'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'file', - 'label' => $this->l('Image for the advertisement'), - 'name' => 'adv_img', - 'desc' => $this->l('By default the image will appear in the left column. The recommended dimensions are 155 x 163px.'), - 'thumb' => $this->context->link->protocol_content.$this->adv_img, - ), - array( - 'type' => 'text', - 'label' => $this->l('Target link for the image'), - 'name' => 'adv_link', - ), - array( - 'type' => 'text', - 'label' => $this->l('Title of the target link'), - 'name' => 'adv_title', - 'desc' => $this->l('This title will be displayed when you mouse over the advertisement block in your shop.') - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitAdvConf'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'adv_link' => Tools::getValue('adv_link', Configuration::get('BLOCKADVERT_LINK')), - 'adv_title' => Tools::getValue('adv_title', Configuration::get('BLOCKADVERT_TITLE')), - ); - } -} diff --git a/modules/blockadvertising/blockadvertising.tpl b/modules/blockadvertising/blockadvertising.tpl deleted file mode 100644 index 1f1e07407..000000000 --- a/modules/blockadvertising/blockadvertising.tpl +++ /dev/null @@ -1,30 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
- {$adv_title} -
- diff --git a/modules/blockadvertising/img/fixtures/advertising.jpg b/modules/blockadvertising/img/fixtures/advertising.jpg deleted file mode 100644 index 61b417324..000000000 Binary files a/modules/blockadvertising/img/fixtures/advertising.jpg and /dev/null differ diff --git a/modules/blockadvertising/index.php b/modules/blockadvertising/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockadvertising/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockadvertising/logo.gif b/modules/blockadvertising/logo.gif deleted file mode 100644 index a49608392..000000000 Binary files a/modules/blockadvertising/logo.gif and /dev/null differ diff --git a/modules/blockadvertising/logo.png b/modules/blockadvertising/logo.png deleted file mode 100644 index 5637749d9..000000000 Binary files a/modules/blockadvertising/logo.png and /dev/null differ diff --git a/modules/blockadvertising/translations/index.php b/modules/blockadvertising/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockadvertising/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockadvertising/upgrade/install-0.9.php b/modules/blockadvertising/upgrade/install-0.9.php deleted file mode 100644 index b76cb967e..000000000 --- a/modules/blockadvertising/upgrade/install-0.9.php +++ /dev/null @@ -1,36 +0,0 @@ -getLocalPath(); - $img_folder_path = $module->getLocalPath().'img'; - $fixture_img_path = $module->getLocalPath().'img'.DIRECTORY_SEPARATOR.'fixtures'; - - if (!Tools::file_exists_cache($img_folder_path)) - mkdir($img_folder_path); - - if (!Tools::file_exists_cache($fixture_img_path)) - mkdir($fixture_img_path); - - $files = scandir($module->getLocalPath()); - - foreach ($files as $file) - { - if (strncmp($file, 'advertising', 11) == 0) - { - if ($file == 'advertising.jpg') - copy($module_path.$file, $fixture_img_path.DIRECTORY_SEPARATOR.$file); - else - copy($module_path.$file, $img_folder_path.DIRECTORY_SEPARATOR.$file); - - unlink($module_path.$file); - } - } - - Tools::clearCache(Context::getContext()->smarty, $module->getTemplatePath('blockadvertising.tpl')); - - return true; -} diff --git a/modules/blockbanner/CHANGELOG.txt b/modules/blockbanner/CHANGELOG.txt deleted file mode 100644 index dd2e3559e..000000000 --- a/modules/blockbanner/CHANGELOG.txt +++ /dev/null @@ -1,14 +0,0 @@ ------------------------------- -# V1.4.1 to V1.4.2 ------------------------------- - -## Improved/Changed Features: - -* [CO] :Images link are now generated dynamically - -_____________________________________________________________________________ - -2014-04-22 18:56:51 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockbanner : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 10:55:56 +0100 / MO blockbanner : ps_versions_compliancy added -2014-03-20 14:19:15 +0100 Initial commit diff --git a/modules/blockbanner/blockbanner.css b/modules/blockbanner/blockbanner.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/modules/blockbanner/blockbanner.php b/modules/blockbanner/blockbanner.php deleted file mode 100644 index de88d7f8e..000000000 --- a/modules/blockbanner/blockbanner.php +++ /dev/null @@ -1,253 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockBanner extends Module -{ - public function __construct() - { - $this->name = 'blockbanner'; - $this->tab = 'front_office_features'; - $this->version = '1.4.2'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Banner block'); - $this->description = $this->l('Displays a banner at the top of the shop.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - return - parent::install() && - $this->registerHook('displayBanner') && - $this->registerHook('displayHeader') && - $this->registerHook('actionObjectLanguageAddAfter') && - $this->installFixtures() && - $this->disableDevice(Context::DEVICE_MOBILE); - } - - public function hookActionObjectLanguageAddAfter($params) - { - return $this->installFixture((int)$params['object']->id, Configuration::get('BLOCKBANNER_IMG', (int)Configuration::get('PS_LANG_DEFAULT'))); - } - - protected function installFixtures() - { - $languages = Language::getLanguages(false); - foreach ($languages as $lang) - $this->installFixture((int)$lang['id_lang'], 'sale70.png'); - - return true; - } - - protected function installFixture($id_lang, $image = null) - { - $values['BLOCKBANNER_IMG'][(int)$id_lang] = $image; - $values['BLOCKBANNER_LINK'][(int)$id_lang] = ''; - $values['BLOCKBANNER_DESC'][(int)$id_lang] = ''; - Configuration::updateValue('BLOCKBANNER_IMG', $values['BLOCKBANNER_IMG']); - Configuration::updateValue('BLOCKBANNER_LINK', $values['BLOCKBANNER_LINK']); - Configuration::updateValue('BLOCKBANNER_DESC', $values['BLOCKBANNER_DESC']); - } - - public function uninstall() - { - Configuration::deleteByName('BLOCKBANNER_IMG'); - Configuration::deleteByName('BLOCKBANNER_LINK'); - Configuration::deleteByName('BLOCKBANNER_DESC'); - return parent::uninstall(); - } - - public function hookDisplayTop($params) - { - if (!$this->isCached('blockbanner.tpl', $this->getCacheId())) - { - $imgname = Configuration::get('BLOCKBANNER_IMG', $this->context->language->id); - $imgUrl = $this->context->link->getMediaLink($this->_path.'img/'.$imgname); // by webkul - - if ($imgname && (bool)Tools::file_get_contents($imgUrl)) // by webkul - $this->smarty->assign('banner_img', $imgUrl); - - $this->smarty->assign(array( - 'banner_link' => Configuration::get('BLOCKBANNER_LINK', $this->context->language->id), - 'banner_desc' => Configuration::get('BLOCKBANNER_DESC', $this->context->language->id) - )); - } - - return $this->display(__FILE__, 'blockbanner.tpl', $this->getCacheId()); - } - - public function hookDisplayBanner($params) - { - return $this->hookDisplayTop($params); - } - - public function hookDisplayFooter($params) - { - return $this->hookDisplayTop($params); - } - - public function hookDisplayHeader($params) - { - $this->context->controller->addCSS($this->_path.'blockbanner.css', 'all'); - } - - public function postProcess() - { - if (Tools::isSubmit('submitStoreConf')) - { - $languages = Language::getLanguages(false); - $values = array(); - $update_images_values = false; - - foreach ($languages as $lang) - { - if (isset($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]) - && isset($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]['tmp_name']) - && !empty($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]['tmp_name'])) - { - if ($error = ImageManager::validateUpload($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']], 4000000)) - return $error; - else - { - $ext = substr($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]['name'], strrpos($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]['name'], '.') + 1); - $file_name = md5($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]['name']).'.'.$ext; - - if (!ImageManager::resize($_FILES['BLOCKBANNER_IMG_'.$lang['id_lang']]['tmp_name'], dirname(__FILE__).DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.$file_name)) { // by webkul - return $this->displayError($this->l('An error occurred while attempting to upload the file.')); - } else { - if (Configuration::hasContext('BLOCKBANNER_IMG', $lang['id_lang'], Shop::getContext()) - && Configuration::get('BLOCKBANNER_IMG', $lang['id_lang']) != $file_name) - Tools::deleteFile(dirname(__FILE__).DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.Configuration::get('BLOCKBANNER_IMG', $lang['id_lang'])); - - $values['BLOCKBANNER_IMG'][$lang['id_lang']] = $file_name; - } - } - - $update_images_values = true; - } - - $values['BLOCKBANNER_LINK'][$lang['id_lang']] = Tools::getValue('BLOCKBANNER_LINK_'.$lang['id_lang']); - $values['BLOCKBANNER_DESC'][$lang['id_lang']] = Tools::getValue('BLOCKBANNER_DESC_'.$lang['id_lang']); - } - - if ($update_images_values) - Configuration::updateValue('BLOCKBANNER_IMG', $values['BLOCKBANNER_IMG']); - - Configuration::updateValue('BLOCKBANNER_LINK', $values['BLOCKBANNER_LINK']); - Configuration::updateValue('BLOCKBANNER_DESC', $values['BLOCKBANNER_DESC']); - - $this->_clearCache('blockbanner.tpl'); - return $this->displayConfirmation($this->l('The settings have been updated.')); - } - return ''; - } - - public function getContent() - { - return $this->postProcess().$this->renderForm(); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'file_lang', - 'label' => $this->l('Top banner image'), - 'name' => 'BLOCKBANNER_IMG', - 'desc' => $this->l('Upload an image for your top banner. The recommended dimensions are 1170 x 65px if you are using the default theme.'), - 'lang' => true, - ), - array( - 'type' => 'text', - 'lang' => true, - 'label' => $this->l('Banner Link'), - 'name' => 'BLOCKBANNER_LINK', - 'desc' => $this->l('Enter the link associated to your banner. When clicking on the banner, the link opens in the same window. If no link is entered, it redirects to the homepage.') - ), - array( - 'type' => 'text', - 'lang' => true, - 'label' => $this->l('Banner description'), - 'name' => 'BLOCKBANNER_DESC', - 'desc' => $this->l('Please enter a short but meaningful description for the banner.') - ) - ), - 'submit' => array( - 'title' => $this->l('Save') - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->module = $this; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitStoreConf'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'uri' => $this->context->link->getMediaLink($this->getPathUri()), // by webkul - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - $languages = Language::getLanguages(false); - $fields = array(); - - foreach ($languages as $lang) - { - $fields['BLOCKBANNER_IMG'][$lang['id_lang']] = Tools::getValue('BLOCKBANNER_IMG_'.$lang['id_lang'], Configuration::get('BLOCKBANNER_IMG', $lang['id_lang'])); - $fields['BLOCKBANNER_LINK'][$lang['id_lang']] = Tools::getValue('BLOCKBANNER_LINK_'.$lang['id_lang'], Configuration::get('BLOCKBANNER_LINK', $lang['id_lang'])); - $fields['BLOCKBANNER_DESC'][$lang['id_lang']] = Tools::getValue('BLOCKBANNER_DESC_'.$lang['id_lang'], Configuration::get('BLOCKBANNER_DESC', $lang['id_lang'])); - } - - return $fields; - } -} diff --git a/modules/blockbanner/blockbanner.tpl b/modules/blockbanner/blockbanner.tpl deleted file mode 100644 index 733a29a95..000000000 --- a/modules/blockbanner/blockbanner.tpl +++ /dev/null @@ -1,31 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{if isset($banner_img)} - {$banner_desc|escape:'htmlall':'UTF-8'} -{else} - {$banner_desc|escape:'htmlall':'UTF-8'} -{/if} - diff --git a/modules/blockbanner/img/sale70.png b/modules/blockbanner/img/sale70.png deleted file mode 100644 index e278d5f7a..000000000 Binary files a/modules/blockbanner/img/sale70.png and /dev/null differ diff --git a/modules/blockbanner/index.php b/modules/blockbanner/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockbanner/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockbanner/logo.gif b/modules/blockbanner/logo.gif deleted file mode 100644 index 659aace81..000000000 Binary files a/modules/blockbanner/logo.gif and /dev/null differ diff --git a/modules/blockbanner/logo.png b/modules/blockbanner/logo.png deleted file mode 100644 index e1256c349..000000000 Binary files a/modules/blockbanner/logo.png and /dev/null differ diff --git a/modules/blockbanner/translations/index.php b/modules/blockbanner/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockbanner/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockbanner/upgrade/install-1.1.php b/modules/blockbanner/upgrade/install-1.1.php deleted file mode 100644 index 556edf5c6..000000000 --- a/modules/blockbanner/upgrade/install-1.1.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('displayBanner') && $object->unregisterHook('displayTop')); -} diff --git a/modules/blockbanner/views/templates/admin/_configure/helpers/form/form.tpl b/modules/blockbanner/views/templates/admin/_configure/helpers/form/form.tpl deleted file mode 100644 index 8eb2489d5..000000000 --- a/modules/blockbanner/views/templates/admin/_configure/helpers/form/form.tpl +++ /dev/null @@ -1,93 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{extends file="helpers/form/form.tpl"} -{block name="field"} - {if $input.type == 'file_lang'} -
- {foreach from=$languages item=language} - {if $languages|count > 1} -
- {/if} -
-
- -
- - - - - -
-
- {if $languages|count > 1} -
- - -
- {/if} -
-
- {if isset($fields_value[$input.name][$language.id_lang]) && $fields_value[$input.name][$language.id_lang] != ''} -
- -
- {/if} -
- {if $languages|count > 1} -
- {/if} - - {/foreach} - {if isset($input.desc) && !empty($input.desc)} -

- {$input.desc} -

- {/if} -
- {else} - {$smarty.block.parent} - {/if} -{/block} diff --git a/modules/blockbestsellers/CHANGELOG.txt b/modules/blockbestsellers/CHANGELOG.txt deleted file mode 100644 index 5ddb96c32..000000000 --- a/modules/blockbestsellers/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:56:53 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockbestsellers : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 10:59:58 +0100 // MO blockbestsellers : ps_versions_compliancy added -2014-03-20 14:20:39 +0100 Initial commit diff --git a/modules/blockbestsellers/Readme.md b/modules/blockbestsellers/Readme.md deleted file mode 100644 index 54407fbd2..000000000 --- a/modules/blockbestsellers/Readme.md +++ /dev/null @@ -1,37 +0,0 @@ -# Top-sellers block - -## About - -Adds a block displaying your store\'s top-selling products. - -## Contributing - -PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements. - -### Requirements - -Contributors **must** follow the following rules: - -* **Make your Pull Request on the "dev" branch**, NOT the "master" branch. -* Do not update the module's version number. -* Follow [the coding standards][1]. - -### Process in details - -Contributors wishing to edit a module's files should follow the following process: - -1. Create your GitHub account, if you do not have one already. -2. Fork the blockbestsellers project to your GitHub account. -3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation. -4. Create a branch in your local clone of the module for your changes. -5. Change the files in your branch. Be sure to follow [the coding standards][1]! -6. Push your changed branch to your fork in your GitHub account. -7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3]. -8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code. - -That's it: you have contributed to this open-source project! Congratulations! - -[1]: http://doc.prestashop.com/display/PS16/Coding+Standards -[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message -[3]: https://help.github.com/articles/using-pull-requests - diff --git a/modules/blockbestsellers/blockbestsellers.php b/modules/blockbestsellers/blockbestsellers.php deleted file mode 100644 index fb5b87db2..000000000 --- a/modules/blockbestsellers/blockbestsellers.php +++ /dev/null @@ -1,273 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockBestSellers extends Module -{ - protected static $cache_best_sellers; - - public function __construct() - { - $this->name = 'blockbestsellers'; - $this->tab = 'front_office_features'; - $this->version = '1.7.0'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - $this->bootstrap = true; - - parent::__construct(); - - $this->displayName = $this->l('Top-sellers block'); - $this->description = $this->l('Adds a block displaying your store\'s top-selling products.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_); - } - - public function install() - { - $this->_clearCache('*'); - - if (!parent::install() - || !$this->registerHook('header') - || !$this->registerHook('leftColumn') - || !$this->registerHook('actionOrderStatusPostUpdate') - || !$this->registerHook('addproduct') - || !$this->registerHook('updateproduct') - || !$this->registerHook('deleteproduct') - || !$this->registerHook('displayHomeTab') - || !$this->registerHook('displayHomeTabContent') - || !ProductSale::fillProductSales() - ) - return false; - - Configuration::updateValue('PS_BLOCK_BESTSELLERS_TO_DISPLAY', 10); - - return true; - } - - public function uninstall() - { - $this->_clearCache('*'); - - return parent::uninstall(); - } - - public function hookAddProduct($params) - { - $this->_clearCache('*'); - } - - public function hookUpdateProduct($params) - { - $this->_clearCache('*'); - } - - public function hookDeleteProduct($params) - { - $this->_clearCache('*'); - } - - public function hookActionOrderStatusPostUpdate($params) - { - $this->_clearCache('*'); - } - - public function _clearCache($template, $cache_id = null, $compile_id = null) - { - parent::_clearCache('blockbestsellers.tpl', 'blockbestsellers-col'); - parent::_clearCache('blockbestsellers-home.tpl', 'blockbestsellers-home'); - parent::_clearCache('tab.tpl', 'blockbestsellers-tab'); - } - - /** - * Called in administration -> module -> configure - */ - public function getContent() - { - $output = ''; - if (Tools::isSubmit('submitBestSellers')) - { - Configuration::updateValue('PS_BLOCK_BESTSELLERS_DISPLAY', (int)Tools::getValue('PS_BLOCK_BESTSELLERS_DISPLAY')); - Configuration::updateValue('PS_BLOCK_BESTSELLERS_TO_DISPLAY', (int)Tools::getValue('PS_BLOCK_BESTSELLERS_TO_DISPLAY')); - $this->_clearCache('*'); - $output .= $this->displayConfirmation($this->l('Settings updated')); - } - - return $output.$this->renderForm(); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Products to display'), - 'name' => 'PS_BLOCK_BESTSELLERS_TO_DISPLAY', - 'desc' => $this->l('Determine the number of product to display in this block'), - 'class' => 'fixed-width-xs', - ), - array( - 'type' => 'switch', - 'label' => $this->l('Always display this block'), - 'name' => 'PS_BLOCK_BESTSELLERS_DISPLAY', - 'desc' => $this->l('Show the block even if no best sellers are available.'), - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ) - ), - 'submit' => array( - 'title' => $this->l('Save') - ) - ) - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitBestSellers'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'PS_BLOCK_BESTSELLERS_TO_DISPLAY' => (int)Tools::getValue('PS_BLOCK_BESTSELLERS_TO_DISPLAY', Configuration::get('PS_BLOCK_BESTSELLERS_TO_DISPLAY')), - 'PS_BLOCK_BESTSELLERS_DISPLAY' => (int)Tools::getValue('PS_BLOCK_BESTSELLERS_DISPLAY', Configuration::get('PS_BLOCK_BESTSELLERS_DISPLAY')), - ); - } - - public function hookHeader($params) - { - if (Configuration::get('PS_CATALOG_MODE')) - return; - if (isset($this->context->controller->php_self) && $this->context->controller->php_self == 'index') - $this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css'); - $this->context->controller->addCSS($this->_path.'blockbestsellers.css', 'all'); - } - - public function hookDisplayHomeTab($params) - { - if (!$this->isCached('tab.tpl', $this->getCacheId('blockbestsellers-tab'))) - { - BlockBestSellers::$cache_best_sellers = $this->getBestSellers($params); - $this->smarty->assign('best_sellers', BlockBestSellers::$cache_best_sellers); - } - - if (BlockBestSellers::$cache_best_sellers === false) - return false; - - return $this->display(__FILE__, 'tab.tpl', $this->getCacheId('blockbestsellers-tab')); - } - - public function hookDisplayHomeTabContent($params) - { - if (!$this->isCached('blockbestsellers-home.tpl', $this->getCacheId('blockbestsellers-home'))) - { - $this->smarty->assign(array( - 'best_sellers' => BlockBestSellers::$cache_best_sellers, - 'homeSize' => Image::getSize(ImageType::getFormatedName('home')) - )); - } - - if (BlockBestSellers::$cache_best_sellers === false) - return false; - - return $this->display(__FILE__, 'blockbestsellers-home.tpl', $this->getCacheId('blockbestsellers-home')); - } - - public function hookRightColumn($params) - { - if (!$this->isCached('blockbestsellers.tpl', $this->getCacheId('blockbestsellers-col'))) - { - if (!isset(BlockBestSellers::$cache_best_sellers)) - BlockBestSellers::$cache_best_sellers = $this->getBestSellers($params); - $this->smarty->assign(array( - 'best_sellers' => BlockBestSellers::$cache_best_sellers, - 'display_link_bestsellers' => Configuration::get('PS_DISPLAY_BEST_SELLERS'), - 'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')), - 'smallSize' => Image::getSize(ImageType::getFormatedName('small')) - )); - } - - if (BlockBestSellers::$cache_best_sellers === false) - return false; - - return $this->display(__FILE__, 'blockbestsellers.tpl', $this->getCacheId('blockbestsellers-col')); - } - - public function hookLeftColumn($params) - { - return $this->hookRightColumn($params); - } - - protected function getBestSellers($params) - { - if (Configuration::get('PS_CATALOG_MODE')) - return false; - - if (!($result = ProductSale::getBestSalesLight((int)$params['cookie']->id_lang, 0, (int)Configuration::get('PS_BLOCK_BESTSELLERS_TO_DISPLAY')))) - return (Configuration::get('PS_BLOCK_BESTSELLERS_DISPLAY') ? array() : false); - - $currency = new Currency($params['cookie']->id_currency); - $usetax = (Product::getTaxCalculationMethod((int)$this->context->customer->id) != PS_TAX_EXC); - foreach ($result as &$row) - $row['price'] = Tools::displayPrice(Product::getPriceStatic((int)$row['id_product'], $usetax), $currency); - - return $result; - } -} diff --git a/modules/blockbestsellers/composer.json b/modules/blockbestsellers/composer.json deleted file mode 100644 index 91882ad0c..000000000 --- a/modules/blockbestsellers/composer.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "PrestaShop/blockbestsellers", - "description": "PrestaShop module blockbestsellers", - "homepage": "https://github.com/PrestaShop/blockbestsellers", - "license": "AFL - Academic Free License (AFL 3.0)", - "authors": [ - { - "name": "PrestaShop SA", - "email": "contact@prestashop.com" - } - ], - "require": { - "php": ">=5.3.2" - }, - "config": { - "preferred-install": "dist" - }, - "type": "prestashop-module" -} diff --git a/modules/blockbestsellers/css/blockbestsellers.css b/modules/blockbestsellers/css/blockbestsellers.css deleted file mode 100644 index db88db52c..000000000 --- a/modules/blockbestsellers/css/blockbestsellers.css +++ /dev/null @@ -1,55 +0,0 @@ -/* Block best sellers */ -#best-sellers_block_right ul {margin-bottom:5px} -#best-sellers_block_right li { - float:none; - padding:10px 0; - border-bottom:1px dotted #ccc -} -#best-sellers_block_right li.last_item {border:none} -#best-sellers_block_right li a.content_img { - display:block; - float:left; - padding:1px; - height:47px; - width:67px; - text-decoration:none; - background:#333 -} -#best-sellers_block_right li span.number { - display:block; - float:left; - margin-top:6px; - width:20px; - font-weight:bold; - font-size:18px; - color:#fff; - text-align:center -} -#best-sellers_block_right li img { - border:1px solid #ededed; -} -#best-sellers_block_right li p { - float:left; - margin-left:7px; - padding:0; - width:125px; - font-weight:bold; - font-size:12px -} -#best-sellers_block_right li .price { - font-weight:bold; - font-size:14px; - color:#990000; - -} - -#best-sellers_block_right p.lnk { - padding:0; - text-align:right -} -#best-sellers_block_right .lnk .button_large { - padding:0; - border:none; - background:none -} -#best-sellers_block_right .lnk .button_large:hover {text-decoration:underline} \ No newline at end of file diff --git a/modules/blockbestsellers/img/index.php b/modules/blockbestsellers/img/index.php deleted file mode 100644 index 044cb85ee..000000000 --- a/modules/blockbestsellers/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blockbestsellers/img/logo.gif b/modules/blockbestsellers/img/logo.gif deleted file mode 100644 index 86b4e900d..000000000 Binary files a/modules/blockbestsellers/img/logo.gif and /dev/null differ diff --git a/modules/blockbestsellers/index.php b/modules/blockbestsellers/index.php deleted file mode 100644 index 3b0dc0312..000000000 --- a/modules/blockbestsellers/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blockbestsellers/logo.gif b/modules/blockbestsellers/logo.gif deleted file mode 100644 index 86b4e900d..000000000 Binary files a/modules/blockbestsellers/logo.gif and /dev/null differ diff --git a/modules/blockbestsellers/logo.png b/modules/blockbestsellers/logo.png deleted file mode 100644 index a7a74dbae..000000000 Binary files a/modules/blockbestsellers/logo.png and /dev/null differ diff --git a/modules/blockbestsellers/translations/index.php b/modules/blockbestsellers/translations/index.php deleted file mode 100644 index 044cb85ee..000000000 --- a/modules/blockbestsellers/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blockbestsellers/upgrade/install-1.2.php b/modules/blockbestsellers/upgrade/install-1.2.php deleted file mode 100644 index 1c636719c..000000000 --- a/modules/blockbestsellers/upgrade/install-1.2.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('addproduct') && $object->registerHook('updateproduct') && $object->registerHook('deleteproduct') && $object->registerHook('actionOrderStatusPostUpdate')); -} diff --git a/modules/blockbestsellers/upgrade/install-1.3.php b/modules/blockbestsellers/upgrade/install-1.3.php deleted file mode 100644 index a9735d575..000000000 --- a/modules/blockbestsellers/upgrade/install-1.3.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('displayHomeTab') && $object->registerHook('displayHomeTabContent')); -} diff --git a/modules/blockbestsellers/upgrade/install-1.5.5.php b/modules/blockbestsellers/upgrade/install-1.5.5.php deleted file mode 100644 index 48e645b6e..000000000 --- a/modules/blockbestsellers/upgrade/install-1.5.5.php +++ /dev/null @@ -1,33 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -function upgrade_module_1_5_5($object) -{ - return Configuration::updateValue('PS_BLOCK_BESTSELLERS_TO_DISPLAY', 10); -} diff --git a/modules/blockbestsellers/views/index.php b/modules/blockbestsellers/views/index.php deleted file mode 100644 index 3b0dc0312..000000000 --- a/modules/blockbestsellers/views/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blockbestsellers/views/templates/hook/blockbestsellers-home.tpl b/modules/blockbestsellers/views/templates/hook/blockbestsellers-home.tpl deleted file mode 100644 index f8d65f83a..000000000 --- a/modules/blockbestsellers/views/templates/hook/blockbestsellers-home.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -{if isset($best_sellers) && $best_sellers} - {include file="$tpl_dir./product-list.tpl" products=$best_sellers class='blockbestsellers tab-pane' id='blockbestsellers'} -{else} -
    -
  • {l s='No best sellers at this time.' mod='blockbestsellers'}
  • -
-{/if} diff --git a/modules/blockbestsellers/views/templates/hook/blockbestsellers.tpl b/modules/blockbestsellers/views/templates/hook/blockbestsellers.tpl deleted file mode 100644 index bb5d3e8a9..000000000 --- a/modules/blockbestsellers/views/templates/hook/blockbestsellers.tpl +++ /dev/null @@ -1,69 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
-

- - {l s='Top sellers' mod='blockbestsellers'} - -

- -
- {if $best_sellers && $best_sellers|@count > 0} - -

» {l s='All best sellers' mod='blockbestsellers'}

- {else} -

{l s='No best sellers at this time' mod='blockbestsellers'}

- {/if} -
-
- diff --git a/modules/blockbestsellers/views/templates/hook/index.php b/modules/blockbestsellers/views/templates/hook/index.php deleted file mode 100644 index 3b0dc0312..000000000 --- a/modules/blockbestsellers/views/templates/hook/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blockbestsellers/views/templates/hook/tab.tpl b/modules/blockbestsellers/views/templates/hook/tab.tpl deleted file mode 100644 index c6b795f42..000000000 --- a/modules/blockbestsellers/views/templates/hook/tab.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -
  • {l s='Best Sellers' mod='blockbestsellers'}
  • \ No newline at end of file diff --git a/modules/blockbestsellers/views/templates/index.php b/modules/blockbestsellers/views/templates/index.php deleted file mode 100644 index 3b0dc0312..000000000 --- a/modules/blockbestsellers/views/templates/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blockcategories/CHANGELOG.txt b/modules/blockcategories/CHANGELOG.txt deleted file mode 100644 index 1182ca7b2..000000000 --- a/modules/blockcategories/CHANGELOG.txt +++ /dev/null @@ -1,17 +0,0 @@ ------------------------------ -# V2.9.4 to V2.9.5 ------------------------------ - -## Improved/Changed Features: - -* [CO] : [#244] Changed Tools::jsonEncode to json_encode - - -2014-04-22 18:56:57 +0200 // Changelog updated -2014-04-01 14:17:21 +0200 // blockcategories new module version -2014-03-27 11:46:01 +0100 // follow up #PSCSX-1405 again -2014-03-27 11:18:52 +0100 // follow up #PSCSX-1405 -2014-03-26 17:37:53 +0100 [-] MO : Blockcategories, Fix bug #PSCSX-1405, could not assign current category -2014-03-24 11:43:28 +0100 / MO blockcategories : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:01:30 +0100 / MO blockcategories : ps_versions_compliancy added -2014-03-20 14:20:45 +0100 Initial commit diff --git a/modules/blockcategories/blockcategories.php b/modules/blockcategories/blockcategories.php deleted file mode 100644 index 9b0a0b51b..000000000 --- a/modules/blockcategories/blockcategories.php +++ /dev/null @@ -1,518 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockCategories extends Module -{ - public function __construct() - { - $this->name = 'blockcategories'; - $this->tab = 'front_office_features'; - $this->version = '2.9.5'; - $this->author = 'PrestaShop'; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Categories block'); - $this->description = $this->l('Adds a block featuring product categories.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - // Prepare tab - $tab = new Tab(); - $tab->active = 1; - $tab->class_name = 'AdminBlockCategories'; - $tab->name = array(); - foreach (Language::getLanguages(true) as $lang) - $tab->name[$lang['id_lang']] = 'BlockCategories'; - $tab->id_parent = -1; - $tab->module = $this->name; - - if (!$tab->add() || - !parent::install() || - !$this->registerHook('footer') || - !$this->registerHook('header') || - !$this->registerHook('leftColumn') || - // Temporary hooks. Do NOT hook any module on it. Some CRUD hook will replace them as soon as possible. - !$this->registerHook('categoryAddition') || - !$this->registerHook('categoryUpdate') || - !$this->registerHook('categoryDeletion') || - !$this->registerHook('actionAdminMetaControllerUpdate_optionsBefore') || - !$this->registerHook('actionAdminLanguagesControllerStatusBefore') || - !$this->registerHook('displayBackOfficeCategory') || - !Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', 4) || - !Configuration::updateValue('BLOCK_CATEG_DHTML', 1) || - !Configuration::updateValue('BLOCK_CATEG_ROOT_CATEGORY', 1)) - return false; - - return true; - } - - public function uninstall() - { - $id_tab = (int)Tab::getIdFromClassName('AdminBlockCategories'); - - if ($id_tab) - { - $tab = new Tab($id_tab); - $tab->delete(); - } - - if (!parent::uninstall() || - !Configuration::deleteByName('BLOCK_CATEG_MAX_DEPTH') || - !Configuration::deleteByName('BLOCK_CATEG_DHTML') || - !Configuration::deleteByName('BLOCK_CATEG_ROOT_CATEGORY')) - return false; - return true; - } - - public function getContent() - { - $output = ''; - if (Tools::isSubmit('submitBlockCategories')) - { - $maxDepth = (int)(Tools::getValue('BLOCK_CATEG_MAX_DEPTH')); - $dhtml = Tools::getValue('BLOCK_CATEG_DHTML'); - $nbrColumns = Tools::getValue('BLOCK_CATEG_NBR_COLUMN_FOOTER', 4); - if ($maxDepth < 0) - $output .= $this->displayError($this->l('Maximum depth: Invalid number.')); - elseif ($dhtml != 0 && $dhtml != 1) - $output .= $this->displayError($this->l('Dynamic HTML: Invalid choice.')); - else - { - Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', (int)$maxDepth); - Configuration::updateValue('BLOCK_CATEG_DHTML', (int)$dhtml); - Configuration::updateValue('BLOCK_CATEG_NBR_COLUMN_FOOTER', (int)$nbrColumns); - Configuration::updateValue('BLOCK_CATEG_SORT_WAY', Tools::getValue('BLOCK_CATEG_SORT_WAY')); - Configuration::updateValue('BLOCK_CATEG_SORT', Tools::getValue('BLOCK_CATEG_SORT')); - Configuration::updateValue('BLOCK_CATEG_ROOT_CATEGORY', Tools::getValue('BLOCK_CATEG_ROOT_CATEGORY')); - - $this->_clearBlockcategoriesCache(); - - Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules').'&conf=6'); - } - } - return $output.$this->renderForm(); - } - - public function getTree($resultParents, $resultIds, $maxDepth, $id_category = null, $currentDepth = 0) - { - if (is_null($id_category)) - $id_category = $this->context->shop->getCategory(); - $children = array(); - if (isset($resultParents[$id_category]) && count($resultParents[$id_category]) && ($maxDepth == 0 || $currentDepth < $maxDepth)) - foreach ($resultParents[$id_category] as $subcat) - $children[] = $this->getTree($resultParents, $resultIds, $maxDepth, $subcat['id_category'], $currentDepth + 1); - if (isset($resultIds[$id_category])) - { - $link = $this->context->link->getCategoryLink($id_category, $resultIds[$id_category]['link_rewrite']); - $name = $resultIds[$id_category]['name']; - $desc = $resultIds[$id_category]['description']; - } - else - $link = $name = $desc = ''; - - $return = array( - 'id' => $id_category, - 'link' => $link, - 'name' => $name, - 'desc'=> $desc, - 'children' => $children - ); - return $return; - } - - public function hookDisplayBackOfficeCategory($params) - { - $category = new Category((int)Tools::getValue('id_category')); - $files = array(); - - if ($category->level_depth < 1) - return; - - for ($i = 0; $i < 3; $i++) - { - if (file_exists(_PS_CAT_IMG_DIR_.(int)$category->id.'-'.$i.'_thumb.jpg')) - { - $files[$i]['type'] = HelperImageUploader::TYPE_IMAGE; - $files[$i]['image'] = ImageManager::thumbnail(_PS_CAT_IMG_DIR_.(int)$category->id.'-'.$i.'_thumb.jpg', $this->context->controller->table.'_'.(int)$category->id.'-'.$i.'_thumb.jpg', 100, 'jpg', true, true); - $files[$i]['delete_url'] = Context::getContext()->link->getAdminLink('AdminBlockCategories').'&deleteThumb='.$i.'&id_category='.(int)$category->id; - } - } - - $images_types = ImageType::getImagesTypes('categories'); - $formated_medium = ImageType::getFormatedName('medium'); - foreach ($images_types as $k => $image_type) - if ($formated_medium == $image_type['name']) - $this->smarty->assign('format', $image_type); - - $helper = new HelperImageUploader(); - $helper->setMultiple(true)->setUseAjax(true)->setName('thumbnail')->setFiles($files)->setMaxFiles(3)->setUrl( - Context::getContext()->link->getAdminLink('AdminBlockCategories').'&ajax=1&id_category='.$category->id - .'&action=uploadThumbnailImages'); - $this->smarty->assign('helper', $helper->render()); - return $this->display(__FILE__, 'views/blockcategories_admin.tpl'); - } - - public function hookLeftColumn($params) - { - $this->setLastVisitedCategory(); - $phpself = $this->context->controller->php_self; - $current_allowed_controllers = array('category'); - - if ($phpself != null && in_array($phpself, $current_allowed_controllers) && Configuration::get('BLOCK_CATEG_ROOT_CATEGORY') && isset($this->context->cookie->last_visited_category) && $this->context->cookie->last_visited_category) - { - $category = new Category($this->context->cookie->last_visited_category, $this->context->language->id); - if (Configuration::get('BLOCK_CATEG_ROOT_CATEGORY') == 2 && !$category->is_root_category && $category->id_parent) - $category = new Category($category->id_parent, $this->context->language->id); - elseif (Configuration::get('BLOCK_CATEG_ROOT_CATEGORY') == 3 && !$category->is_root_category && !$category->getSubCategories($category->id, true)) - $category = new Category($category->id_parent, $this->context->language->id); - } - else - $category = new Category((int)Configuration::get('PS_HOME_CATEGORY'), $this->context->language->id); - - $cacheId = $this->getCacheId($category ? $category->id : null); - - if (!$this->isCached('blockcategories.tpl', $cacheId)) - { - $range = ''; - $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); - if (Validate::isLoadedObject($category)) - { - if ($maxdepth > 0) - $maxdepth += $category->level_depth; - $range = 'AND nleft >= '.(int)$category->nleft.' AND nright <= '.(int)$category->nright; - } - - $resultIds = array(); - $resultParents = array(); - $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite - FROM `'._DB_PREFIX_.'category` c - INNER JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = '.(int)$this->context->language->id.Shop::addSqlRestrictionOnLang('cl').') - INNER JOIN `'._DB_PREFIX_.'category_shop` cs ON (cs.`id_category` = c.`id_category` AND cs.`id_shop` = '.(int)$this->context->shop->id.') - WHERE (c.`active` = 1 OR c.`id_category` = '.(int)Configuration::get('PS_HOME_CATEGORY').') - AND c.`id_category` != '.(int)Configuration::get('PS_ROOT_CATEGORY').' - '.((int)$maxdepth != 0 ? ' AND `level_depth` <= '.(int)$maxdepth : '').' - '.$range.' - AND c.id_category IN ( - SELECT id_category - FROM `'._DB_PREFIX_.'category_group` - WHERE `id_group` IN ('.pSQL(implode(', ', Customer::getGroupsStatic((int)$this->context->customer->id))).') - ) - ORDER BY `level_depth` ASC, '.(Configuration::get('BLOCK_CATEG_SORT') ? 'cl.`name`' : 'cs.`position`').' '.(Configuration::get('BLOCK_CATEG_SORT_WAY') ? 'DESC' : 'ASC')); - foreach ($result as &$row) - { - $resultParents[$row['id_parent']][] = &$row; - $resultIds[$row['id_category']] = &$row; - } - - $blockCategTree = $this->getTree($resultParents, $resultIds, $maxdepth, ($category ? $category->id : null)); - $this->smarty->assign('blockCategTree', $blockCategTree); - - if ((Tools::getValue('id_product') || Tools::getValue('id_category')) && isset($this->context->cookie->last_visited_category) && $this->context->cookie->last_visited_category) - { - $category = new Category($this->context->cookie->last_visited_category, $this->context->language->id); - if (Validate::isLoadedObject($category)) - $this->smarty->assign(array('currentCategory' => $category, 'currentCategoryId' => $category->id)); - } - - $this->smarty->assign('isDhtml', Configuration::get('BLOCK_CATEG_DHTML')); - if (file_exists(_PS_THEME_DIR_.'modules/blockcategories/blockcategories.tpl')) - $this->smarty->assign('branche_tpl_path', _PS_THEME_DIR_.'modules/blockcategories/category-tree-branch.tpl'); - else - $this->smarty->assign('branche_tpl_path', _PS_MODULE_DIR_.'blockcategories/category-tree-branch.tpl'); - } - return $this->display(__FILE__, 'blockcategories.tpl', $cacheId); - } - - protected function getCacheId($name = null) - { - $cache_id = parent::getCacheId(); - - if ($name !== null) - $cache_id .= '|'.$name; - - if ((Tools::getValue('id_product') || Tools::getValue('id_category')) && isset($this->context->cookie->last_visited_category) && $this->context->cookie->last_visited_category) - $cache_id .= '|'.(int)$this->context->cookie->last_visited_category; - - return $cache_id.'|'.implode('-', Customer::getGroupsStatic($this->context->customer->id)); - } - - public function setLastVisitedCategory() - { - $cache_id = 'blockcategories::setLastVisitedCategory'; - if (!Cache::isStored($cache_id)) - { - if (method_exists($this->context->controller, 'getCategory') && ($category = $this->context->controller->getCategory())) - $this->context->cookie->last_visited_category = $category->id; - elseif (method_exists($this->context->controller, 'getProduct') && ($product = $this->context->controller->getProduct())) - if (!isset($this->context->cookie->last_visited_category) - || !Product::idIsOnCategoryId($product->id, array(array('id_category' => $this->context->cookie->last_visited_category))) - || !Category::inShopStatic($this->context->cookie->last_visited_category, $this->context->shop)) - $this->context->cookie->last_visited_category = (int)$product->id_category_default; - Cache::store($cache_id, $this->context->cookie->last_visited_category); - } - return Cache::retrieve($cache_id); - } - - public function hookFooter($params) - { - $this->setLastVisitedCategory(); - if (!$this->isCached('blockcategories_footer.tpl', $this->getCacheId())) - { - $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); - // Get all groups for this customer and concatenate them as a string: "1,2,3..." - $groups = implode(', ', Customer::getGroupsStatic((int)$this->context->customer->id)); - if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT DISTINCT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite - FROM `'._DB_PREFIX_.'category` c - '.Shop::addSqlAssociation('category', 'c').' - LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = '.(int)$this->context->language->id.Shop::addSqlRestrictionOnLang('cl').') - LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) - WHERE (c.`active` = 1 OR c.`id_category` = '.(int)Configuration::get('PS_ROOT_CATEGORY').') - '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' - AND cg.`id_group` IN ('.pSQL($groups).') - ORDER BY `level_depth` ASC, '.(Configuration::get('BLOCK_CATEG_SORT') ? 'cl.`name`' : 'category_shop.`position`').' '.(Configuration::get('BLOCK_CATEG_SORT_WAY') ? 'DESC' : 'ASC'))) - return; - $resultParents = array(); - $resultIds = array(); - - foreach ($result as &$row) - { - $resultParents[$row['id_parent']][] = &$row; - $resultIds[$row['id_category']] = &$row; - } - //$nbrColumns = Configuration::get('BLOCK_CATEG_NBR_COLUMNS_FOOTER'); - $nbrColumns = (int)Configuration::get('BLOCK_CATEG_NBR_COLUMN_FOOTER'); - if (!$nbrColumns or empty($nbrColumns)) - $nbrColumns = 3; - $numberColumn = abs(count($result) / $nbrColumns); - $widthColumn = floor(100 / $nbrColumns); - $this->smarty->assign('numberColumn', $numberColumn); - $this->smarty->assign('widthColumn', $widthColumn); - - $blockCategTree = $this->getTree($resultParents, $resultIds, Configuration::get('BLOCK_CATEG_MAX_DEPTH')); - unset($resultParents, $resultIds); - - $isDhtml = (Configuration::get('BLOCK_CATEG_DHTML') == 1 ? true : false); - - $id_category = (int)Tools::getValue('id_category'); - $id_product = (int)Tools::getValue('id_product'); - - $this->smarty->assign('blockCategTree', $blockCategTree); - - if (file_exists(_PS_THEME_DIR_.'modules/blockcategories/blockcategories_footer.tpl')) - $this->smarty->assign('branche_tpl_path', _PS_THEME_DIR_.'modules/blockcategories/category-tree-branch.tpl'); - else - $this->smarty->assign('branche_tpl_path', _PS_MODULE_DIR_.'blockcategories/category-tree-branch.tpl'); - $this->smarty->assign('isDhtml', $isDhtml); - } - $display = $this->display(__FILE__, 'blockcategories_footer.tpl', $this->getCacheId()); - - return $display; - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookHeader() - { - $this->context->controller->addJS(_THEME_JS_DIR_.'tools/treeManagement.js'); - $this->context->controller->addCSS(($this->_path).'blockcategories.css', 'all'); - } - - private function _clearBlockcategoriesCache() - { - $this->_clearCache('blockcategories.tpl'); - $this->_clearCache('blockcategories_footer.tpl'); - } - - public function hookCategoryAddition($params) - { - $this->_clearBlockcategoriesCache(); - } - - public function hookCategoryUpdate($params) - { - $this->_clearBlockcategoriesCache(); - } - - public function hookCategoryDeletion($params) - { - $this->_clearBlockcategoriesCache(); - } - - public function hookActionAdminMetaControllerUpdate_optionsBefore($params) - { - $this->_clearBlockcategoriesCache(); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'radio', - 'label' => $this->l('Category root'), - 'name' => 'BLOCK_CATEG_ROOT_CATEGORY', - 'hint' => $this->l('Select which category is displayed in the block. The current category is the one the visitor is currently browsing.'), - 'values' => array( - array( - 'id' => 'home', - 'value' => 0, - 'label' => $this->l('Home category') - ), - array( - 'id' => 'current', - 'value' => 1, - 'label' => $this->l('Current category') - ), - array( - 'id' => 'parent', - 'value' => 2, - 'label' => $this->l('Parent category') - ), - array( - 'id' => 'current_parent', - 'value' => 3, - 'label' => $this->l('Current category, unless it has no subcategories, in which case the parent category of the current category is used') - ), - ) - ), - array( - 'type' => 'text', - 'label' => $this->l('Maximum depth'), - 'name' => 'BLOCK_CATEG_MAX_DEPTH', - 'desc' => $this->l('Set the maximum depth of category sublevels displayed in this block (0 = infinite).'), - ), - array( - 'type' => 'switch', - 'label' => $this->l('Dynamic'), - 'name' => 'BLOCK_CATEG_DHTML', - 'desc' => $this->l('Activate dynamic (animated) mode for category sublevels.'), - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ), - array( - 'type' => 'radio', - 'label' => $this->l('Sort'), - 'name' => 'BLOCK_CATEG_SORT', - 'values' => array( - array( - 'id' => 'name', - 'value' => 1, - 'label' => $this->l('By name') - ), - array( - 'id' => 'position', - 'value' => 0, - 'label' => $this->l('By position') - ), - ) - ), - array( - 'type' => 'radio', - 'label' => $this->l('Sort order'), - 'name' => 'BLOCK_CATEG_SORT_WAY', - 'values' => array( - array( - 'id' => 'name', - 'value' => 1, - 'label' => $this->l('Descending') - ), - array( - 'id' => 'position', - 'value' => 0, - 'label' => $this->l('Ascending') - ), - ) - ), - array( - 'type' => 'text', - 'label' => $this->l('How many footer columns would you like?'), - 'name' => 'BLOCK_CATEG_NBR_COLUMN_FOOTER', - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitBlockCategories'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'BLOCK_CATEG_MAX_DEPTH' => Tools::getValue('BLOCK_CATEG_MAX_DEPTH', Configuration::get('BLOCK_CATEG_MAX_DEPTH')), - 'BLOCK_CATEG_DHTML' => Tools::getValue('BLOCK_CATEG_DHTML', Configuration::get('BLOCK_CATEG_DHTML')), - 'BLOCK_CATEG_NBR_COLUMN_FOOTER' => Tools::getValue('BLOCK_CATEG_NBR_COLUMN_FOOTER', Configuration::get('BLOCK_CATEG_NBR_COLUMN_FOOTER')), - 'BLOCK_CATEG_SORT_WAY' => Tools::getValue('BLOCK_CATEG_SORT_WAY', Configuration::get('BLOCK_CATEG_SORT_WAY')), - 'BLOCK_CATEG_SORT' => Tools::getValue('BLOCK_CATEG_SORT', Configuration::get('BLOCK_CATEG_SORT')), - 'BLOCK_CATEG_ROOT_CATEGORY' => Tools::getValue('BLOCK_CATEG_ROOT_CATEGORY', Configuration::get('BLOCK_CATEG_ROOT_CATEGORY')) - ); - } -} diff --git a/modules/blockcategories/blockcategories.tpl b/modules/blockcategories/blockcategories.tpl deleted file mode 100644 index bf2dd27b7..000000000 --- a/modules/blockcategories/blockcategories.tpl +++ /dev/null @@ -1,49 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -{if $blockCategTree && $blockCategTree.children|@count} - -
    -

    {if isset($currentCategory)}{$currentCategory->name|escape}{else}{l s='Categories' mod='blockcategories'}{/if}

    -
    -
      - {foreach from=$blockCategTree.children item=child name=blockCategTree} - {if $smarty.foreach.blockCategTree.last} - {include file="$branche_tpl_path" node=$child last='true'} - {else} - {include file="$branche_tpl_path" node=$child} - {/if} - {/foreach} -
    - {* Javascript moved here to fix bug #PSCFI-151 *} - -
    -
    - -{/if} diff --git a/modules/blockcategories/blockcategories_footer.tpl b/modules/blockcategories/blockcategories_footer.tpl deleted file mode 100644 index 862b18d0a..000000000 --- a/modules/blockcategories/blockcategories_footer.tpl +++ /dev/null @@ -1,55 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @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/modules/blockcategories/category-tree-branch.tpl b/modules/blockcategories/category-tree-branch.tpl deleted file mode 100644 index 5e92b6576..000000000 --- a/modules/blockcategories/category-tree-branch.tpl +++ /dev/null @@ -1,40 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @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:'html':'UTF-8'} - {if $node.children|@count > 0} -
      - {foreach from=$node.children item=child name=categoryTreeBranch} - {if $smarty.foreach.categoryTreeBranch.last} - {include file="$branche_tpl_path" node=$child last='true'} - {else} - {include file="$branche_tpl_path" node=$child last='false'} - {/if} - {/foreach} -
    - {/if} -
  • diff --git a/modules/blockcategories/controllers/admin/AdminBlockCategoriesController.php b/modules/blockcategories/controllers/admin/AdminBlockCategoriesController.php deleted file mode 100644 index 4a95beb6a..000000000 --- a/modules/blockcategories/controllers/admin/AdminBlockCategoriesController.php +++ /dev/null @@ -1,119 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -/** - * @since 1.6.0 - */ -class AdminBlockCategoriesController extends ModuleAdminController -{ - public function postProcess() - { - if (($id_thumb = Tools::getValue('deleteThumb', false)) !== false) - { - if (file_exists(_PS_CAT_IMG_DIR_.(int)Tools::getValue('id_category').'-'.(int)$id_thumb.'_thumb.jpg') - && !unlink(_PS_CAT_IMG_DIR_.(int)Tools::getValue('id_category').'-'.(int)$id_thumb.'_thumb.jpg')) - $this->context->controller->errors[] = Tools::displayError('Error while delete'); - - if (empty($this->context->controller->errors)) - Tools::clearSmartyCache(); - - Tools::redirectAdmin(Context::getContext()->link->getAdminLink('AdminCategories').'&id_category=' - .(int)Tools::getValue('id_category').'&updatecategory'); - } - - parent::postProcess(); - } - - public function ajaxProcessuploadThumbnailImages() - { - $category = new Category((int)Tools::getValue('id_category')); - - if (isset($_FILES['thumbnail'])) - { - //Get total of image already present in directory - $files = scandir(_PS_CAT_IMG_DIR_); - $assigned_keys = array(); - $allowed_keys = array(0, 1, 2); - - foreach ($files as $file) { - $matches = array(); - - if (preg_match('/^'.$category->id.'-([0-9])?_thumb.jpg/i', $file, $matches) === 1) - $assigned_keys[] = (int)$matches[1]; - } - - $available_keys = array_diff($allowed_keys, $assigned_keys); - $helper = new HelperImageUploader('thumbnail'); - $files = $helper->process(); - $total_errors = array(); - - if (count($available_keys) < count($files)) - { - $total_errors['name'] = sprintf(Tools::displayError('An error occurred while uploading the image :')); - $total_errors['error'] = sprintf(Tools::displayError('You cannot upload more files')); - die(json_encode(array('thumbnail' => array($total_errors)))); - } - - foreach ($files as $key => &$file) - { - $id = array_shift($available_keys); - $errors = array(); - // Evaluate the memory required to resize the image: if it's too much, you can't resize it. - if (isset($file['save_path']) && !ImageManager::checkImageMemoryLimit($file['save_path'])) - $errors[] = Tools::displayError('Due to memory limit restrictions, this image cannot be loaded. Please increase your memory_limit value via your server\'s configuration settings. '); - // Copy new image - if (!isset($file['save_path']) || (empty($errors) && !ImageManager::resize($file['save_path'], _PS_CAT_IMG_DIR_ - .(int)Tools::getValue('id_category').'-'.$id.'_thumb.jpg'))) - $errors[] = Tools::displayError('An error occurred while uploading the image.'); - - if (count($errors)) - $total_errors = array_merge($total_errors, $errors); - - if (isset($file['save_path']) && is_file($file['save_path'])) - unlink($file['save_path']); - //Necesary to prevent hacking - if (isset($file['save_path'])) - unset($file['save_path']); - - if (isset($file['tmp_name'])) - unset($file['tmp_name']); - - //Add image preview and delete url - $file['image'] = ImageManager::thumbnail(_PS_CAT_IMG_DIR_.(int)$category->id.'-'.$id.'_thumb.jpg', - $this->context->controller->table.'_'.(int)$category->id.'-'.$id.'_thumb.jpg', 100, 'jpg', true, true); - $file['delete_url'] = Context::getContext()->link->getAdminLink('AdminBlockCategories').'&deleteThumb=' - .$id.'&id_category='.(int)$category->id.'&updatecategory'; - } - - if (count($total_errors)) - $this->context->controller->errors = array_merge($this->context->controller->errors, $total_errors); - else - Tools::clearSmartyCache(); - - die(json_encode(array('thumbnail' => $files))); - } - } -} diff --git a/modules/blockcategories/controllers/admin/index.php b/modules/blockcategories/controllers/admin/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcategories/controllers/admin/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcategories/controllers/index.php b/modules/blockcategories/controllers/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcategories/controllers/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcategories/img/arrow_right_2.png b/modules/blockcategories/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f..000000000 Binary files a/modules/blockcategories/img/arrow_right_2.png and /dev/null differ diff --git a/modules/blockcategories/img/icon/index.php b/modules/blockcategories/img/icon/index.php deleted file mode 100644 index 7b5015776..000000000 --- a/modules/blockcategories/img/icon/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcategories/img/icon/open-close.png b/modules/blockcategories/img/icon/open-close.png deleted file mode 100644 index 5e9c5d4bc..000000000 Binary files a/modules/blockcategories/img/icon/open-close.png and /dev/null differ diff --git a/modules/blockcategories/img/index.php b/modules/blockcategories/img/index.php deleted file mode 100644 index 19a328b3b..000000000 --- a/modules/blockcategories/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcategories/index.php b/modules/blockcategories/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcategories/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcategories/logo.gif b/modules/blockcategories/logo.gif deleted file mode 100644 index 779ad58ef..000000000 Binary files a/modules/blockcategories/logo.gif and /dev/null differ diff --git a/modules/blockcategories/logo.png b/modules/blockcategories/logo.png deleted file mode 100644 index d42a4ba21..000000000 Binary files a/modules/blockcategories/logo.png and /dev/null differ diff --git a/modules/blockcategories/sort_alphabet.png b/modules/blockcategories/sort_alphabet.png deleted file mode 100644 index c6bb63848..000000000 Binary files a/modules/blockcategories/sort_alphabet.png and /dev/null differ diff --git a/modules/blockcategories/sort_number.png b/modules/blockcategories/sort_number.png deleted file mode 100644 index cbcf7b64e..000000000 Binary files a/modules/blockcategories/sort_number.png and /dev/null differ diff --git a/modules/blockcategories/translations/index.php b/modules/blockcategories/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcategories/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcategories/upgrade/install-2.1.php b/modules/blockcategories/upgrade/install-2.1.php deleted file mode 100644 index ace16ef68..000000000 --- a/modules/blockcategories/upgrade/install-2.1.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('displayBackOfficeCategory'); -} diff --git a/modules/blockcategories/upgrade/install-2.9.1.php b/modules/blockcategories/upgrade/install-2.9.1.php deleted file mode 100644 index cfdf30762..000000000 --- a/modules/blockcategories/upgrade/install-2.9.1.php +++ /dev/null @@ -1,25 +0,0 @@ -active = 1; - $tab->class_name = 'AdminBlockCategories'; - $tab->name = array(); - foreach (Language::getLanguages(true) as $lang) { - $tab->name[$lang['id_lang']] = 'BlockCategories'; - } - $tab->id_parent = -1; - $tab->module = $object->name; - - return $tab->add(); - } - return true; -} diff --git a/modules/blockcategories/views/blockcategories_admin.tpl b/modules/blockcategories/views/blockcategories_admin.tpl deleted file mode 100644 index e2ca22e58..000000000 --- a/modules/blockcategories/views/blockcategories_admin.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -
    - -
    - {$helper} -
    -
    -
    {l s='Recommended dimensions (for the default theme): %1spx x %2spx' sprintf=[$format.width, $format.height]}
    -
    -
    diff --git a/modules/blockcms/BlockCMSModel.php b/modules/blockcms/BlockCMSModel.php deleted file mode 100644 index 580e4c004..000000000 --- a/modules/blockcms/BlockCMSModel.php +++ /dev/null @@ -1,623 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -class BlockCMSModel extends ObjectModel -{ - public $id_cms_block; - - public $id_cms_category; - - public $location; - - public $position; - - public $display_store; - - const LEFT_COLUMN = 0; - const RIGHT_COLUMN = 1; - const FOOTER = 2; - - /** - * @see ObjectModel::$definition - */ - public static $definition = array( - 'table' => 'cms_block', - 'primary' => 'id_cms_block', - 'fields' => array( - 'id_cms_block' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true), - 'id_cms_category' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true), - 'location' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true), - 'position' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true), - 'display_store' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true) - ), - ); - - public static function createTables() - { - return ( - BlockCMSModel::createCMSBlockTable() && - BlockCMSModel::createCMSBlockLangTable() && - BlockCMSModel::createCMSBlockPageTable() && - BlockCMSModel::createCMSBlockShopTable() - ); - } - - public static function dropTables() - { - $sql = 'DROP TABLE - `'._DB_PREFIX_.'cms_block`, - `'._DB_PREFIX_.'cms_block_page`, - `'._DB_PREFIX_.'cms_block_lang`, - `'._DB_PREFIX_.'cms_block_shop`'; - - return Db::getInstance()->execute($sql); - } - - public static function createCMSBlockTable() - { - $sql = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cms_block`( - `id_cms_block` int(10) unsigned NOT NULL auto_increment, - `id_cms_category` int(10) unsigned NOT NULL, - `location` tinyint(1) unsigned NOT NULL, - `position` int(10) unsigned NOT NULL default \'0\', - `display_store` tinyint(1) unsigned NOT NULL default \'1\', - PRIMARY KEY (`id_cms_block`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8'; - - return Db::getInstance()->execute($sql); - } - - public static function createCMSBlockLangTable() - { - $sql = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cms_block_lang`( - `id_cms_block` int(10) unsigned NOT NULL, - `id_lang` int(10) unsigned NOT NULL, - `name` varchar(40) NOT NULL default \'\', - PRIMARY KEY (`id_cms_block`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8'; - - return Db::getInstance()->execute($sql); - } - - public static function createCMSBlockPageTable() - { - $sql = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cms_block_page`( - `id_cms_block_page` int(10) unsigned NOT NULL auto_increment, - `id_cms_block` int(10) unsigned NOT NULL, - `id_cms` int(10) unsigned NOT NULL, - `is_category` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id_cms_block_page`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8'; - - return Db::getInstance()->execute($sql); - } - - public static function createCMSBlockShopTable() - { - $sql = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cms_block_shop` ( - `id_cms_block` int(10) unsigned NOT NULL auto_increment, - `id_shop` int(10) unsigned NOT NULL, - PRIMARY KEY (`id_cms_block`, `id_shop`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8'; - - return Db::getInstance()->execute($sql); - } - - public static function insertCMSBlock($id_category, $location, $position, $display_store) - { - $sql = 'INSERT INTO `'._DB_PREFIX_.'cms_block` (`id_cms_category`, `location`, `position`, `display_store`) - VALUES('.(int)$id_category.', '.(int)$location.', '.(int)$position.', '.(int)$display_store.')'; - - if (Db::getInstance()->execute($sql)) - return Db::getInstance()->Insert_ID(); - - return false; - } - - public static function insertCMSBlockLang($id_cms_block, $id_lang) - { - $sql = 'INSERT INTO `'._DB_PREFIX_.'cms_block_lang` (`id_cms_block`, `id_lang`, `name`) - VALUES('.(int)$id_cms_block.', '.(int)$id_lang.', "'.pSQL(Tools::getValue('block_name_'.$id_lang)).'")'; - - Db::getInstance()->execute($sql); - - return Db::getInstance()->Insert_ID(); - } - - public static function insertCMSBlockPage($id_cms_block, $id_cms, $is_category) - { - $sql = 'INSERT INTO `'._DB_PREFIX_.'cms_block_page` (`id_cms_block`, `id_cms`, `is_category`) - VALUES('.(int)$id_cms_block.', '.(int)$id_cms.', '.(int)$is_category.')'; - - Db::getInstance()->execute($sql); - - return Db::getInstance()->Insert_ID(); - } - - public static function insertCMSBlockShop($id_cms_block, $id_shop) - { - $sql = 'INSERT INTO `'._DB_PREFIX_.'cms_block_shop` (`id_cms_block`, `id_shop`) - VALUES('.(int)$id_cms_block.', '.(int)$id_shop.')'; - - Db::getInstance()->execute($sql); - - return Db::getInstance()->Insert_ID(); - } - - public static function updateCMSBlock($id_cms_block, $id_cms_category, $position, $location, $display_store) - { - $sql = 'UPDATE `'._DB_PREFIX_.'cms_block` - SET `location` = '.(int)$location.', - `id_cms_category` = '.(int)$id_cms_category.', - `position` = '.(int)$position.', - `display_store` = '.(int)$display_store.' - WHERE `id_cms_block` = '.(int)$id_cms_block; - - Db::getInstance()->execute($sql); - } - - public static function updatePositions($position, $new_position, $location) - { - $sql = 'UPDATE `'._DB_PREFIX_.'cms_block` - SET `position` = '.(int)$new_position.' WHERE `position` > '.(int)$position.' - AND `location` = '.(int)$location; - - Db::getInstance()->execute($sql); - } - - public static function updateCMSBlockPositions($id_cms_block, $position, $new_position, $location) - { - $query = 'UPDATE `'._DB_PREFIX_.'cms_block` - SET `position` = '.(int)$new_position.' - WHERE `position` = '.(int)$position.' - AND `location` = '.(int)$location; - - $sub_query = 'UPDATE `'._DB_PREFIX_.'cms_block` - SET `position` = '.(int)$position.' - WHERE `id_cms_block` = '.(int)$id_cms_block; - - if (Db::getInstance()->execute($query)) - Db::getInstance()->execute($sub_query); - } - - public static function updateCMSBlockPosition($id_cms_block, $position) - { - $query = 'UPDATE `'._DB_PREFIX_.'cms_block` - SET `position` = '.(int)$position.' - WHERE `id_cms_block` = '.(int)$id_cms_block; - - Db::getInstance()->execute($query); - } - - public static function updateCMSBlockLang($id_cms_block, $block_name, $id_lang) - { - $sql = 'UPDATE `'._DB_PREFIX_.'cms_block_lang` - SET `name` = "'.pSQL($block_name).'" - WHERE `id_cms_block` = '.(int)$id_cms_block.' - AND `id_lang`= '.(int)$id_lang; - - Db::getInstance()->execute($sql); - } - - public static function updateDisplayStores($display_store) - { - $sql = 'UPDATE `'._DB_PREFIX_.'cms_block` - SET `display_store` = '.(int)$display_store; - - Db::getInstance()->execute($sql); - } - - public static function deleteCMSBlock($id_cms_block) - { - $sql = 'DELETE FROM `'._DB_PREFIX_.'cms_block` - WHERE `id_cms_block` = '.(int)$id_cms_block; - - Db::getInstance()->execute($sql); - } - - public static function deleteCMSBlockPage($id_cms_block) - { - $sql = 'DELETE FROM `'._DB_PREFIX_.'cms_block_page` - WHERE `id_cms_block` = '.(int)$id_cms_block; - - Db::getInstance()->execute($sql); - } - - public static function getMaxPosition($location) - { - $sql = 'SELECT COUNT(*) - FROM `'._DB_PREFIX_.'cms_block` - WHERE `location` = '.(int)$location; - - return Db::getInstance()->getValue($sql); - } - - public static function getCMSTitlesFooter() - { - $context = Context::getContext(); - $footerCms = Configuration::get('FOOTER_CMS'); - - if (empty($footerCms)) - return array(); - - $cmsCategories = explode('|', $footerCms); - foreach ($cmsCategories as $cmsCategory) - { - $ids = explode('_', $cmsCategory); - - if ($ids[0] == 1 && isset($ids[1])) - { - $query = BlockCMSModel::getBlockName($ids[1]); - $content[$cmsCategory]['link'] = $context->link->getCMSCategoryLink((int)$ids[1], $query['link_rewrite']); - $content[$cmsCategory]['meta_title'] = $query['name']; - } - else if ($ids[0] == 0 && isset($ids[1])) - { - $query = BlockCMSModel::getCMSMetaTitle($ids[1]); - $content[$cmsCategory]['link'] = $context->link->getCMSLink((int)$ids[1], $query['link_rewrite']); - $content[$cmsCategory]['meta_title'] = $query['meta_title']; - } - } - - return $content; - } - - public static function getBlockName($id) - { - $sql = 'SELECT cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_category_lang` cl - INNER JOIN `'._DB_PREFIX_.'cms_category` c - ON (cl.`id_cms_category` = c.`id_cms_category`) - WHERE cl.`id_cms_category` = '.(int)$id.' - AND (c.`active` = 1 OR c.`id_cms_category` = 1) - AND cl.`id_lang` = '.(int)Context::getContext()->language->id; - - return Db::getInstance()->getRow($sql); - } - - public static function getBlockMetaTitle($id) - { - $sql = 'SELECT cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_category_lang` cl - INNER JOIN `'._DB_PREFIX_.'cms_category` c - ON (cl.`id_cms_category` = c.`id_cms_category`) - WHERE cl.`id_cms_category` = '.(int)$id.' - AND (c.`active` = 1 OR c.`id_cms_category` = 1) - AND cl.`id_lang` = '.(int)Context::getContext()->language->id; - - return Db::getInstance()->getRow($sql); - } - - public static function getCMSMetaTitle($id) - { - $context = Context::getContext(); - $id_shop = (int)$context->shop->id; - - $where_shop = ''; - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true && $id_shop != false) { - $where_shop = ' AND cl.`id_shop` = '.(int)$id_shop; - } - - $sql = 'SELECT cl.`meta_title`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_lang` cl - INNER JOIN `'._DB_PREFIX_.'cms` c - ON (cl.`id_cms` = c.`id_cms`) - WHERE cl.`id_cms` = '.(int)$id.' - AND (c.`active` = 1 OR c.`id_cms` = 1)'. - $where_shop.' - AND cl.`id_lang` = '.(int)Context::getContext()->language->id; - - return Db::getInstance()->getRow($sql); - } - - public static function getCMSCategoriesByLocation($location, $id_shop = false) - { - $context = Context::getContext(); - $id_shop = ($id_shop != false) ? $id_shop : $context->shop->id; - - $where_shop = ''; - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true && $id_shop != false) - $where_shop = ' AND ccl.`id_shop` = '.(int)$id_shop; - - $sql = 'SELECT bc.`id_cms_block`, bc.`id_cms_category`, bc.`display_store`, ccl.`link_rewrite`, ccl.`name` category_name, bcl.`name` block_name - FROM `'._DB_PREFIX_.'cms_block` bc - LEFT JOIN `'._DB_PREFIX_.'cms_block_shop` bcs - ON (bcs.id_cms_block = bc.id_cms_block) - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` ccl - ON (bc.`id_cms_category` = ccl.`id_cms_category`) - INNER JOIN `'._DB_PREFIX_.'cms_block_lang` bcl - ON (bc.`id_cms_block` = bcl.`id_cms_block`) - WHERE bc.`location` = '.(int)$location.' - AND ccl.`id_lang` = '.(int)$context->language->id.' - AND bcl.`id_lang` = '.(int)$context->language->id.' - AND bcs.id_shop = '.($id_shop ? (int)$id_shop : (int)$context->shop->id). - $where_shop.' - ORDER BY `position`'; - - return Db::getInstance()->executeS($sql); - } - - public static function getCMSPages($id_cms_category, $id_shop = false) - { - $id_shop = ($id_shop != false) ? $id_shop : Context::getContext()->shop->id; - - $where_shop = ''; - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true && $id_shop != false) - $where_shop = ' AND cl.`id_shop` = '.(int)$id_shop; - - $sql = 'SELECT c.`id_cms`, cl.`meta_title`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms` c - INNER JOIN `'._DB_PREFIX_.'cms_shop` cs - ON (c.`id_cms` = cs.`id_cms`) - INNER JOIN `'._DB_PREFIX_.'cms_lang` cl - ON (c.`id_cms` = cl.`id_cms`) - WHERE c.`id_cms_category` = '.(int)$id_cms_category.' - AND cs.`id_shop` = '.(int)$id_shop.' - AND cl.`id_lang` = '.(int)Context::getContext()->language->id. - $where_shop.' - AND c.`active` = 1 - ORDER BY `position`'; - - return Db::getInstance()->executeS($sql); - } - - public static function getCMSBlockPages($id_block, $id_shop = false) - { - $id_shop = ($id_shop != false) ? $id_shop : Context::getContext()->shop->id; - - $where_shop = ''; - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true && $id_shop != false) - $where_shop = ' AND cl.`id_shop` = '.(int)$id_shop; - - $sql = 'SELECT cl.`id_cms`, cl.`meta_title`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_block_page` bcp - INNER JOIN `'._DB_PREFIX_.'cms_lang` cl - ON (bcp.`id_cms` = cl.`id_cms`) - INNER JOIN `'._DB_PREFIX_.'cms` c - ON (bcp.`id_cms` = c.`id_cms`) - INNER JOIN `'._DB_PREFIX_.'cms_shop` cs - ON (c.`id_cms` = cs.`id_cms`) - WHERE bcp.`id_cms_block` = '.(int)$id_block.' - AND cs.`id_shop` = '.(int)$id_shop.' - AND cl.`id_lang` = '.(int)Context::getContext()->language->id. - $where_shop.' - AND bcp.`is_category` = 0 - AND c.`active` = 1 - ORDER BY `position`'; - - return Db::getInstance()->executeS($sql); - } - - public static function getCMSBlockPagesCategories($id_cms_block) - { - $sql = 'SELECT bcp.`id_cms`, cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_block_page` bcp - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` cl - ON (bcp.`id_cms` = cl.`id_cms_category`) - WHERE bcp.`id_cms_block` = '.(int)$id_cms_block.' - AND cl.`id_lang` = '.(int)Context::getContext()->language->id.' - AND bcp.`is_category` = 1'; - - return Db::getInstance()->executeS($sql); - } - - public static function getCMSCategories($recursive = false, $parent = 0, $id_shop = false) - { - $id_shop = ($id_shop != false) ? $id_shop : Context::getContext()->shop->id; - $join_shop = ''; - $where_shop = ''; - - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true) - { - $join_shop = ' INNER JOIN `'._DB_PREFIX_.'cms_category_shop` cs - ON (bcp.`id_cms_category` = cs.`id_cms_category`)'; - $where_shop = ' AND cs.`id_shop` = '.(int)$id_shop.' AND cl.`id_shop` = '.(int)$id_shop; - } - - if ($recursive === false) - { - $sql = 'SELECT bcp.`id_cms_category`, bcp.`id_parent`, bcp.`level_depth`, bcp.`active`, bcp.`position`, cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_category` bcp'. - $join_shop.' - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` cl - ON (bcp.`id_cms_category` = cl.`id_cms_category`) - WHERE cl.`id_lang` = '.(int)Context::getContext()->language->id. - $where_shop; - if ($parent) - $sql .= ' AND bcp.`id_parent` = '.(int)$parent; - - return Db::getInstance()->executeS($sql); - } - else - { - $sql = 'SELECT bcp.`id_cms_category`, bcp.`id_parent`, bcp.`level_depth`, bcp.`active`, bcp.`position`, cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_category` bcp'. - $join_shop.' - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` cl - ON (bcp.`id_cms_category` = cl.`id_cms_category`) - WHERE cl.`id_lang` = '.(int)Context::getContext()->language->id. - $where_shop; - if ($parent) - $sql .= ' AND bcp.`id_parent` = '.(int)$parent; - - $results = Db::getInstance()->executeS($sql); - foreach ($results as $result) - { - $sub_categories = BlockCMSModel::getCMSCategories(true, $result['id_cms_category']); - if ($sub_categories && count($sub_categories) > 0) - $result['sub_categories'] = $sub_categories; - $categories[] = $result; - } - - return isset($categories) ? $categories : false; - } - - } - - /* Get a single CMS block by its ID */ - public static function getBlockCMS($id_cms_block) - { - $sql = 'SELECT cb.`id_cms_category`, cb.`location`, cb.`position`, cb.`display_store`, cbl.id_lang, cbl.name - FROM `'._DB_PREFIX_.'cms_block` cb - LEFT JOIN `'._DB_PREFIX_.'cms_block_lang` cbl - ON (cbl.`id_cms_block` = cb.`id_cms_block`) - WHERE cb.`id_cms_block` = '.(int)$id_cms_block; - - $cmsBlocks = Db::getInstance()->executeS($sql); - - foreach ($cmsBlocks as $cmsBlock) - { - $results[(int)$cmsBlock['id_lang']] = $cmsBlock; - $restuls[(int)$cmsBlock['id_lang']]['name'] = $cmsBlock['name']; - } - - return $results; - } - - /* Get all CMS blocks by location */ - public static function getCMSBlocksByLocation($location, $id_shop = false) - { - $context = Context::getContext(); - $id_shop = ($id_shop != false) ? $id_shop : $context->shop->id; - - $where_shop = ''; - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true && $id_shop != false) - $where_shop = ' AND ccl.`id_shop` = '.$id_shop; - - $sql = 'SELECT bc.`id_cms_block`, bcl.`name` block_name, ccl.`name` category_name, bc.`position`, bc.`id_cms_category`, bc.`display_store` - FROM `'._DB_PREFIX_.'cms_block` bc - LEFT JOIN `'._DB_PREFIX_.'cms_block_shop` bcs - ON (bcs.id_cms_block = bc.id_cms_block) - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` ccl - ON (bc.`id_cms_category` = ccl.`id_cms_category`) - INNER JOIN `'._DB_PREFIX_.'cms_block_lang` bcl - ON (bc.`id_cms_block` = bcl.`id_cms_block`) - WHERE ccl.`id_lang` = '.(int)Context::getContext()->language->id.' - AND bcl.`id_lang` = '.(int)Context::getContext()->language->id.' - AND bc.`location` = '.(int)$location. - $where_shop.' - AND bcs.id_shop = '.$id_shop.' - ORDER BY bc.`position`'; - - return Db::getInstance()->executeS($sql); - } - - /* Get all CMS blocks */ - public static function getCMSBlocks() - { - $sql = 'SELECT bc.`id_cms_block`, bcl.`name` block_name, ccl.`name` category_name, bc.`position`, bc.`id_cms_category`, bc.`display_store` - FROM `'._DB_PREFIX_.'cms_block` bc - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` ccl - ON (bc.`id_cms_category` = ccl.`id_cms_category`) - INNER JOIN `'._DB_PREFIX_.'cms_block_lang` bcl - ON (bc.`id_cms_block` = bcl.`id_cms_block`) - WHERE ccl.`id_lang` = '.(int)Context::getContext()->language->id.' - AND bcl.`id_lang` = '.(int)Context::getContext()->language->id.' - ORDER BY bc.`position`'; - - return Db::getInstance()->executeS($sql); - } - - /* Get all CMS blocks */ - public static function getAllCMSStructure($id_shop = false) - { - $id_shop = ($id_shop != false) ? $id_shop : Context::getContext()->shop->id; - - $categories = BlockCMSModel::getCMSCategories(false, 0, $id_shop); - - foreach ($categories as $key => $value) - $categories[$key]['cms_pages'] = BlockCMSModel::getCMSPages($value['id_cms_category'], $id_shop); - - return $categories; - } - - public static function getAllCMSTitles() - { - $titles = array_merge( - BlockCMSModel::getCMSTitles(BlockCMSModel::LEFT_COLUMN), - BlockCMSModel::getCMSTitles(BlockCMSModel::RIGHT_COLUMN) - ); - - foreach ($titles as $key => $title) - { - unset( - $titles[$key]['category_link'], - $titles[$key]['category_name'], - $titles[$key]['categories'], - $titles[$key]['name'] - ); - } - - return $titles; - } - - public static function getCMSTitles($location, $id_shop = false) - { - $content = array(); - $context = Context::getContext(); - $cmsCategories = BlockCMSModel::getCMSCategoriesByLocation($location, $id_shop); - - if (is_array($cmsCategories) && count($cmsCategories)) - { - foreach ($cmsCategories as $cmsCategory) - { - $key = (int)$cmsCategory['id_cms_block']; - $content[$key]['display_store'] = $cmsCategory['display_store']; - $content[$key]['cms'] = BlockCMSModel::getCMSBlockPages($cmsCategory['id_cms_block'], $id_shop); - $links = array(); - if (count($content[$key]['cms'])) - { - foreach ($content[$key]['cms'] as $row) - { - $row['link'] = $context->link->getCMSLink((int)$row['id_cms'], $row['link_rewrite']); - $links[] = $row; - } - } - - $content[$key]['cms'] = $links; - $content[$key]['categories'] = BlockCMSModel::getCMSBlockPagesCategories($cmsCategory['id_cms_block']); - - $links = array(); - if (count($content[$key]['categories'])) - { - foreach ($content[$key]['categories'] as $row) - { - $row['link'] = $context->link->getCMSCategoryLink((int)$row['id_cms'], $row['link_rewrite']); - $links[] = $row; - } - } - - $content[$key]['categories'] = $links; - $content[$key]['name'] = $cmsCategory['block_name']; - $content[$key]['category_link'] = $context->link->getCMSCategoryLink((int)$cmsCategory['id_cms_category'], $cmsCategory['link_rewrite']); - $content[$key]['category_name'] = $cmsCategory['category_name']; - } - } - - return $content; - } - -} diff --git a/modules/blockcms/CHANGELOG.txt b/modules/blockcms/CHANGELOG.txt deleted file mode 100644 index b4d8ffdd0..000000000 --- a/modules/blockcms/CHANGELOG.txt +++ /dev/null @@ -1,9 +0,0 @@ -2014-04-22 18:56:59 +0200 // Changelog updated -2014-04-03 19:04:37 +0200 // blockcms, unassigned vars #PSCSX-1424 -2014-03-28 10:19:50 +0100 // added default value for new configuration options -2014-03-26 12:42:47 +0100 [*] MO : blockcms : options added to display each links -2014-03-24 12:20:38 +0100 Merge branch 'master' of https://github.com/PrestaShop/blockcms -2014-03-24 11:43:28 +0100 / MO blockcms : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:01:34 +0100 / MO blockcms : ps_versions_compliancy added -2014-03-24 10:54:46 +0100 [*] BO : updating labels and descriptions for blockcms. -2014-03-20 14:20:55 +0100 Initial commit diff --git a/modules/blockcms/blockcms.php b/modules/blockcms/blockcms.php deleted file mode 100644 index 3dbc3b75f..000000000 --- a/modules/blockcms/blockcms.php +++ /dev/null @@ -1,930 +0,0 @@ - - * @copyright 2007-2016 PrestaShop SA - * @version Release: $Revision: 7060 $ - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - * International Registered Trademark & Property of PrestaShop SA - */ - -if (!defined('_CAN_LOAD_FILES_')) - exit; - -include_once(dirname(__FILE__) . '/BlockCMSModel.php'); - -class BlockCms extends Module -{ - protected $_html; - protected $_display; - - public function __construct() - { - $this->name = 'blockcms'; - $this->tab = 'front_office_features'; - $this->version = '2.1.2'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('CMS block'); - $this->description = $this->l('Adds a block with several CMS links.'); - $this->secure_key = Tools::encrypt($this->name); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - if (!parent::install() - || !$this->registerHook('leftColumn') - || !$this->registerHook('rightColumn') - || !$this->registerHook('header') - || !$this->registerHook('footer') - || !$this->registerHook('actionObjectCmsUpdateAfter') - || !$this->registerHook('actionObjectCmsDeleteAfter') - || !$this->registerHook('actionShopDataDuplication') - || !$this->registerHook('actionAdminStoresControllerUpdate_optionsAfter') - || !BlockCMSModel::createTables() - || !Configuration::updateValue('FOOTER_CMS', '') - || !Configuration::updateValue('FOOTER_BLOCK_ACTIVATION', 1) - || !Configuration::updateValue('FOOTER_POWEREDBY', 1) - || !Configuration::updateValue('FOOTER_PRICE-DROP', 1) - || !Configuration::updateValue('FOOTER_NEW-PRODUCTS', 1) - || !Configuration::updateValue('FOOTER_BEST-SALES', 1) - || !Configuration::updateValue('FOOTER_CONTACT', 1) - || !Configuration::updateValue('FOOTER_SITEMAP', 1) - ) - return false; - - $this->_clearCache('blockcms.tpl'); - - // Install fixtures for blockcms - $default = Db::getInstance()->insert('cms_block', array( - 'id_cms_category' => 1, - 'location' => 0, - 'position' => 0, - )); - - if (!$default) - return false; - - $result = true; - $id_cms_block = Db::getInstance()->Insert_ID(); - $shops = Shop::getShops(true, null, true); - - foreach ($shops as $shop) - $result &= Db::getInstance()->insert('cms_block_shop', array( - 'id_cms_block' => $id_cms_block, - 'id_shop' => $shop - )); - - $languages = Language::getLanguages(false); - foreach ($languages as $lang) - $result &= Db::getInstance()->insert('cms_block_lang', array( - 'id_cms_block' => $id_cms_block, - 'id_lang' => $lang['id_lang'], - 'name' => $this->l('Information'), - )); - - $pages = CMS::getCMSPages(null, 1); - foreach ($pages as $cms) - $result &= Db::getInstance()->insert('cms_block_page', array( - 'id_cms_block' => $id_cms_block, - 'id_cms' => $cms['id_cms'], - 'is_category' => 0, - )); - - return $result; - } - - public function uninstall() - { - $this->_clearCache('blockcms.tpl'); - if (!parent::uninstall() || - !BlockCMSModel::DropTables() || - !Configuration::deleteByName('FOOTER_CMS') || - !Configuration::deleteByName('FOOTER_BLOCK_ACTIVATION') || - !Configuration::deleteByName('FOOTER_POWEREDBY') || - !Configuration::deleteByName('FOOTER_PRICE-DROP') || - !Configuration::deleteByName('FOOTER_NEW-PRODUCTS') || - !Configuration::deleteByName('FOOTER_BEST-SALES') || - !Configuration::deleteByName('FOOTER_CONTACT') || - !Configuration::deleteByName('FOOTER_SITEMAP') - ) - return false; - return true; - } - - public function initToolbar() - { - $current_index = AdminController::$currentIndex; - $token = Tools::getAdminTokenLite('AdminModules'); - $back = Tools::safeOutput(Tools::getValue('back', '')); - if (!isset($back) || empty($back)) - $back = $current_index.'&configure='.$this->name.'&token='.$token; - - switch ($this->_display) - { - case 'add': - $this->toolbar_btn['cancel'] = array( - 'href' => $back, - 'desc' => $this->l('Cancel') - ); - break; - case 'edit': - $this->toolbar_btn['cancel'] = array( - 'href' => $back, - 'desc' => $this->l('Cancel') - ); - break; - case 'index': - $this->toolbar_btn['new'] = array( - 'href' => $current_index.'&configure='.$this->name.'&token='.$token.'&addBlockCMS', - 'desc' => $this->l('Add new') - ); - break; - default: - break; - } - return $this->toolbar_btn; - } - - protected function displayForm() - { - $this->context->controller->addJqueryPlugin('tablednd'); - - if (version_compare(_PS_VERSION_, '1.6.0.11', '>=') === true) - $this->context->controller->addJS(_PS_JS_DIR_.'admin/dnd.js'); - else - $this->context->controller->addJS(_PS_JS_DIR_.'admin-dnd.js'); - - $current_index = AdminController::$currentIndex; - $token = Tools::getAdminTokenLite('AdminModules'); - - $this->_display = 'index'; - - $this->fields_form[0]['form'] = array( - 'legend' => array( - 'title' => $this->l('CMS block configuration'), - 'icon' => 'icon-list-alt' - ), - 'input' => array( - array( - 'type' => 'cms_blocks', - 'label' => $this->l('CMS Blocks'), - 'name' => 'cms_blocks', - 'values' => array( - 0 => BlockCMSModel::getCMSBlocksByLocation(BlockCMSModel::LEFT_COLUMN, Shop::getContextShopID()), - 1 => BlockCMSModel::getCMSBlocksByLocation(BlockCMSModel::RIGHT_COLUMN, Shop::getContextShopID())) - ) - ), - 'buttons' => array( - 'newBlock' => array( - 'title' => $this->l('New block'), - 'href' => $current_index.'&configure='.$this->name.'&token='.$token.'&addBlockCMS', - 'class' => 'pull-right', - 'icon' => 'process-icon-new' - ) - ) - ); - $this->fields_form[1]['form'] = array( - 'tinymce' => true, - 'legend' => array( - 'title' => $this->l('Configuration of the various links in the footer'), - 'icon' => 'icon-link' - ), - 'input' => array( - array( - 'type' => 'checkbox', - 'name' => 'cms_footer', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display various links and information in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'cms_pages', - 'label' => $this->l('Footer links'), - 'name' => 'footerBox[]', - 'values' => BlockCMSModel::getAllCMSStructure(), - 'desc' => $this->l('Please mark every page that you want to display in the footer CMS block.') - ), - array( - 'type' => 'textarea', - 'label' => $this->l('Footer information'), - 'name' => 'footer_text', - 'rows' => 5, - 'cols' => 60, - 'lang' => true - ), - array( - 'type' => 'checkbox', - 'name' => 'PS_STORES_DISPLAY_FOOTER', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display "Our stores" link in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'checkbox', - 'name' => 'cms_footer_display_price-drop', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display "Price drop" link in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'checkbox', - 'name' => 'cms_footer_display_new-products', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display "New products" link in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'checkbox', - 'name' => 'cms_footer_display_best-sales', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display "Best sales" link in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'checkbox', - 'name' => 'cms_footer_display_contact', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display "Contact us" link in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'checkbox', - 'name' => 'cms_footer_display_sitemap', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display sitemap link in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'checkbox', - 'name' => 'cms_footer_powered_by', - 'values' => array( - 'query' => array( - array( - 'id' => 'on', - 'name' => $this->l('Display "Powered by PrestaShop" in the footer'), - 'val' => '1' - ), - ), - 'id' => 'id', - 'name' => 'name' - ) - ) - ), - 'submit' => array( - 'name' => 'submitFooterCMS', - 'title' => $this->l('Save'), - ) - ); - - $this->context->controller->getLanguages(); - $tmp = Configuration::get('FOOTER_CMS'); - $footer_boxes = explode('|', $tmp); - - if ($footer_boxes && is_array($footer_boxes)) - foreach ($footer_boxes as $key => $value) - $this->fields_value[$value] = true; - - $this->fields_value['cms_footer_on'] = Configuration::get('FOOTER_BLOCK_ACTIVATION'); - $this->fields_value['cms_footer_powered_by_on'] = Configuration::get('FOOTER_POWEREDBY'); - $this->fields_value['PS_STORES_DISPLAY_FOOTER_on'] = Configuration::get('PS_STORES_DISPLAY_FOOTER'); - $this->fields_value['cms_footer_display_price-drop_on'] = Configuration::get('FOOTER_PRICE-DROP'); - $this->fields_value['cms_footer_display_new-products_on'] = Configuration::get('FOOTER_NEW-PRODUCTS'); - $this->fields_value['cms_footer_display_best-sales_on'] = Configuration::get('FOOTER_BEST-SALES'); - $this->fields_value['cms_footer_display_contact_on'] = Configuration::get('FOOTER_CONTACT'); - $this->fields_value['cms_footer_display_sitemap_on'] = Configuration::get('FOOTER_SITEMAP'); - - foreach ($this->context->controller->_languages as $language) - { - $footer_text = Configuration::get('FOOTER_CMS_TEXT_'.$language['id_lang']); - $this->fields_value['footer_text'][$language['id_lang']] = $footer_text; - } - - $helper = $this->initForm(); - $helper->submit_action = ''; - $helper->title = $this->l('CMS Block configuration'); - - $helper->fields_value = $this->fields_value; - $this->_html .= $helper->generateForm($this->fields_form); - - return; - } - - protected function displayAddForm() - { - $token = Tools::getAdminTokenLite('AdminModules'); - $back = Tools::safeOutput(Tools::getValue('back', '')); - $current_index = AdminController::$currentIndex; - if (!isset($back) || empty($back)) - $back = $current_index.'&configure='.$this->name.'&token='.$token; - - if (Tools::isSubmit('editBlockCMS') && Tools::getValue('id_cms_block')) - { - $this->_display = 'edit'; - $id_cms_block = (int)Tools::getValue('id_cms_block'); - $cmsBlock = BlockCMSModel::getBlockCMS($id_cms_block); - $cmsBlockCategories = BlockCMSModel::getCMSBlockPagesCategories($id_cms_block); - $cmsBlockPages = BlockCMSModel::getCMSBlockPages(Tools::getValue('id_cms_block')); - } - else - $this->_display = 'add'; - - $this->fields_form[0]['form'] = array( - 'tinymce' => true, - 'legend' => array( - 'title' => isset($cmsBlock) ? $this->l('Edit the CMS block.') : $this->l('New CMS block'), - 'icon' => isset($cmsBlock) ? 'icon-edit' : 'icon-plus-square' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Name of the CMS block'), - 'name' => 'block_name', - 'lang' => true, - 'desc' => $this->l('If you leave this field empty, the block name will use the category name by default.') - ), - array( - 'type' => 'select_category', - 'label' => $this->l('CMS category'), - 'name' => 'id_category', - 'options' => array( - 'query' => BlockCMSModel::getCMSCategories(true), - 'id' => 'id_cms_category', - 'name' => 'name' - ) - ), - array( - 'type' => 'select', - 'label' => $this->l('Location'), - 'name' => 'block_location', - 'options' => array( - 'query' => array( - array( - 'id' => BlockCMSModel::LEFT_COLUMN, - 'name' => $this->l('Left column')), - array( - 'id' => BlockCMSModel::RIGHT_COLUMN, - 'name' => $this->l('Right column')), - ), - 'id' => 'id', - 'name' => 'name' - ) - ), - array( - 'type' => 'switch', - 'label' => $this->l('Add link to Store Locator'), - 'name' => 'display_stores', - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'display_stores_on', - 'value' => 1, - 'label' => $this->l('Yes')), - array( - 'id' => 'display_stores_off', - 'value' => 0, - 'label' => $this->l('No')), - ), - 'desc' => $this->l('Adds the "Our stores" link at the end of the block.') - ), - array( - 'type' => 'cms_pages', - 'label' => $this->l('CMS content'), - 'name' => 'cmsBox[]', - 'values' => BlockCMSModel::getAllCMSStructure(), - 'desc' => $this->l('Please mark every page that you want to display in this block.') - ), - ), - 'buttons' => array( - 'cancelBlock' => array( - 'title' => $this->l('Cancel'), - 'href' => $back, - 'icon' => 'process-icon-cancel' - ) - ), - 'submit' => array( - 'name' => 'submitBlockCMS', - 'title' => $this->l('Save'), - ) - ); - - $this->context->controller->getLanguages(); - foreach ($this->context->controller->_languages as $language) - { - if (Tools::getValue('block_name_'.$language['id_lang'])) - $this->fields_value['block_name'][$language['id_lang']] = Tools::getValue('block_name_'.$language['id_lang']); - else if (isset($cmsBlock) && isset($cmsBlock[$language['id_lang']]['name'])) - $this->fields_value['block_name'][$language['id_lang']] = $cmsBlock[$language['id_lang']]['name']; - else - $this->fields_value['block_name'][$language['id_lang']] = ''; - } - - if (Tools::getValue('display_stores')) - $this->fields_value['display_stores'] = Tools::getValue('display_stores'); - else if (isset($cmsBlock) && isset($cmsBlock[1]['display_store'])) - $this->fields_value['display_stores'] = $cmsBlock[1]['display_store']; - else - $this->fields_value['display_stores'] = ''; - - if (Tools::getValue('id_category')) - $this->fields_value['id_category'] = (int)Tools::getValue('id_category'); - else if (isset($cmsBlock) && isset($cmsBlock[1]['id_cms_category'])) - $this->fields_value['id_category'] = $cmsBlock[1]['id_cms_category']; - - if (Tools::getValue('block_location')) - $this->fields_value['block_location'] = Tools::getValue('block_location'); - else if (isset($cmsBlock) && isset($cmsBlock[1]['location'])) - $this->fields_value['block_location'] = $cmsBlock[1]['location']; - else - $this->fields_value['block_location'] = 0; - - if ($cmsBoxes = Tools::getValue('cmsBox')) - foreach ($cmsBoxes as $key => $value) - $this->fields_value[$value] = true; - else - { - if (isset($cmsBlockPages) && is_array($cmsBlockPages) && count($cmsBlockPages) > 0) - foreach ($cmsBlockPages as $item) - $this->fields_value['0_'.$item['id_cms']] = true; - if (isset($cmsBlockCategories) && is_array($cmsBlockCategories) && count($cmsBlockCategories) > 0) - foreach ($cmsBlockCategories as $item) - $this->fields_value['1_'.$item['id_cms']] = true; - } - - $helper = $this->initForm(); - - if (isset($id_cms_block)) - { - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name.'&id_cms_block='.$id_cms_block; - $helper->submit_action = 'editBlockCMS'; - } - else - $helper->submit_action = 'addBlockCMS'; - - $helper->fields_value = isset($this->fields_value) ? $this->fields_value : array(); - $this->_html .= $helper->generateForm($this->fields_form); - - return; - } - - protected function initForm() - { - $helper = new HelperForm(); - - $helper->module = $this; - $helper->name_controller = 'blockcms'; - $helper->identifier = $this->identifier; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->languages = $this->context->controller->_languages; - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - $helper->default_form_language = $this->context->controller->default_form_language; - $helper->allow_employee_form_lang = $this->context->controller->allow_employee_form_lang; - $helper->toolbar_scroll = true; - $helper->toolbar_btn = $this->initToolbar(); - - return $helper; - } - - protected function changePosition() - { - if (!Validate::isInt(Tools::getValue('position')) || - (Tools::getValue('location') != BlockCMSModel::LEFT_COLUMN && - Tools::getValue('location') != BlockCMSModel::RIGHT_COLUMN) || - (Tools::getValue('way') != 0 && Tools::getValue('way') != 1)) - Tools::displayError(); - - $this->_html .= 'pos change!'; - $position = (int)Tools::getValue('position'); - $location = (int)Tools::getValue('location'); - $id_cms_block = (int)Tools::getValue('id_cms_block'); - - if (Tools::getValue('way') == 0) - $new_position = $position + 1; - else if (Tools::getValue('way') == 1) - $new_position = $position - 1; - - BlockCMSModel::updateCMSBlockPositions($id_cms_block, $position, $new_position, $location); - Tools::redirectAdmin('index.php?tab=AdminModules&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules')); - } - - protected function _postValidation() - { - $this->_errors = array(); - - if (Tools::isSubmit('submitBlockCMS')) - { - $this->context->controller->getLanguages(); - $cmsBoxes = Tools::getValue('cmsBox'); - - if (!Validate::isInt(Tools::getValue('display_stores')) || (Tools::getValue('display_stores') != 0 && Tools::getValue('display_stores') != 1)) - $this->_errors[] = $this->l('Invalid store display value.'); - if (!Validate::isInt(Tools::getValue('block_location')) || (Tools::getValue('block_location') != BlockCMSModel::LEFT_COLUMN && Tools::getValue('block_location') != BlockCMSModel::RIGHT_COLUMN)) - $this->_errors[] = $this->l('Invalid block location.'); - if (!is_array($cmsBoxes)) - $this->_errors[] = $this->l('You must choose at least one page -- or subcategory -- in order to create a CMS block.'); - else - { - foreach ($cmsBoxes as $cmsBox) - if (!preg_match('#^[01]_[0-9]+$#', $cmsBox)) - $this->_errors[] = $this->l('Invalid CMS page and/or category.'); - foreach ($this->context->controller->_languages as $language) - if (strlen(Tools::getValue('block_name_'.$language['id_lang'])) > 40) - $this->_errors[] = $this->l('The block name is too long.'); - } - } - else if (Tools::isSubmit('deleteBlockCMS') && !Validate::isInt(Tools::getValue('id_cms_block'))) - { - $this->_errors[] = $this->l('Invalid id_cms_block'); - } - else if (Tools::isSubmit('submitFooterCMS')) - { - if (Tools::getValue('footerBox') && is_array(Tools::getValue('footerBox'))) - { - foreach (Tools::getValue('footerBox') as $cmsBox) - if (!preg_match('#^[01]_[0-9]+$#', $cmsBox)) - $this->_errors[] = $this->l('Invalid CMS page and/or category.'); - } - - $empty_footer_text = true; - $footer_text = array((int)Configuration::get('PS_LANG_DEFAULT') => Tools::getValue('footer_text_'.(int)Configuration::get('PS_LANG_DEFAULT'))); - - $this->context->controller->getLanguages(); - foreach ($this->context->controller->_languages as $language) - { - if ($language['id_lang'] == (int)Configuration::get('PS_LANG_DEFAULT')) - continue; - - $footer_text_value = Tools::getValue('footer_text_'.(int)$language['id_lang']); - if (!empty($footer_text_value)) - { - $empty_footer_text = false; - $footer_text[(int)$language['id_lang']] = $footer_text_value; - } - else - $footer_text[(int)$language['id_lang']] = $footer_text[(int)Configuration::get('PS_LANG_DEFAULT')]; - } - - if (!$empty_footer_text && empty($footer_text[(int)Configuration::get('PS_LANG_DEFAULT')])) - $this->_errors[] = $this->l('Please provide footer text for the default language.'); - else - { - foreach ($this->context->controller->_languages as $language) - Configuration::updateValue('FOOTER_CMS_TEXT_'.(int)$language['id_lang'], $footer_text[(int)$language['id_lang']], true); - } - - if ((Tools::getValue('cms_footer_on') != 0) && (Tools::getValue('cms_footer_on') != 1)) - $this->_errors[] = $this->l('Invalid footer activation.'); - } - if (count($this->_errors)) - { - foreach ($this->_errors as $err) - $this->_html .= '
    '.$err.'
    '; - - return false; - } - return true; - } - - protected function _postProcess() - { - if ($this->_postValidation() == false) - return false; - - $this->_clearCache('blockcms.tpl'); - - $this->_errors = array(); - if (Tools::isSubmit('submitBlockCMS')) - { - $this->context->controller->getLanguages(); - $id_cms_category = (int)Tools::getvalue('id_category'); - $display_store = (int)Tools::getValue('display_stores'); - $location = (int)Tools::getvalue('block_location'); - $position = BlockCMSModel::getMaxPosition($location); - - if (Tools::isSubmit('addBlockCMS')) - { - $id_cms_block = BlockCMSModel::insertCMSBlock($id_cms_category, $location, $position, $display_store); - - if ($id_cms_block !== false) - { - foreach ($this->context->controller->_languages as $language) - BlockCMSModel::insertCMSBlockLang($id_cms_block, $language['id_lang']); - - $shops = Shop::getContextListShopID(); - - foreach ($shops as $shop) - BlockCMSModel::insertCMSBlockShop($id_cms_block, $shop); - } - - $this->_errors[] = $this->l('Cannot create a block!'); - } - elseif (Tools::isSubmit('editBlockCMS')) - { - $id_cms_block = Tools::getvalue('id_cms_block'); - $old_block = BlockCMSModel::getBlockCMS($id_cms_block); - - BlockCMSModel::deleteCMSBlockPage($id_cms_block); - - if ($old_block[1]['location'] != (int)Tools::getvalue('block_location')) - BlockCMSModel::updatePositions($old_block[1]['position'], $old_block[1]['position'] + 1, $old_block[1]['location']); - - BlockCMSModel::updateCMSBlock($id_cms_block, $id_cms_category, $position, $location, $display_store); - - foreach ($this->context->controller->_languages as $language) - { - $block_name = Tools::getValue('block_name_'.$language['id_lang']); - BlockCMSModel::updateCMSBlockLang($id_cms_block, $block_name, $language['id_lang']); - } - } - - $cmsBoxes = Tools::getValue('cmsBox'); - if ($cmsBoxes) - { - foreach ($cmsBoxes as $cmsBox) - { - $cms_properties = explode('_', $cmsBox); - BlockCMSModel::insertCMSBlockPage($id_cms_block, $cms_properties[1], $cms_properties[0]); - } - } - - if (Tools::isSubmit('addBlockCMS')) - $redirect = 'addBlockCMSConfirmation'; - elseif (Tools::isSubmit('editBlockCMS')) - $redirect = 'editBlockCMSConfirmation'; - - Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules').'&'.$redirect); - } - elseif (Tools::isSubmit('deleteBlockCMS') && Tools::getValue('id_cms_block')) - { - $id_cms_block = Tools::getvalue('id_cms_block'); - - if ($id_cms_block) - { - BlockCMSModel::deleteCMSBlock((int)$id_cms_block); - BlockCMSModel::deleteCMSBlockPage((int)$id_cms_block); - - Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules').'&deleteBlockCMSConfirmation'); - } - else - $this->_html .= $this->displayError($this->l('Error: You are trying to delete a non-existing CMS block.')); - } - elseif (Tools::isSubmit('submitFooterCMS')) - { - $powered_by = Tools::getValue('cms_footer_powered_by_on') ? 1 : 0; - $footer_boxes = Tools::getValue('footerBox') ? implode('|', Tools::getValue('footerBox')) : ''; - $block_activation = (Tools::getValue('cms_footer_on') == 1) ? 1 : 0; - - Configuration::updateValue('PS_STORES_DISPLAY_FOOTER', Tools::getValue('PS_STORES_DISPLAY_FOOTER_on')); - Configuration::updateValue('FOOTER_CMS', rtrim($footer_boxes, '|')); - Configuration::updateValue('FOOTER_POWEREDBY', $powered_by); - Configuration::updateValue('FOOTER_BLOCK_ACTIVATION', $block_activation); - - Configuration::updateValue('FOOTER_PRICE-DROP', (int)Tools::getValue('cms_footer_display_price-drop_on')); - Configuration::updateValue('FOOTER_NEW-PRODUCTS', (int)Tools::getValue('cms_footer_display_new-products_on')); - Configuration::updateValue('FOOTER_BEST-SALES', (int)Tools::getValue('cms_footer_display_best-sales_on')); - Configuration::updateValue('FOOTER_CONTACT', (int)Tools::getValue('cms_footer_display_contact_on')); - Configuration::updateValue('FOOTER_SITEMAP', (int)Tools::getValue('cms_footer_display_sitemap_on')); - - $this->_html .= $this->displayConfirmation($this->l('Your footer information has been updated.')); - } - elseif (Tools::isSubmit('addBlockCMSConfirmation')) - $this->_html .= $this->displayConfirmation($this->l('CMS block added.')); - elseif (Tools::isSubmit('editBlockCMSConfirmation')) - $this->_html .= $this->displayConfirmation($this->l('CMS block edited.')); - elseif (Tools::isSubmit('deleteBlockCMSConfirmation')) - $this->_html .= $this->displayConfirmation($this->l('Deletion successful.')); - elseif (Tools::isSubmit('id_cms_block') && Tools::isSubmit('way') && Tools::isSubmit('position') && Tools::isSubmit('location')) - $this->changePosition(); - elseif (Tools::isSubmit('updatePositions')) - $this->updatePositionsDnd(); - if (count($this->_errors)) - { - foreach ($this->_errors as $err) - $this->_html .= '
    '.$err.'
    '; - } - } - - public function getContent() - { - $this->_html = ''; - $this->_postProcess(); - - if (Tools::isSubmit('addBlockCMS') || Tools::isSubmit('editBlockCMS')) - $this->displayAddForm(); - else - $this->displayForm(); - - return $this->_html; - } - - public function displayBlockCMS($column) - { - if (!$this->isCached('blockcms.tpl', $this->getCacheId($column))) - { - $cms_titles = BlockCMSModel::getCMSTitles($column); - - $this->smarty->assign(array( - 'block' => 1, - 'cms_titles' => $cms_titles, - 'contact_url' => (_PS_VERSION_ >= 1.5) ? 'contact' : 'contact-form' - )); - } - return $this->display(__FILE__, 'blockcms.tpl', $this->getCacheId($column)); - } - - protected function getCacheId($name = null) - { - return parent::getCacheId('blockcms|'.$name); - } - - public function hookActionAdminStoresControllerUpdate_optionsAfter() - { - if (Tools::getIsset('PS_STORES_DISPLAY_FOOTER')) - $this->_clearCache('blockcms.tpl'); - } - - public function hookActionObjectCmsUpdateAfter() - { - $this->_clearCache('blockcms.tpl'); - } - - public function hookActionObjectCmsDeleteAfter() - { - $this->_clearCache('blockcms.tpl'); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockcms.css', 'all'); - } - - public function hookLeftColumn() - { - return $this->displayBlockCMS(BlockCMSModel::LEFT_COLUMN); - } - - public function hookRightColumn() - { - return $this->displayBlockCMS(BlockCMSModel::RIGHT_COLUMN); - } - - public function hookFooter() - { - if (!($block_activation = Configuration::get('FOOTER_BLOCK_ACTIVATION'))) - return; - - if (!$this->isCached('blockcms.tpl', $this->getCacheId(BlockCMSModel::FOOTER))) - { - $display_poweredby = Configuration::get('FOOTER_POWEREDBY'); - $this->smarty->assign( - array( - 'block' => 0, - 'contact_url' => 'contact', - 'cmslinks' => BlockCMSModel::getCMSTitlesFooter(), - 'display_stores_footer' => Configuration::get('PS_STORES_DISPLAY_FOOTER'), - 'display_poweredby' => ((int)$display_poweredby === 1 || $display_poweredby === false), - 'footer_text' => Configuration::get('FOOTER_CMS_TEXT_'.(int)$this->context->language->id), - 'show_price_drop' => Configuration::get('FOOTER_PRICE-DROP'), - 'show_new_products' => Configuration::get('FOOTER_NEW-PRODUCTS'), - 'show_best_sales' => Configuration::get('FOOTER_BEST-SALES'), - 'show_contact' => Configuration::get('FOOTER_CONTACT'), - 'show_sitemap' => Configuration::get('FOOTER_SITEMAP') - ) - ); - } - return $this->display(__FILE__, 'blockcms.tpl', $this->getCacheId(BlockCMSModel::FOOTER)); - } - - protected function updatePositionsDnd() - { - if (Tools::getValue('cms_block_0')) - $positions = Tools::getValue('cms_block_0'); - elseif (Tools::getValue('cms_block_1')) - $positions = Tools::getValue('cms_block_1'); - else - $positions = array(); - - foreach ($positions as $position => $value) - { - $pos = explode('_', $value); - - if (isset($pos[2])) - BlockCMSModel::updateCMSBlockPosition($pos[2], $position); - } - } - - public function hookActionShopDataDuplication($params) - { - //get all cmd block to duplicate in new shop - $cms_blocks = Db::getInstance()->executeS(' - SELECT * FROM `'._DB_PREFIX_.'cms_block` cb - JOIN `'._DB_PREFIX_.'cms_block_shop` cbf - ON (cb.`id_cms_block` = cbf.`id_cms_block` AND cbf.`id_shop` = '.(int)$params['old_id_shop'].') '); - - if (count($cms_blocks)) - { - foreach ($cms_blocks as $cms_block) - { - Db::getInstance()->execute(' - INSERT IGNORE INTO '._DB_PREFIX_.'cms_block (`id_cms_block`, `id_cms_category`, `location`, `position`, `display_store`) - VALUES (NULL, '.(int)$cms_block['id_cms_category'].', '.(int)$cms_block['location'].', '.(int)$cms_block['position'].', '.(int)$cms_block['display_store'].');'); - - $id_block_cms = Db::getInstance()->Insert_ID(); - - Db::getInstance()->execute('INSERT IGNORE INTO '._DB_PREFIX_.'cms_block_shop (`id_cms_block`, `id_shop`) VALUES ('.(int)$id_block_cms.', '.(int)$params['new_id_shop'].');'); - - $langs = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'cms_block_lang` WHERE `id_cms_block` = '.(int)$cms_block['id_cms_block']); - - foreach($langs as $lang) - Db::getInstance()->execute(' - INSERT IGNORE INTO `'._DB_PREFIX_.'cms_block_lang` (`id_cms_block`, `id_lang`, `name`) - VALUES ('.(int)$id_block_cms.', '.(int)$lang['id_lang'].', \''.pSQL($lang['name']).'\');'); - - $pages = Db::getInstance()->executeS('SELECT * FROM `'._DB_PREFIX_.'cms_block_page` WHERE `id_cms_block` = '.(int)$cms_block['id_cms_block']); - - foreach($pages as $page) - Db::getInstance()->execute(' - INSERT IGNORE INTO `'._DB_PREFIX_.'cms_block_page` (`id_cms_block_page`, `id_cms_block`, `id_cms`, `is_category`) - VALUES (NULL, '.(int)$id_block_cms.', '.(int)$page['id_cms'].', '.(int)$page['is_category'].');'); - } - } - } -} diff --git a/modules/blockcms/blockcms.tpl b/modules/blockcms/blockcms.tpl deleted file mode 100644 index dcf05e487..000000000 --- a/modules/blockcms/blockcms.tpl +++ /dev/null @@ -1,108 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{if $block == 1} - - {foreach from=$cms_titles key=cms_key item=cms_title} -
    -

    - {if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if} -

    - -
    - {/foreach} - -{else} - - - -{/if} diff --git a/modules/blockcms/img/arrow_right_2.png b/modules/blockcms/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f..000000000 Binary files a/modules/blockcms/img/arrow_right_2.png and /dev/null differ diff --git a/modules/blockcms/img/index.php b/modules/blockcms/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/index.php b/modules/blockcms/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/logo.gif b/modules/blockcms/logo.gif deleted file mode 100644 index 12cd1aef9..000000000 Binary files a/modules/blockcms/logo.gif and /dev/null differ diff --git a/modules/blockcms/logo.png b/modules/blockcms/logo.png deleted file mode 100644 index 8c90922f4..000000000 Binary files a/modules/blockcms/logo.png and /dev/null differ diff --git a/modules/blockcms/translations/index.php b/modules/blockcms/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/upgrade/install-1.3.php b/modules/blockcms/upgrade/install-1.3.php deleted file mode 100644 index 7dd09eeec..000000000 --- a/modules/blockcms/upgrade/install-1.3.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('actionObjectCmsUpdateAfter') && $object->registerHook('actionObjectCmsDeleteAfter')); -} diff --git a/modules/blockcms/upgrade/install-1.4.php b/modules/blockcms/upgrade/install-1.4.php deleted file mode 100644 index 9702660d9..000000000 --- a/modules/blockcms/upgrade/install-1.4.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('actionAdminStoresControllerUpdate_optionsAfter')); -} diff --git a/modules/blockcms/views/index.php b/modules/blockcms/views/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/views/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl b/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl deleted file mode 100644 index f0077d0e8..000000000 --- a/modules/blockcms/views/templates/admin/_configure/helpers/form/form.tpl +++ /dev/null @@ -1,222 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{extends file="helpers/form/form.tpl"} - -{block name="label"} - {if $input.type == 'cms_blocks'} - - {else} - {$smarty.block.parent} - {/if} -{/block} - -{block name="legend"} -

    - {if isset($field.image)}{$field.title|escape:'html':'UTF-8'}{/if} - {if isset($field.icon)}{/if} - {$field.title} - - {foreach from=$toolbar_btn item=btn key=k} - {if $k != 'modules-list' && $k != 'back'} - - - - - - {/if} - {/foreach} - -

    -{/block} - -{block name="input"} - {if $input.type == 'select_category'} - {function name=render_select level=0} - {foreach $items as $item} - {if (isset($item['id_cms_category']))} - - {if isset($item['sub_categories']) && count($item['sub_categories']) > 0} - {call name=render_select items=$item['sub_categories'] level=$level+1} - {/if} - {/if} - {/foreach} - {/function} - {if isset($input.options.query) && count($input.options.query) > 0} - {assign var=categories value=$input.options.query} - - {/if} - {else} - {$smarty.block.parent} - {/if} -{/block} - -{block name="input_row"} - {if $input.type == 'cms_blocks'} -
    - - {assign var=cms_blocks_positions value=$input.values} - {if isset($cms_blocks_positions) && count($cms_blocks_positions) > 0} - {foreach $cms_blocks_positions as $key => $cms_blocks_position} -
    -
    -
    - {if $key == 0} - {l s='Left blocks' mod='blockcms'} - {else} - {l s='Right blocks' mod='blockcms'} - {/if} -
    - - - - - - - - - - - - {foreach $cms_blocks_position as $key => $cms_block} - - - - - - - - {/foreach} - -
    {l s='ID' mod='blockcms'}{l s='Name of the block' mod='blockcms'}{l s='Category name' mod='blockcms'}{l s='Position' mod='blockcms'}
    {$cms_block['id_cms_block']}{$cms_block['block_name']}{$cms_block['category_name']} -
    -
    - {$cms_block['position'] + 1} -
    -
    -
    - -
    -
    -
    - {/foreach} - {/if} -
    - - {elseif $input.type == 'cms_pages'} - - {assign var=cms value=$input.values} - {if isset($cms) && count($cms) > 0} -
    -
    -
    -
    - {$input.label} -
    - - - - - - - - - - {foreach $cms as $key => $cms_category} - - - - - - {foreach $cms_category['cms_pages'] as $subkey => $cms_page} - - - - - - {/foreach} - {/foreach} - -
    - - {l s='ID' mod='blockcms'}{l s='Name' mod='blockcms'}
    - {assign var=id_checkbox value=1|cat:'_'|cat:$cms_category['id_cms_category']} - - - {$cms_category['id_cms_category']} - - -
    - {assign var=id_checkbox value=0|cat:'_'|cat:$cms_page['id_cms']} - - - {$cms_page['id_cms']} - - -
    -
    -
    -
    - {else} -

    {l s='No pages have been created.' mod='blockcms'}

    - {/if} - {else} - {$smarty.block.parent} - {/if} -{/block} diff --git a/modules/blockcms/views/templates/admin/_configure/helpers/form/index.php b/modules/blockcms/views/templates/admin/_configure/helpers/form/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/views/templates/admin/_configure/helpers/form/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/views/templates/admin/_configure/helpers/index.php b/modules/blockcms/views/templates/admin/_configure/helpers/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/views/templates/admin/_configure/helpers/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/views/templates/admin/_configure/index.php b/modules/blockcms/views/templates/admin/_configure/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/views/templates/admin/_configure/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/views/templates/admin/index.php b/modules/blockcms/views/templates/admin/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/views/templates/admin/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcms/views/templates/index.php b/modules/blockcms/views/templates/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcms/views/templates/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcmsinfo/CHANGELOG.txt b/modules/blockcmsinfo/CHANGELOG.txt deleted file mode 100644 index 3e2b74c56..000000000 --- a/modules/blockcmsinfo/CHANGELOG.txt +++ /dev/null @@ -1,10 +0,0 @@ -2014-04-22 18:57:01 +0200 // Changelog updated -2014-04-07 10:12:29 +0200 [-] MO : blockcmsinfo - Encoding restitution issue #PSCSX-1554 fixed -2014-03-31 17:59:54 +0200 [-] MO : blockcmsinfo : now only show current shop custom block -2014-03-24 17:23:58 +0100 // backquotes -2014-03-24 17:05:05 +0100 // blockcmsinfo : displa & secu fix -2014-03-24 12:30:34 +0100 Merge branch 'master' of https://github.com/PrestaShop/blockcmsinfo -2014-03-24 12:28:49 +0100 // blockcmsinfo : missing buttons -2014-03-24 11:43:28 +0100 / MO blockcmsinfo : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:01:40 +0100 / MO blockcmsinfo : ps_versions_compliancy added -2014-03-20 14:21:06 +0100 Initial commit diff --git a/modules/blockcmsinfo/blockcmsinfo.php b/modules/blockcmsinfo/blockcmsinfo.php deleted file mode 100644 index 421e58cad..000000000 --- a/modules/blockcmsinfo/blockcmsinfo.php +++ /dev/null @@ -1,413 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -require_once _PS_MODULE_DIR_.'blockcmsinfo/classes/InfoBlock.php'; - -class Blockcmsinfo extends Module -{ - public $html = ''; - - public function __construct() - { - $this->name = 'blockcmsinfo'; - $this->tab = 'front_office_features'; - $this->version = '1.6.1'; - $this->author = 'PrestaShop'; - $this->bootstrap = true; - $this->need_instance = 0; - - parent::__construct(); - - $this->displayName = $this->l('Custom CMS information block'); - $this->description = $this->l('Adds custom information blocks in your store.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - return parent::install() && - $this->installDB() && - $this->registerHook('home') && - $this->installFixtures() && - $this->disableDevice(Context::DEVICE_TABLET | Context::DEVICE_MOBILE); - } - - public function installDB() - { - $return = true; - $return &= Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'info` ( - `id_info` INT UNSIGNED NOT NULL AUTO_INCREMENT, - `id_shop` int(10) unsigned DEFAULT NULL, - PRIMARY KEY (`id_info`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 ;' - ); - - $return &= Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'info_lang` ( - `id_info` INT UNSIGNED NOT NULL, - `id_lang` int(10) unsigned NOT NULL , - `text` text NOT NULL, - PRIMARY KEY (`id_info`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 ;' - ); - - return $return; - } - - public function uninstall() - { - return parent::uninstall() && $this->uninstallDB(); - } - - public function uninstallDB($drop_table = true) - { - $ret = true; - if($drop_table) - $ret &= Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'info`') && Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'info_lang`'); - - return $ret; - } - - public function getContent() - { - $id_info = (int)Tools::getValue('id_info'); - - if (Tools::isSubmit('saveblockcmsinfo')) - { - if (!Tools::getValue('text_'.(int)Configuration::get('PS_LANG_DEFAULT'), false)) - return $this->html . $this->displayError($this->l('You must fill in all fields.')) . $this->renderForm(); - elseif ($this->processSaveCmsInfo()) - return $this->html . $this->renderList(); - else - return $this->html . $this->renderForm(); - } - elseif (Tools::isSubmit('updateblockcmsinfo') || Tools::isSubmit('addblockcmsinfo')) - { - $this->html .= $this->renderForm(); - return $this->html; - } - else if (Tools::isSubmit('deleteblockcmsinfo')) - { - $info = new InfoBlock((int)$id_info); - $info->delete(); - $this->_clearCache('blockcmsinfo.tpl'); - Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules')); - } - else - { - $this->html .= $this->renderList(); - return $this->html; - } - - } - - public function processSaveCmsInfo() - { - if ($id_info = Tools::getValue('id_info')) - $info = new InfoBlock((int)$id_info); - else - { - $info = new InfoBlock(); - if (Shop::isFeatureActive()) - { - $shop_ids = Tools::getValue('checkBoxShopAsso_configuration'); - if (!$shop_ids) - { - $this->html .= '
    '.$this->l('You have to select at least one shop.').'
    '; - return false; - } - } - else - $info->id_shop = Shop::getContextShopID(); - } - - $languages = Language::getLanguages(false); - $text = array(); - foreach ($languages AS $lang) - $text[$lang['id_lang']] = Tools::getValue('text_'.$lang['id_lang']); - $info->text = $text; - - if (Shop::isFeatureActive() && !$info->id_shop) - { - $saved = true; - foreach ($shop_ids as $id_shop) - { - $info->id_shop = $id_shop; - $saved &= $info->add(); - } - } - else - $saved = $info->save(); - - if ($saved) - $this->_clearCache('blockcmsinfo.tpl'); - else - $this->html .= '
    '.$this->l('An error occurred while attempting to save.').'
    '; - - return $saved; - } - - - protected function renderForm() - { - $default_lang = (int)Configuration::get('PS_LANG_DEFAULT'); - - $fields_form = array( - 'tinymce' => true, - 'legend' => array( - 'title' => $this->l('New custom CMS block'), - ), - 'input' => array( - 'id_info' => array( - 'type' => 'hidden', - 'name' => 'id_info' - ), - 'content' => array( - 'type' => 'textarea', - 'label' => $this->l('Text'), - 'lang' => true, - 'name' => 'text', - 'cols' => 40, - 'rows' => 10, - 'class' => 'rte', - 'autoload_rte' => true, - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ), - 'buttons' => array( - array( - 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), - 'title' => $this->l('Back to list'), - 'icon' => 'process-icon-back' - ) - ) - ); - - if (Shop::isFeatureActive() && Tools::getValue('id_info') == false) - { - $fields_form['input'][] = array( - 'type' => 'shop', - 'label' => $this->l('Shop association'), - 'name' => 'checkBoxShopAsso_theme' - ); - } - - - $helper = new HelperForm(); - $helper->module = $this; - $helper->name_controller = 'blockcmsinfo'; - $helper->identifier = $this->identifier; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - foreach (Language::getLanguages(false) as $lang) - $helper->languages[] = array( - 'id_lang' => $lang['id_lang'], - 'iso_code' => $lang['iso_code'], - 'name' => $lang['name'], - 'is_default' => ($default_lang == $lang['id_lang'] ? 1 : 0) - ); - - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - $helper->default_form_language = $default_lang; - $helper->allow_employee_form_lang = $default_lang; - $helper->toolbar_scroll = true; - $helper->title = $this->displayName; - $helper->submit_action = 'saveblockcmsinfo'; - - $helper->fields_value = $this->getFormValues(); - - return $helper->generateForm(array(array('form' => $fields_form))); - } - - protected function renderList() - { - $this->fields_list = array(); - $this->fields_list['id_info'] = array( - 'title' => $this->l('Block ID'), - 'type' => 'text', - 'search' => false, - 'orderby' => false, - ); - - if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP) - $this->fields_list['shop_name'] = array( - 'title' => $this->l('Shop'), - 'type' => 'text', - 'search' => false, - 'orderby' => false, - ); - - $this->fields_list['text'] = array( - 'title' => $this->l('Block text'), - 'type' => 'text', - 'search' => false, - 'orderby' => false, - ); - - $helper = new HelperList(); - $helper->shopLinkType = ''; - $helper->simple_header = false; - $helper->identifier = 'id_info'; - $helper->actions = array('edit', 'delete'); - $helper->show_toolbar = true; - $helper->imageType = 'jpg'; - $helper->toolbar_btn['new'] = array( - 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&add'.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), - 'desc' => $this->l('Add new') - ); - - $helper->title = $this->displayName; - $helper->table = $this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - - $content = $this->getListContent($this->context->language->id); - - return $helper->generateList($content, $this->fields_list); - } - - protected function getListContent($id_lang = null) - { - if (is_null($id_lang)) - $id_lang = (int)Configuration::get('PS_LANG_DEFAULT'); - - $sql = 'SELECT r.`id_info`, rl.`text`, s.`name` as shop_name - FROM `'._DB_PREFIX_.'info` r - LEFT JOIN `'._DB_PREFIX_.'info_lang` rl ON (r.`id_info` = rl.`id_info`) - LEFT JOIN `'._DB_PREFIX_.'shop` s ON (r.`id_shop` = s.`id_shop`) - WHERE `id_lang` = '.(int)$id_lang.' AND ('; - - if ($shop_ids = Shop::getContextListShopID()) - foreach ($shop_ids as $id_shop) - $sql .= ' r.`id_shop` = '.(int)$id_shop.' OR '; - - $sql .= ' r.`id_shop` = 0 )'; - - $content = Db::getInstance()->executeS($sql); - - foreach ($content as $key => $value) - $content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); - - return $content; - } - - public function getFormValues() - { - $fields_value = array(); - $id_info = (int)Tools::getValue('id_info'); - - foreach (Language::getLanguages(false) as $lang) - if ($id_info) - { - $info = new InfoBlock((int)$id_info); - $fields_value['text'][(int)$lang['id_lang']] = $info->text[(int)$lang['id_lang']]; - } - else - $fields_value['text'][(int)$lang['id_lang']] = Tools::getValue('text_'.(int)$lang['id_lang'], ''); - - $fields_value['id_info'] = $id_info; - - return $fields_value; - } - - public function hookHome($params) - { - $this->context->controller->addCSS($this->_path.'style.css', 'all'); - if (!$this->isCached('blockcmsinfo.tpl', $this->getCacheId())) - { - $infos = $this->getInfos($this->context->language->id, $this->context->shop->id); - $this->context->smarty->assign(array('infos' => $infos, 'nbblocks' => count($infos))); - } - - return $this->display(__FILE__, 'blockcmsinfo.tpl', $this->getCacheId()); - } - - public function getInfos($id_lang, $id_shop) - { - $sql = 'SELECT r.`id_info`, r.`id_shop`, rl.`text` - FROM `'._DB_PREFIX_.'info` r - LEFT JOIN `'._DB_PREFIX_.'info_lang` rl ON (r.`id_info` = rl.`id_info`) - WHERE `id_lang` = '.(int)$id_lang.' AND `id_shop` = '.(int)$id_shop; - - return Db::getInstance()->executeS($sql); - } - - public function installFixtures() - { - $return = true; - $tab_texts = array( - array( - 'text' => '
      -
    • -
      -

      Lorem Ipsum

      -

      Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu

      -
      -
    • -
    • -
      -

      Dolor Sit Amet

      -

      Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu

      -
      -
    • -
    • -
      -

      Ctetur Voluptate

      -

      Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu

      -
      -
    • -
    ' - ), - array( - 'text' => '

    Custom Block

    -

    Lorem ipsum dolor sit amet conse ctetu

    -

    Sit amet conse ctetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit.

    ' - ), - ); - - $shops_ids = Shop::getShops(true, null, true); - $return = true; - foreach ($tab_texts as $tab) - { - $info = new InfoBlock(); - foreach (Language::getLanguages(false) as $lang) - $info->text[$lang['id_lang']] = $tab['text']; - foreach ($shops_ids as $id_shop) - { - $info->id_shop = $id_shop; - $return &= $info->add(); - } - } - - return $return; - } -} diff --git a/modules/blockcmsinfo/blockcmsinfo.tpl b/modules/blockcmsinfo/blockcmsinfo.tpl deleted file mode 100644 index 13b8d4fc6..000000000 --- a/modules/blockcmsinfo/blockcmsinfo.tpl +++ /dev/null @@ -1,33 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -{if $infos|@count > 0} - -
    - {foreach from=$infos item=info} -
    {$info.text}
    - {/foreach} -
    - -{/if} \ No newline at end of file diff --git a/modules/blockcmsinfo/classes/InfoBlock.php b/modules/blockcmsinfo/classes/InfoBlock.php deleted file mode 100644 index cc5a25de1..000000000 --- a/modules/blockcmsinfo/classes/InfoBlock.php +++ /dev/null @@ -1,49 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -class InfoBlock extends ObjectModel -{ - public $id; - - public $id_shop; - - public $text; - - /** - * @see ObjectModel::$definition - */ - public static $definition = array( - 'table' => 'info', - 'primary' => 'id_info', - 'multilang' => true, - 'fields' => array( - 'id_shop' => array('type' => self::TYPE_NOTHING, 'validate' => 'isUnsignedId'), - // Lang fields - 'text' => array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml', 'required' => true), - ) - ); - -} diff --git a/modules/blockcmsinfo/index.php b/modules/blockcmsinfo/index.php deleted file mode 100644 index da793c6b5..000000000 --- a/modules/blockcmsinfo/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcmsinfo/logo.gif b/modules/blockcmsinfo/logo.gif deleted file mode 100644 index b29d6badd..000000000 Binary files a/modules/blockcmsinfo/logo.gif and /dev/null differ diff --git a/modules/blockcmsinfo/logo.png b/modules/blockcmsinfo/logo.png deleted file mode 100644 index 326506faf..000000000 Binary files a/modules/blockcmsinfo/logo.png and /dev/null differ diff --git a/modules/blockcmsinfo/style.css b/modules/blockcmsinfo/style.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/modules/blockcmsinfo/translations/index.php b/modules/blockcmsinfo/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcmsinfo/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontact/CHANGELOG.txt b/modules/blockcontact/CHANGELOG.txt deleted file mode 100644 index b18cba2ee..000000000 --- a/modules/blockcontact/CHANGELOG.txt +++ /dev/null @@ -1,5 +0,0 @@ -2014-04-22 18:57:04 +0200 // Changelog updated -2014-03-24 12:18:44 +0100 [*] MO : Remove "toll free" from blockcontact strings. -2014-03-24 11:43:28 +0100 / MO blockcontact : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:01:44 +0100 / MO blockcontact : ps_versions_compliancy added -2014-03-20 14:21:10 +0100 Initial commit diff --git a/modules/blockcontact/blockcontact.css b/modules/blockcontact/blockcontact.css deleted file mode 100644 index 92260328b..000000000 --- a/modules/blockcontact/blockcontact.css +++ /dev/null @@ -1,39 +0,0 @@ -/* block CONTACT ******************************************************************************* */ -#contact_block .block_content { - padding:10px 0 15px 0; - background: url(images/block_contact_bg.jpg) no-repeat left bottom transparent -} - -#contact_block p { - padding:0 5px 15px 5px; - font-size: 13px; - line-height: 18px -} - -#contact_block .title_block, #contact_block h4 { - padding:6px 11px; - font-size: 12px; - line-height: auto -} -#contact_block p.tel { - margin:0 0 0 60px; - padding-left: 26px; - font: bold 11px/20px Arial, Verdana, sans-serif; - background: url(images/block_contact_pict_tel.png) no-repeat 0 0 transparent -} -#contact_block a { - display:block; - margin-left:60px; - padding:6px 8px; - font:bold 10px Arial,Verdana,sans-serif; - color:#fff; - text-shadow:0 -1px 0 #000; - text-transform:uppercase; - -moz-border-radius:3px; - -webkit-border-radius:3px; - border-radius:3px; - background:url(images/bloc_contact_a_bg.png) repeat-x 0 0 #000 -} -#contact_block a:hover {text-decoration:none} - -#contact_block .label {display: none} diff --git a/modules/blockcontact/blockcontact.php b/modules/blockcontact/blockcontact.php deleted file mode 100644 index 00d11bb7e..000000000 --- a/modules/blockcontact/blockcontact.php +++ /dev/null @@ -1,168 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_CAN_LOAD_FILES_')) - exit; - -class Blockcontact extends Module -{ - public function __construct() - { - $this->name = 'blockcontact'; - $this->author = 'PrestaShop'; - $this->tab = 'front_office_features'; - $this->version = '1.4.1'; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Contact block'); - $this->description = $this->l('Allows you to add additional information about your store\'s customer service.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - return parent::install() - && Configuration::updateValue('BLOCKCONTACT_TELNUMBER', '') - && Configuration::updateValue('BLOCKCONTACT_EMAIL', '') - && $this->registerHook('displayNav') - && $this->registerHook('displayHeader'); - } - - public function uninstall() - { - // Delete configuration - return Configuration::deleteByName('BLOCKCONTACT_TELNUMBER') && Configuration::deleteByName('BLOCKCONTACT_EMAIL') && parent::uninstall(); - } - - public function getContent() - { - $html = ''; - // If we try to update the settings - if (Tools::isSubmit('submitModule')) - { - Configuration::updateValue('BLOCKCONTACT_TELNUMBER', Tools::getValue('blockcontact_telnumber')); - Configuration::updateValue('BLOCKCONTACT_EMAIL', Tools::getValue('blockcontact_email')); - $this->_clearCache('blockcontact.tpl'); - $this->_clearCache('nav.tpl'); - $html .= $this->displayConfirmation($this->l('Configuration updated')); - } - - $html .= $this->renderForm(); - - return $html; - } - - public function hookDisplayHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockcontact.css', 'all'); - } - - public function hookDisplayRightColumn($params) - { - global $smarty; - $tpl = 'blockcontact'; - if (isset($params['blockcontact_tpl']) && $params['blockcontact_tpl']) - $tpl = $params['blockcontact_tpl']; - if (!$this->isCached($tpl.'.tpl', $this->getCacheId())) - $smarty->assign(array( - 'telnumber' => Configuration::get('BLOCKCONTACT_TELNUMBER'), - 'email' => Configuration::get('BLOCKCONTACT_EMAIL') - )); - return $this->display(__FILE__, $tpl.'.tpl', $this->getCacheId()); - } - - public function hookDisplayLeftColumn($params) - { - return $this->hookDisplayRightColumn($params); - } - - public function hookDisplayNav($params) - { - $params['blockcontact_tpl'] = 'nav'; - return $this->hookDisplayRightColumn($params); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'description' => $this->l('This block displays in the header your phone number (‘Call us now’), and a link to the ‘Contact us’ page.').'

    '. - $this->l('To edit the email addresses for the ‘Contact us’ page: you should go to the ‘Contacts’ page under the ‘Customer’ menu.').'
    '. - $this->l('To edit the contact details in the footer: you should go to the ‘Contact Information Block’ module.'), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Telephone number'), - 'name' => 'blockcontact_telnumber', - ), - array( - 'type' => 'text', - 'label' => $this->l('Email'), - 'name' => 'blockcontact_email', - 'desc' => $this->l('Enter here your customer service contact details.'), - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitModule'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'blockcontact_telnumber' => Tools::getValue('blockcontact_telnumber', Configuration::get('BLOCKCONTACT_TELNUMBER')), - 'blockcontact_email' => Tools::getValue('blockcontact_email', Configuration::get('BLOCKCONTACT_EMAIL')), - ); - } -} diff --git a/modules/blockcontact/blockcontact.tpl b/modules/blockcontact/blockcontact.tpl deleted file mode 100644 index b50b92e00..000000000 --- a/modules/blockcontact/blockcontact.tpl +++ /dev/null @@ -1,33 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -
    -

    {l s='Contact us' mod='blockcontact'}

    -
    -

    {l s='Our support hotline is available 24/7.' mod='blockcontact'}

    - {if $telnumber != ''}

    {l s='Phone:' mod='blockcontact'}{$telnumber|escape:'html':'UTF-8'}

    {/if} - {if $email != ''}{l s='Contact our expert support team!' mod='blockcontact'}{/if} -
    -
    diff --git a/modules/blockcontact/images/bloc_contact_a_bg.png b/modules/blockcontact/images/bloc_contact_a_bg.png deleted file mode 100644 index 57f5fce31..000000000 Binary files a/modules/blockcontact/images/bloc_contact_a_bg.png and /dev/null differ diff --git a/modules/blockcontact/images/block_contact_bg.jpg b/modules/blockcontact/images/block_contact_bg.jpg deleted file mode 100644 index 4e4245cb6..000000000 Binary files a/modules/blockcontact/images/block_contact_bg.jpg and /dev/null differ diff --git a/modules/blockcontact/images/block_contact_pict_tel.png b/modules/blockcontact/images/block_contact_pict_tel.png deleted file mode 100644 index c0de09cdc..000000000 Binary files a/modules/blockcontact/images/block_contact_pict_tel.png and /dev/null differ diff --git a/modules/blockcontact/images/index.php b/modules/blockcontact/images/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcontact/images/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontact/img/bloc_contact_a_bg.png b/modules/blockcontact/img/bloc_contact_a_bg.png deleted file mode 100644 index 57f5fce31..000000000 Binary files a/modules/blockcontact/img/bloc_contact_a_bg.png and /dev/null differ diff --git a/modules/blockcontact/img/block_contact_bg.jpg b/modules/blockcontact/img/block_contact_bg.jpg deleted file mode 100644 index 4e4245cb6..000000000 Binary files a/modules/blockcontact/img/block_contact_bg.jpg and /dev/null differ diff --git a/modules/blockcontact/img/block_contact_pict_tel.png b/modules/blockcontact/img/block_contact_pict_tel.png deleted file mode 100644 index c0de09cdc..000000000 Binary files a/modules/blockcontact/img/block_contact_pict_tel.png and /dev/null differ diff --git a/modules/blockcontact/img/index.php b/modules/blockcontact/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcontact/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontact/index.php b/modules/blockcontact/index.php deleted file mode 100644 index da793c6b5..000000000 --- a/modules/blockcontact/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontact/logo.gif b/modules/blockcontact/logo.gif deleted file mode 100644 index 55c1ad665..000000000 Binary files a/modules/blockcontact/logo.gif and /dev/null differ diff --git a/modules/blockcontact/logo.png b/modules/blockcontact/logo.png deleted file mode 100644 index 7a46f4456..000000000 Binary files a/modules/blockcontact/logo.png and /dev/null differ diff --git a/modules/blockcontact/nav.tpl b/modules/blockcontact/nav.tpl deleted file mode 100644 index 39a4d022c..000000000 --- a/modules/blockcontact/nav.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{if $telnumber} - - {l s='Call us now:' mod='blockcontact'} {$telnumber} - -{/if} diff --git a/modules/blockcontact/translations/index.php b/modules/blockcontact/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcontact/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontact/upgrade/install-1.1.php b/modules/blockcontact/upgrade/install-1.1.php deleted file mode 100644 index 3a1b50f05..000000000 --- a/modules/blockcontact/upgrade/install-1.1.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('displayNav')); -} diff --git a/modules/blockcontactinfos/CHANGELOG.txt b/modules/blockcontactinfos/CHANGELOG.txt deleted file mode 100644 index a5b15f478..000000000 --- a/modules/blockcontactinfos/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:06 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockcontactinfos : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:01:54 +0100 // MO blockcontactinfos/ : ps_versions_compliancy added -2014-03-20 14:22:32 +0100 Initial commit diff --git a/modules/blockcontactinfos/blockcontactinfos.php b/modules/blockcontactinfos/blockcontactinfos.php deleted file mode 100644 index d0c0847f7..000000000 --- a/modules/blockcontactinfos/blockcontactinfos.php +++ /dev/null @@ -1,156 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_CAN_LOAD_FILES_')) - exit; - -class Blockcontactinfos extends Module -{ - protected static $contact_fields = array( - 'BLOCKCONTACTINFOS_COMPANY', - 'BLOCKCONTACTINFOS_ADDRESS', - 'BLOCKCONTACTINFOS_PHONE', - 'BLOCKCONTACTINFOS_EMAIL', - ); - - public function __construct() - { - $this->name = 'blockcontactinfos'; - $this->author = 'PrestaShop'; - $this->tab = 'front_office_features'; - $this->version = '1.2.1'; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Contact information block'); - $this->description = $this->l('This module will allow you to display your e-store\'s contact information in a customizable block.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - Configuration::updateValue('BLOCKCONTACTINFOS_COMPANY', Configuration::get('PS_SHOP_NAME')); - Configuration::updateValue('BLOCKCONTACTINFOS_ADDRESS', trim(preg_replace('/ +/', ' ', Configuration::get('PS_SHOP_ADDR1').' '.Configuration::get('PS_SHOP_ADDR2')."\n".Configuration::get('PS_SHOP_CODE').' '.Configuration::get('PS_SHOP_CITY')."\n".Country::getNameById(Configuration::get('PS_LANG_DEFAULT'), Configuration::get('PS_SHOP_COUNTRY_ID'))))); - Configuration::updateValue('BLOCKCONTACTINFOS_PHONE', Configuration::get('PS_SHOP_PHONE')); - Configuration::updateValue('BLOCKCONTACTINFOS_EMAIL', Configuration::get('PS_SHOP_EMAIL')); - $this->_clearCache('blockcontactinfos.tpl'); - return (parent::install() && $this->registerHook('header') && $this->registerHook('footer')); - } - - public function uninstall() - { - foreach (Blockcontactinfos::$contact_fields as $field) - Configuration::deleteByName($field); - return (parent::uninstall()); - } - - public function getContent() - { - $html = ''; - if (Tools::isSubmit('submitModule')) - { - foreach (Blockcontactinfos::$contact_fields as $field) - Configuration::updateValue($field, Tools::getValue($field)); - $this->_clearCache('blockcontactinfos.tpl'); - $html = $this->displayConfirmation($this->l('Configuration updated')); - } - - return $html.$this->renderForm(); - } - - public function hookHeader() - { - $this->context->controller->addCSS(($this->_path).'blockcontactinfos.css', 'all'); - } - - public function hookFooter($params) - { - if (!$this->isCached('blockcontactinfos.tpl', $this->getCacheId())) - foreach (Blockcontactinfos::$contact_fields as $field) - $this->smarty->assign(strtolower($field), Configuration::get($field)); - return $this->display(__FILE__, 'blockcontactinfos.tpl', $this->getCacheId()); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Company name'), - 'name' => 'BLOCKCONTACTINFOS_COMPANY', - ), - array( - 'type' => 'textarea', - 'label' => $this->l('Address'), - 'name' => 'BLOCKCONTACTINFOS_ADDRESS', - ), - array( - 'type' => 'text', - 'label' => $this->l('Phone number'), - 'name' => 'BLOCKCONTACTINFOS_PHONE', - ), - array( - 'type' => 'text', - 'label' => $this->l('Email'), - 'name' => 'BLOCKCONTACTINFOS_EMAIL', - ), - ), - 'submit' => array( - 'title' => $this->l('Save') - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitModule'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => array(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - foreach (Blockcontactinfos::$contact_fields as $field) - $helper->tpl_vars['fields_value'][$field] = Tools::getValue($field, Configuration::get($field)); - return $helper->generateForm(array($fields_form)); - } -} diff --git a/modules/blockcontactinfos/blockcontactinfos.tpl b/modules/blockcontactinfos/blockcontactinfos.tpl deleted file mode 100644 index 6e585fba2..000000000 --- a/modules/blockcontactinfos/blockcontactinfos.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
    -

    {l s='Contact us' mod='blockcontactinfos'}

    -
      - {if $blockcontactinfos_company != ''}
    • {$blockcontactinfos_company|escape:'html':'UTF-8'}
    • {/if} - {if $blockcontactinfos_address != ''}
    • {$blockcontactinfos_address|escape:'html':'UTF-8'|nl2br}
    • {/if} - {if $blockcontactinfos_phone != ''}
    • {l s='Tel' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'html':'UTF-8'}
    • {/if} - {if $blockcontactinfos_email != ''}
    • {l s='Email:' mod='blockcontactinfos'} {mailto address=$blockcontactinfos_email|escape:'html':'UTF-8' encode="hex"}
    • {/if} -
    -
    - diff --git a/modules/blockcontactinfos/index.php b/modules/blockcontactinfos/index.php deleted file mode 100644 index da793c6b5..000000000 --- a/modules/blockcontactinfos/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontactinfos/logo.gif b/modules/blockcontactinfos/logo.gif deleted file mode 100644 index 15471afd4..000000000 Binary files a/modules/blockcontactinfos/logo.gif and /dev/null differ diff --git a/modules/blockcontactinfos/logo.png b/modules/blockcontactinfos/logo.png deleted file mode 100644 index 5c773abd1..000000000 Binary files a/modules/blockcontactinfos/logo.png and /dev/null differ diff --git a/modules/blockcontactinfos/translations/index.php b/modules/blockcontactinfos/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcontactinfos/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcontactinfos/upgrade/install-1.1.2.php b/modules/blockcontactinfos/upgrade/install-1.1.2.php deleted file mode 100644 index e130723ff..000000000 --- a/modules/blockcontactinfos/upgrade/install-1.1.2.php +++ /dev/null @@ -1,10 +0,0 @@ -execute('UPDATE '._DB_PREFIX_.'configuration SET `name` = UPPER(`name`) WHERE `name` LIKE "BLOCKCONTACTINFOS\_%"'); - return true; -} diff --git a/modules/blockcustomerprivacy/CHANGELOG.txt b/modules/blockcustomerprivacy/CHANGELOG.txt deleted file mode 100644 index 9125899a1..000000000 --- a/modules/blockcustomerprivacy/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:11 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockcustomerprivacy : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:09 +0100 // MO blockcustomerprivacy/ : ps_versions_compliancy added -2014-03-20 14:22:37 +0100 Initial commit diff --git a/modules/blockcustomerprivacy/blockcustomerprivacy-simple.tpl b/modules/blockcustomerprivacy/blockcustomerprivacy-simple.tpl deleted file mode 100644 index 5085d18e9..000000000 --- a/modules/blockcustomerprivacy/blockcustomerprivacy-simple.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -
    -

    {$privacy_message}

    -
    diff --git a/modules/blockcustomerprivacy/blockcustomerprivacy.php b/modules/blockcustomerprivacy/blockcustomerprivacy.php deleted file mode 100644 index ab4a23053..000000000 --- a/modules/blockcustomerprivacy/blockcustomerprivacy.php +++ /dev/null @@ -1,272 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class Blockcustomerprivacy extends Module -{ - public function __construct() - { - $this->name = 'blockcustomerprivacy'; - if (version_compare(_PS_VERSION_, '1.4.0.0') >= 0) - $this->tab = 'front_office_features'; - else - $this->tab = 'Blocks'; - $this->version = '2.0.2'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Customer data privacy block'); - $this->description = $this->l('Adds a block displaying a message about a customer\'s privacy data.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - - $this->_html = ''; - } - - public function install() - { - $return = (parent::install() - && $this->registerHook('createAccountForm') - && $this->registerHook('displayCustomerIdentityForm') - && $this->registerHook('actionBeforeSubmitAccount')); - - include 'fixtures.php'; // get Fixture array - $languages = Language::getLanguages(); - $conf_keys = array('CUSTPRIV_MSG_AUTH', 'CUSTPRIV_MSG_IDENTITY'); - foreach ($conf_keys as $conf_key) - foreach ($languages as $lang) - { - if (isset($fixtures[$conf_key][$lang['language_code']])) - Configuration::updateValue($conf_key, array( - $lang['id_lang'] => $fixtures[$conf_key][$lang['language_code']] - )); - else - Configuration::updateValue($conf_key, array( - $lang['id_lang'] => 'The personal data you provide is used to answer queries, process orders or allow access to specific information. You have the right to modify and delete all the personal information found in the "My Account" page.' - )); - } - - return $return; - } - - public function uninstall() - { - return ($this->unregisterHook('createAccountForm') - && $this->unregisterHook('displayCustomerIdentityForm') - && $this->unregisterHook('actionBeforeSubmitAccount') - && parent::uninstall()); - } - - public function getContent() - { - if (Tools::isSubmit('submitCustPrivMess')) - { - $message_trads = array('auth' => array(), 'identity' => array()); - foreach ($_POST as $key => $value) - if (preg_match('/CUSTPRIV_MSG_AUTH_/i', $key)) - { - $id_lang = preg_split('/CUSTPRIV_MSG_AUTH_/i', $key); - $message_trads['auth'][(int)$id_lang[1]] = $value; - } - elseif (preg_match('/CUSTPRIV_MSG_IDENTITY_/i', $key)) - { - $id_lang = preg_split('/CUSTPRIV_MSG_IDENTITY_/i', $key); - $message_trads['identity'][(int)$id_lang[1]] = $value; - } - Configuration::updateValue('CUSTPRIV_MSG_AUTH', $message_trads['auth'], true); - Configuration::updateValue('CUSTPRIV_MSG_IDENTITY', $message_trads['identity'], true); - - Configuration::updateValue('CUSTPRIV_AUTH_PAGE', (int)Tools::getValue('CUSTPRIV_AUTH_PAGE')); - Configuration::updateValue('CUSTPRIV_IDENTITY_PAGE', (int)Tools::getValue('CUSTPRIV_IDENTITY_PAGE')); - - $this->_clearCache('blockcustomerprivacy.tpl'); - $this->_clearCache('blockcustomerprivacy-simple.tpl'); - $this->_html .= $this->displayConfirmation($this->l('Configuration updated')); - } - - $this->_html .= $this->renderForm(); - - return $this->_html; - } - - public function checkConfig($switch_key, $msg_key) - { - if (!$this->active) - return false; - - if (!Configuration::get($switch_key)) - return false; - - $message = Configuration::get($msg_key, $this->context->language->id); - if (empty($message)) - return false; - - return true; - } - - public function hookActionBeforeSubmitAccount($params) - { - if (!$this->checkConfig('CUSTPRIV_AUTH_PAGE', 'CUSTPRIV_MSG_AUTH')) - return; - - if (!Tools::getValue('customer_privacy')) - $this->context->controller->errors[] = $this->l('If you agree to the terms in the Customer Data Privacy message, please click the check box below.'); - } - - public function hookCreateAccountForm($params) - { - if (!$this->checkConfig('CUSTPRIV_AUTH_PAGE', 'CUSTPRIV_MSG_AUTH')) - return; - - if (!$this->isCached('blockcustomerprivacy.tpl', $this->getCacheId())) - $this->smarty->assign('privacy_message', Configuration::get('CUSTPRIV_MSG_AUTH', $this->context->language->id)); - - return $this->display(__FILE__, 'blockcustomerprivacy.tpl', $this->getCacheId()); - } - - public function hookDisplayCustomerIdentityForm($params) - { - if (!$this->checkConfig('CUSTPRIV_IDENTITY_PAGE', 'CUSTPRIV_MSG_IDENTITY')) - return; - - if (!$this->isCached('blockcustomerprivacy-simple.tpl', $this->getCacheId())) - { - $this->smarty->assign(array( - 'privacy_message' => Configuration::get('CUSTPRIV_MSG_IDENTITY', $this->context->language->id), - 'privacy_id' => "blockcustomerprivacy-simple", - )); - } - - return $this->display(__FILE__, 'blockcustomerprivacy-simple.tpl', $this->getCacheId()); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'switch', - 'label' => $this->l('Display on account creation form'), - 'name' => 'CUSTPRIV_AUTH_PAGE', - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ), - array( - 'type' => 'textarea', - 'lang' => true, - 'autoload_rte' => true, - 'label' => $this->l('Customer data privacy message for account creation form:'), - 'name' => 'CUSTPRIV_MSG_AUTH', - 'desc' => $this->l('The customer data privacy message will be displayed in the account creation form.').'
    '.$this->l('Tip: If the customer privacy message is too long to be written directly in the form, you can add a link to one of your pages. This can easily be created via the "CMS" page under the "Preferences" menu.') - ), - array( - 'type' => 'switch', - 'label' => $this->l('Display in customer area'), - 'name' => 'CUSTPRIV_IDENTITY_PAGE', - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ), - array( - 'type' => 'textarea', - 'lang' => true, - 'autoload_rte' => true, - 'label' => $this->l('Customer data privacy message for customer area:'), - 'name' => 'CUSTPRIV_MSG_IDENTITY', - 'desc' => $this->l('The customer data privacy message will be displayed in the "Personal information" page, in the customer area.').'
    '.$this->l('Tip: If the customer privacy message is too long to be written directly on the page, you can add a link to one of your other pages. This can easily be created via the "CMS" page under the "Preferences" menu.') - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitCustPrivMess'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - $return = array(); - - $return['CUSTPRIV_AUTH_PAGE'] = (int)Configuration::get('CUSTPRIV_AUTH_PAGE'); - $return['CUSTPRIV_IDENTITY_PAGE'] = (int)Configuration::get('CUSTPRIV_IDENTITY_PAGE'); - - $languages = Language::getLanguages(false); - foreach ($languages as $lang) - $return['CUSTPRIV_MSG_AUTH'][(int)$lang['id_lang']] = Tools::getValue('CUSTPRIV_MSG_AUTH_'.(int)$lang['id_lang'], Configuration::get('CUSTPRIV_MSG_AUTH', (int)$lang['id_lang'])); - foreach ($languages as $lang) - $return['CUSTPRIV_MSG_IDENTITY'][(int)$lang['id_lang']] = Tools::getValue('CUSTPRIV_MSG_IDENTITY_'.(int)$lang['id_lang'], Configuration::get('CUSTPRIV_MSG_IDENTITY', (int)$lang['id_lang'])); - - return $return; - } -} diff --git a/modules/blockcustomerprivacy/blockcustomerprivacy.tpl b/modules/blockcustomerprivacy/blockcustomerprivacy.tpl deleted file mode 100644 index ec469a73d..000000000 --- a/modules/blockcustomerprivacy/blockcustomerprivacy.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -
    - \ No newline at end of file diff --git a/modules/blockcustomerprivacy/fixtures.php b/modules/blockcustomerprivacy/fixtures.php deleted file mode 100644 index 065a71e33..000000000 --- a/modules/blockcustomerprivacy/fixtures.php +++ /dev/null @@ -1,10 +0,0 @@ - array( - 'fr-fr' => "Conformément aux dispositions de la loi du n°78-17 du 6 janvier 1978, vous disposez d'un droit d'accès, de rectification et d'opposition sur les données nominatives vous concernant.", - ), - "CUSTPRIV_MSG_IDENTITY" => array( - 'fr-fr' => "Conformément aux dispositions de la loi du n°78-17 du 6 janvier 1978, vous disposez d'un droit d'accès, de rectification et d'opposition sur les données nominatives vous concernant.", - ), -); \ No newline at end of file diff --git a/modules/blockcustomerprivacy/index.php b/modules/blockcustomerprivacy/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcustomerprivacy/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcustomerprivacy/logo.gif b/modules/blockcustomerprivacy/logo.gif deleted file mode 100644 index 9cdb8ef3a..000000000 Binary files a/modules/blockcustomerprivacy/logo.gif and /dev/null differ diff --git a/modules/blockcustomerprivacy/logo.png b/modules/blockcustomerprivacy/logo.png deleted file mode 100644 index eff626822..000000000 Binary files a/modules/blockcustomerprivacy/logo.png and /dev/null differ diff --git a/modules/blockcustomerprivacy/translations/index.php b/modules/blockcustomerprivacy/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockcustomerprivacy/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcustomerprivacy/upgrade/index.php b/modules/blockcustomerprivacy/upgrade/index.php deleted file mode 100644 index 003c7f786..000000000 --- a/modules/blockcustomerprivacy/upgrade/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockcustomerprivacy/upgrade/install-2.0.0.php b/modules/blockcustomerprivacy/upgrade/install-2.0.0.php deleted file mode 100644 index 380662562..000000000 --- a/modules/blockcustomerprivacy/upgrade/install-2.0.0.php +++ /dev/null @@ -1,22 +0,0 @@ -registerHook('displayCustomerIdentityForm'); - $return &= $object->unregisterHook('header'); - - $langs = Language::getLanguages(false); - $old_messages = array(); - foreach ($langs as $l) - $old_messages[$l['id_lang']] = Configuration::get('CUSTPRIV_MESSAGE', $l['id_lang']); - - Configuration::updateValue('CUSTPRIV_MESSAGE', $old_messages); - Configuration::updateValue('CUSTPRIV_MESSAGE', $old_messages); - - return $return; -} diff --git a/modules/blockfacebook/CHANGELOG.txt b/modules/blockfacebook/CHANGELOG.txt deleted file mode 100644 index 8e5c2845a..000000000 --- a/modules/blockfacebook/CHANGELOG.txt +++ /dev/null @@ -1,11 +0,0 @@ -2014-04-22 18:57:13 +0200 // Changelog updated -2014-04-01 16:41:02 +0200 // fix bracket missing && ++version -2014-04-01 14:13:46 +0200 Merge pull request #1 from f31n/patch-1 -2014-03-29 23:49:00 +0300 // full url is required for blockFacebook -2014-03-28 09:56:54 +0100 logic in php -2014-03-28 09:48:56 +0100 Update blockfacebook.tpl -2014-03-25 21:21:01 +0100 accepting full url and only name -2014-03-25 18:31:27 +0100 bug @ v0.1 didn't work on prestashop 1.6.0.5 -2014-03-24 11:43:28 +0100 / MO blockfacebook : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:17 +0100 // MO blockfacebook/ : ps_versions_compliancy added -2014-03-20 14:22:40 +0100 Initial commit diff --git a/modules/blockfacebook/blockfacebook.js b/modules/blockfacebook/blockfacebook.js deleted file mode 100644 index 41719d72e..000000000 --- a/modules/blockfacebook/blockfacebook.js +++ /dev/null @@ -1,37 +0,0 @@ -/* -* 2007-2016 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-2016 PrestaShop SA -* @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() { - initfb(document, 'script', 'facebook-jssdk'); -}); - -function initfb(d, s, id) -{ - var js, fjs = d.getElementsByTagName(s)[0]; - if (d.getElementById(id)) - return; - js = d.createElement(s); js.id = id; - js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=334341610034299"; - fjs.parentNode.insertBefore(js, fjs); -} \ No newline at end of file diff --git a/modules/blockfacebook/blockfacebook.php b/modules/blockfacebook/blockfacebook.php deleted file mode 100644 index 969c6323d..000000000 --- a/modules/blockfacebook/blockfacebook.php +++ /dev/null @@ -1,170 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockFacebook extends Module -{ - public function __construct() - { - $this->name = 'blockfacebook'; - $this->tab = 'front_office_features'; - $this->version = '1.4.1'; - $this->author = 'PrestaShop'; - - $this->bootstrap = true; - parent::__construct(); - $this->displayName = $this->l('Facebook Like Box block'); - $this->description = $this->l('Displays a block for subscribing to your Facebook Page.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - - public function install() - { - return parent::install() && - Configuration::updateValue('blockfacebook_url', 'https://www.facebook.com/prestashop') && - $this->registerHook('displayHome') && - $this->registerHook('displayHeader'); - } - - public function uninstall() - { - // Delete configuration - return Configuration::deleteByName('blockfacebook_url') && parent::uninstall(); - } - - public function getContent() - { - $html = ''; - // If we try to update the settings - if (Tools::isSubmit('submitModule')) - { - Configuration::updateValue('blockfacebook_url', Tools::getValue('blockfacebook_url')); - $html .= $this->displayConfirmation($this->l('Configuration updated')); - $this->_clearCache('blockfacebook.tpl'); - Tools::redirectAdmin('index.php?tab=AdminModules&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules')); - } - - $html .= $this->renderForm(); - $facebookurl = Configuration::get('blockfacebook_url'); - if(!strstr($facebookurl, "facebook.com")) $facebookurl="https://www.facebook.com/".$facebookurl; - $this->context->smarty->assign('facebookurl', $facebookurl); - $this->context->smarty->assign('facebook_js_url', $this->_path.'blockfacebook.js'); - $this->context->smarty->assign('facebook_css_url', $this->_path.'css/blockfacebook.css'); - $html .= $this->context->smarty->fetch($this->local_path.'views/admin/_configure/preview.tpl'); - return $html; - } - - public function hookDisplayHome() - { - if (!$this->isCached('blockfacebook.tpl', $this->getCacheId())) - { - $facebookurl = Configuration::get('blockfacebook_url'); - if (!strstr($facebookurl, 'facebook.com')) - $facebookurl = 'https://www.facebook.com/'.$facebookurl; - $this->context->smarty->assign('facebookurl', $facebookurl); - } - return $this->display(__FILE__, 'blockfacebook.tpl', $this->getCacheId()); - } - - public function hookDisplayLeftColumn() - { - if ($this->page_name !== 'index') - $this->_assignMedia(); - return $this->hookDisplayHome(); - } - - public function hookDisplayRightColumn() - { - if ($this->page_name !== 'index') - $this->_assignMedia(); - return $this->hookDisplayHome(); - } - - public function hookHeader() - { - $this->page_name = Dispatcher::getInstance()->getController(); - if ($this->page_name == 'index') - $this->_assignMedia(); - } - - protected function _assignMedia() - { - $this->context->controller->addCss(($this->_path).'css/blockfacebook.css'); - $this->context->controller->addJS(($this->_path).'blockfacebook.js'); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Facebook link (full URL is required)'), - 'name' => 'blockfacebook_url', - ), - ), - 'submit' => array( - 'title' => $this->l('Save') - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitModule'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'blockfacebook_url' => Tools::getValue('blockfacebook_url', Configuration::get('blockfacebook_url')), - ); - } -} diff --git a/modules/blockfacebook/blockfacebook.tpl b/modules/blockfacebook/blockfacebook.tpl deleted file mode 100644 index efae75b87..000000000 --- a/modules/blockfacebook/blockfacebook.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -{if $facebookurl != ''} -
    -
    -

    {l s='Follow us on Facebook' mod='blockfacebook'}

    - -
    -{/if} diff --git a/modules/blockfacebook/css/blockfacebook.css b/modules/blockfacebook/css/blockfacebook.css deleted file mode 100644 index 454bf0477..000000000 --- a/modules/blockfacebook/css/blockfacebook.css +++ /dev/null @@ -1,3 +0,0 @@ -.facebook-fanbox { - overflow-x : hidden; -} \ No newline at end of file diff --git a/modules/blockfacebook/css/index.php b/modules/blockfacebook/css/index.php deleted file mode 100644 index a87fdfd18..000000000 --- a/modules/blockfacebook/css/index.php +++ /dev/null @@ -1,33 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockfacebook/logo.gif b/modules/blockfacebook/logo.gif deleted file mode 100644 index 4614741f5..000000000 Binary files a/modules/blockfacebook/logo.gif and /dev/null differ diff --git a/modules/blockfacebook/logo.png b/modules/blockfacebook/logo.png deleted file mode 100644 index 721cb8261..000000000 Binary files a/modules/blockfacebook/logo.png and /dev/null differ diff --git a/modules/blockfacebook/translations/index.php b/modules/blockfacebook/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockfacebook/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockfacebook/views/admin/_configure/preview.tpl b/modules/blockfacebook/views/admin/_configure/preview.tpl deleted file mode 100644 index 252297cc1..000000000 --- a/modules/blockfacebook/views/admin/_configure/preview.tpl +++ /dev/null @@ -1,17 +0,0 @@ - - -{if $facebookurl != ''} -
    -
    - {l s='Preview' mod='blockfacebook'} -
    -
    -
    -

    {l s='Follow us on Facebook' mod='blockfacebook'}

    - -
    -
    -{/if} diff --git a/modules/blocklayered/CHANGELOG.txt b/modules/blocklayered/CHANGELOG.txt deleted file mode 100644 index 54e29f2e0..000000000 --- a/modules/blocklayered/CHANGELOG.txt +++ /dev/null @@ -1,27 +0,0 @@ ------------------------------ -# V2.1.2 to V2.1.3 ------------------------------ - -## Improved/Changed Features: - -* [CO] : [#244] Changed Tools::jsonEncode to json_encode -* [CO] : [#242] PHP7 compatibility changes - - -2014-04-22 18:57:17 +0200 // Changelog updated -2014-04-17 15:49:24 +0200 [-] MO : Blocklayered - FixBug #PSCSX-1505 -2014-04-17 12:21:18 +0200 [-] MO : Blocklayered - FixBug #PSCSX-1337 -2014-04-08 10:29:23 +0200 // blocklayered: better wording. -2014-04-03 15:24:10 +0200 // Update version -2014-04-03 15:23:10 +0200 [-] BO : BlockLayered - FixBug #PSCSX-1399 pagination problem -2014-03-27 18:22:40 +0100 // update version number -2014-03-27 11:57:03 +0100 Merge pull request #2 from xBorderie/patch-1 -2014-03-27 11:51:19 +0100 [*] MO : a string you can actually translate. -2014-03-27 11:51:15 +0100 // Fix wrong backquote in SQL -2014-03-24 17:53:22 +0100 // MO blocklayered : Removed ps_version_compliancy duplicate -2014-03-24 12:21:34 +0100 Merge branch 'master' of https://github.com/PrestaShop/blocklayered -2014-03-24 11:43:28 +0100 / MO blocklayered : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:30 +0100 / MO blocklayered : ps_versions_compliancy added -2014-03-21 18:39:28 +0100 [-] Add column names in SQL insert into -2014-03-20 16:54:45 +0100 // Two forgotten periods in blocklayered 1.6 template. -2014-03-20 14:22:46 +0100 Initial commit diff --git a/modules/blocklayered/Readme.md b/modules/blocklayered/Readme.md deleted file mode 100644 index 34ace2d9d..000000000 --- a/modules/blocklayered/Readme.md +++ /dev/null @@ -1,37 +0,0 @@ -# Layered navigation block - -## About - -Displays a block with layered navigation filters. - -## Contributing - -PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements. - -### Requirements - -Contributors **must** follow the following rules: - -* **Make your Pull Request on the "dev" branch**, NOT the "master" branch. -* Do not update the module's version number. -* Follow [the coding standards][1]. - -### Process in details - -Contributors wishing to edit a module's files should follow the following process: - -1. Create your GitHub account, if you do not have one already. -2. Fork the blocklayered project to your GitHub account. -3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation. -4. Create a branch in your local clone of the module for your changes. -5. Change the files in your branch. Be sure to follow [the coding standards][1]! -6. Push your changed branch to your fork in your GitHub account. -7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3]. -8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code. - -That's it: you have contributed to this open-source project! Congratulations! - -[1]: http://doc.prestashop.com/display/PS16/Coding+Standards -[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message -[3]: https://help.github.com/articles/using-pull-requests - diff --git a/modules/blocklayered/blocklayered-15.css b/modules/blocklayered/blocklayered-15.css deleted file mode 100644 index 615e2b3fb..000000000 --- a/modules/blocklayered/blocklayered-15.css +++ /dev/null @@ -1,168 +0,0 @@ -#enabled_filters { - margin: 0 0 10px 0; - background: #eee; - padding: 5px; -} -#enabled_filters .layered_subtitle { - font-weight: bold; - font-size: 12px; -} -#enabled_filters ul li {padding:2px 0} -#enabled_filters li a { - float: right; - display: inline-block; - height: 12px; - width: 12px; - text-indent: -5000px; - /*background: url(../../../img/icon/delete.gif) no-repeat 0 0 transparent;*/ - background: url(./delete.gif) no-repeat 0 0 transparent; - cursor: pointer; -} -#layered_block_left .layered_close { - float: right; - padding-right: 5px; -} -#layered_block_left span.layered_close a, -#layered_block_left span.layered_close a { - display:block; - height:13px; - width:13px; - text-decoration: none; - text-indent:-5000px; - background:url(img/icon/less.gif) no-repeat 2px 2px; -} -#layered_block_left span.closed a { - background:url(img/icon/more.gif) no-repeat 2px 2px; -} - -#layered_block_left .layered_subtitle { - display: inline-block; - font-weight: bold; - font-size: 12px; -} -#layered_block_left ul { - clear: both; - padding: 5px 0; -} -#layered_block_left ul li {padding:2px 0} -#layered_block_left ul li label {cursor: pointer;} -#layered_block_left div.block_content { -} -#layered_block_left ul { - padding-left: 0; -} -#layered_block_left ul li { - list-style-type: none; -} -#layered_block_left div > form > div > div { - margin-top: 5px; -} -#layered_block_left #enabled_filters , #layered_url_filter_block{ - font-size: 10px; - padding-bottom: 10px; - margin-bottom: 5px; - margin-top: 0px; - border-bottom: 1px dotted #CCC; -} -#layered_block_left #enabled_filters ul li { - margin-left: 0; - padding-left: 0; -} - - -/* Style moved form the template to the css */ - -#layered_block_left #enabled_filters ul li:hover { - background: inherit; - color: inherit; -} -#layered_block_left #enabled_filters a { - text-decoration: none; - color: red; -} -#layered_block_left ul li:hover { -} -#layered_block_left ul li input.checkbox { - vertical-align: middle; - margin-left: 2px; -} -#layered_block_left ul li .disabled { - color: #666; -} -#layered_block_left .color-option { - border: 1px solid #666666; - height: 16px; - margin-left: 0; - padding: 0; - width: 16px; -} -#layered_block_left .color-option.disable { - opacity: 0.5; - filter:alpha(opacity=50); - -moz-opacity:0.5; -} -#layered_block_left .nomargin a { - display: inline; -} -#layered_form .select { - width: 165px; -} -#layered_form .color-option { - margin-left: 0; - width: 16px; - height: 16px; - padding:0; - border: 1px solid #666; -} -#layered_form .color-option.on { - border: 1px solid red; -} -#layered_form input[type=radio] { - margin-left: 2px; - vertical-align: middle; -} -.layered_price_range { - margin-left: 7px; -} -.layered_price_range_unit { - margin-right: 7px; -} -.layered_slider_container { - margin: 6px 0 6px 7px; width: 91%; -} -.layered_slider { - margin-top:5px; -} -.layered_input_range_min { - width:30px; -} -.layered_input_range_max { - width:40px; -} -.layered_list_selected { - font-weight: bold; -} -.layered_list { - display: block; - cursor: pointer; -} -.layered_list:hover { - font-weight: bold; -} -.layered_ajax_loader p { - margin: 20px 0; - text-align: center; -} -.hide-action { - text-align: center; - text-align: right; - display: block; - cursor: pointer; -} -.hide-action:hover { - font-weight: bold; -} -#layered_form div div ul { - max-height: 200px; - overflow-x: auto; -} diff --git a/modules/blocklayered/blocklayered-ajax.php b/modules/blocklayered/blocklayered-ajax.php deleted file mode 100644 index 51a495b5a..000000000 --- a/modules/blocklayered/blocklayered-ajax.php +++ /dev/null @@ -1,32 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*/ - -include(dirname(__FILE__).'/../../config/config.inc.php'); -include(dirname(__FILE__).'/../../init.php'); - -Context::getContext()->controller->php_self = 'category'; -$blockLayered = Module::getInstanceByName('blocklayered'); -echo $blockLayered->ajaxCall(); diff --git a/modules/blocklayered/blocklayered-attribute-indexer.php b/modules/blocklayered/blocklayered-attribute-indexer.php deleted file mode 100644 index 42d064e1a..000000000 --- a/modules/blocklayered/blocklayered-attribute-indexer.php +++ /dev/null @@ -1,10 +0,0 @@ -indexAttribute(); \ No newline at end of file diff --git a/modules/blocklayered/blocklayered-footer.js b/modules/blocklayered/blocklayered-footer.js deleted file mode 100644 index 2cd80195a..000000000 --- a/modules/blocklayered/blocklayered-footer.js +++ /dev/null @@ -1,31 +0,0 @@ -/* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*/ -$(document).ready(function() -{ - $('#selectProductSort').unbind('change').bind('change', function() - { - reloadContent(); - }) -}); \ No newline at end of file diff --git a/modules/blocklayered/blocklayered-no-products.tpl b/modules/blocklayered/blocklayered-no-products.tpl deleted file mode 100644 index fc6e00ff1..000000000 --- a/modules/blocklayered/blocklayered-no-products.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} -
    -

    {l s='There are no products.' mod='blocklayered'}

    -
    diff --git a/modules/blocklayered/blocklayered-price-indexer.php b/modules/blocklayered/blocklayered-price-indexer.php deleted file mode 100644 index 2d5bc038e..000000000 --- a/modules/blocklayered/blocklayered-price-indexer.php +++ /dev/null @@ -1,32 +0,0 @@ -indexUrl($cursor, (int)Tools::getValue('truncate')); \ No newline at end of file diff --git a/modules/blocklayered/blocklayered.css b/modules/blocklayered/blocklayered.css deleted file mode 100644 index 25b271a1f..000000000 --- a/modules/blocklayered/blocklayered.css +++ /dev/null @@ -1,159 +0,0 @@ -#layered_block_left div.block_content { - padding: 6px; -} - -#layered_block_left ul { - padding-left: 0; - max-height: 120px; - overflow-y: auto; - overflow-x: hidden; - padding-left: 1px; - padding-right: 1px; -} - -#layered_form > div > div { - border-bottom: 1px dotted #CCCCCC; - padding-bottom: 5px; - margin-bottom: 5px; -} - -#layered_block_left .hide-action { - display: block; - text-align: right; - padding-right: 5px; -} -#layered_block_left .hide-action:hover { - text-decoration: underline; -} - -#layered_block_left ul li { - margin-left: 15px; - padding-left: 2px; - list-style-type: none; -} - -#layered_block_left #enabled_filters , #layered_url_filter_block { - font-size: 10px; - padding-bottom: 5px; -} - -#layered_block_left #enabled_filters ul li { - margin-left: 0; - padding-left: 0; -} - - -/* Style moved form the template to the css */ -#layered_block_left #enabled_filters ul li:hover { - background: inherit; - color: inherit; -} - -#layered_block_left #enabled_filters a { - text-decoration: none; - color: red; -} - -#layered_block_left ul li:hover { - background: #71BF47; - color: #FFF; -} - -#layered_block_left ul li label { - cursor: pointer; -} - -#layered_block_left ul li.nomargin { - margin-left: 0; -} - -#layered_block_left span.layered_subtitle { - float: left; - font-weight: bold; - font-size: 12px; - display: block; - margin-bottom: 4px; -} - -#layered_block_left span.layered_close a { text-decoration: none; } - -#layered_block_left span.layered_close { - float: right; - font-weight: bold; - font-size: 12px; - display: block; - margin-bottom: 4px; -} - -#layered_block_left ul li input.checkbox { - vertical-align: middle; - margin-left: 2px; -} - -#layered_block_left ul li .disabled { - color: #666; -} -#product_list .warning { - margin-top: 13px; -} - -#layered_form .select { - width: 165px; -} -#layered_form .color-option { - margin-left: 0; - width: 16px; - height: 16px; - padding:0; - border: 1px solid #666; -} -#layered_block_left .color-option.disable { - opacity: 0.5; - filter:alpha(opacity=50); - -moz-opacity:0.5; -} -#layered_form .color-option.on { - border: 1px solid red; -} -#layered_form input[type=radio] { - margin-left: 2px; - vertical-align: middle; -} -.layered_price_range { - margin-left: 7px; -} -.layered_price_range_unit { - margin-right: 7px; -} -.layered_slider_container { - margin: 6px 0 6px 6px; width: 93%; -} -.layered_slider { - margin-top:5px; -} -.layered_input_range_min { - width:30px; -} -.layered_input_range_max { - width:40px; -} -.layered_list_selected { - font-weight: bold; -} -.layered_ajax_loader p { - margin: 20px 0; - text-align: center; -} -.hide-action { - text-align: center; - text-align: right; - display: block; - cursor: pointer; -} -.hide-action:hover { - font-weight: bold; -} -#layered_form div div ul { - max-height: 200px; - overflow-x: auto; -} diff --git a/modules/blocklayered/blocklayered.js b/modules/blocklayered/blocklayered.js deleted file mode 100644 index 3269e4baf..000000000 --- a/modules/blocklayered/blocklayered.js +++ /dev/null @@ -1,643 +0,0 @@ -/* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*/ - -var ajaxQueries = new Array(); -var ajaxLoaderOn = 0; -var sliderList = new Array(); -var slidersInit = false; - -$(document).ready(function() -{ - cancelFilter(); - openCloseFilter(); - - // Click on color - $('#layered_form input[type=button], #layered_form label.layered_color').live('click', function() - { - if (!$('input[name='+$(this).attr('name')+'][type=hidden]').length) - $('').attr('type', 'hidden').attr('name', $(this).attr('name')).val($(this).data('rel')).appendTo('#layered_form'); - else - $('input[name='+$(this).attr('name')+'][type=hidden]').remove(); - reloadContent(); - }); - - // Click on checkbox - $('#layered_form input[type=checkbox], #layered_form input[type=radio]').live('click', function() - { - reloadContent(); - }); - - $(document).on('change', '#layered_form .select', function(e) - { - reloadContent(); - }); - - // Changing content of an input text - $('#layered_form input.layered_input_range').live('keyup', function() - { - if ($(this).attr('timeout_id')) - window.clearTimeout($(this).attr('timeout_id')); - - // IE Hack, setTimeout do not acept the third parameter - var reference = this; - - $(this).attr('timeout_id', window.setTimeout(function(it) { - if (!$(it).attr('id')) - it = reference; - - var filter = $(it).attr('id').replace(/^layered_(.+)_range_.*$/, '$1'); - - var value_min = parseInt($('#layered_'+filter+'_range_min').val()); - if (isNaN(value_min)) - value_min = 0; - $('#layered_'+filter+'_range_min').val(value_min); - - var value_max = parseInt($('#layered_'+filter+'_range_max').val()); - if (isNaN(value_max)) - value_max = 0; - $('#layered_'+filter+'_range_max').val(value_max); - - if (value_max < value_min) { - $('#layered_'+filter+'_range_max').val($(it).val()); - $('#layered_'+filter+'_range_min').val($(it).val()); - } - reloadContent(); - }, 500, this)); - }); - - $('#layered_block_left .radio').live('click', function() { - var name = $(this).attr('name'); - $.each($(this).parent().parent().find('input[type=button]'), function (it, item) { - if ($(item).hasClass('on') && $(item).attr('name') != name) { - $(item).click(); - } - }); - return true; - }); - - // Click on label - $('#layered_block_left label a').live({ - click: function() { - var disable = $(this).parent().parent().find('input').attr('disabled'); - if (disable == '' - || typeof(disable) == 'undefined' - || disable == false) - { - $(this).parent().parent().find('input').click(); - reloadContent(); - } - return false; - } - }); - - layered_hidden_list = {}; - $('.hide-action').live('click', function() { - if (typeof(layered_hidden_list[$(this).parent().find('ul').attr('id')]) == 'undefined' || layered_hidden_list[$(this).parent().find('ul').attr('id')] == false) - { - layered_hidden_list[$(this).parent().find('ul').attr('id')] = true; - } - else - { - layered_hidden_list[$(this).parent().find('ul').attr('id')] = false; - } - hideFilterValueAction(this); - }); - $('.hide-action').each(function() { - hideFilterValueAction(this); - }); - - // To be sure there is no other events attached to the selectProductSort, change the ID - var id = 1; - while ($('#selectPrductSort').length) { // Because ids are duplicated - // Unbind event change on #selectPrductSort - $('#selectPrductSort').unbind('change'); - $('#selectPrductSort').attr('onchange', ''); - $('#selectPrductSort').addClass('selectProductSort'); - $('#selectPrductSort').attr('id', 'selectPrductSort'+id); - $('label[for=selectPrductSort]').attr('for', 'selectPrductSort'+id); - id++; - } - - while ($('#selectProductSort').length) { // Because ids are duplicated - // Unbind event change on #selectProductSort - $('#selectProductSort').unbind('change'); - $('#selectProductSort').attr('onchange', ''); - $('#selectProductSort').addClass('selectProductSort'); - $('#selectProductSort').attr('id', 'selectProductSort'+id); - $('label[for=selectProductSort]').attr('for', 'selectProductSort'+id); - id++; - } - - // Since 1.5, event is add to .selectProductSort and not to #selectProductSort - setTimeout(function() { - $('.selectProductSort').unbind('change'); - }, 100); - - $('.selectProductSort').live('change', function(event) { - $('.selectProductSort').val($(this).val()); - reloadContent(); - }); - - // To be sure there is no other events attached to the nb_item, change the ID - var id = 1; - while ($('#nb_item').length) { // Because ids are duplicated - // Unbind event change on #nb_item - $('#nb_item').unbind('change'); - $('#nb_item').attr('onchange', ''); - $('#nb_item').addClass('nb_item'); - $('#nb_item').attr('id', 'nb_item'+id); - $('label[for=nb_item]').attr('for', 'nb_item'+id); - id++; - } - $('.nb_item').live('change', function(event) { - $('.nb_item').val($(this).val()); - reloadContent(); - }); - - paginationButton(); - initLayered(); -}); - -function hideFilterValueAction(it) -{ - if (typeof(layered_hidden_list[$(it).parent().find('ul').attr('id')]) == 'undefined' || layered_hidden_list[$(it).parent().find('ul').attr('id')] == false) - { - $(it).parent().find('.hiddable').hide(); - $(it).parent().find('.hide-action.less').hide(); - $(it).parent().find('.hide-action.more').show(); - } - else - { - $(it).parent().find('.hiddable').show(); - $(it).parent().find('.hide-action.less').show(); - $(it).parent().find('.hide-action.more').hide(); - } -} - -function addSlider(type, data, unit, format) -{ - sliderList.push({ - type: type, - data: data, - unit: unit, - format: format - }); -} - -function initSliders() -{ - $(sliderList).each(function(i, slider){ - $('#layered_'+slider['type']+'_slider').slider(slider['data']); - - var from = ''; - var to = ''; - switch (slider['format']) - { - case 1: - case 2: - case 3: - case 4: - from = blocklayeredFormatCurrency($('#layered_'+slider['type']+'_slider').slider('values', 0), slider['format'], slider['unit']); - to = blocklayeredFormatCurrency($('#layered_'+slider['type']+'_slider').slider('values', 1), slider['format'], slider['unit']); - break; - case 5: - from = $('#layered_'+slider['type']+'_slider').slider('values', 0)+slider['unit'] - to = $('#layered_'+slider['type']+'_slider').slider('values', 1)+slider['unit']; - break; - } - $('#layered_'+slider['type']+'_range').html(from+' - '+to); - }); -} - -function initLayered() -{ - initSliders(); - initLocationChange(); - updateProductUrl(); - if (window.location.href.split('#').length == 2 && window.location.href.split('#')[1] != '') - { - var params = window.location.href.split('#')[1]; - reloadContent('&selected_filters='+params); - } -} - -function paginationButton() { - $('#pagination a').not(':hidden').each(function () { - if ($(this).attr('href').search(/[&|\?]p=/) == -1) - var page = 1; - else - var page = $(this).attr('href').replace(/^.*[&|\?]p=(\d+).*$/, '$1'); - - var location = window.location.href.replace(/#.*$/, ''); - $(this).attr('href', location+current_friendly_url.replace(/\/page-(\d+)/, '')+'/page-'+page); - }); - $('#pagination li').not('.current, .disabled').each(function () { - var nbPage = 0; - if ($(this).attr('id') == 'pagination_next') - nbPage = parseInt($('#pagination li.current').children().html())+ 1; - else if ($(this).attr('id') == 'pagination_previous') - nbPage = parseInt($('#pagination li.current').children().html())- 1; - - $(this).children().click(function () { - if (nbPage == 0) - p = parseInt($(this).html()) + parseInt(nbPage); - else - p = nbPage; - p = '&p='+ p; - reloadContent(p); - nbPage = 0; - return false; - }); - }); -} - -function cancelFilter() -{ - $('#enabled_filters a').live('click', function(e) - { - if ($(this).data('rel').search(/_slider$/) > 0) - { - if ($('#'+$(this).data('rel')).length) - { - $('#'+$(this).data('rel')).slider('values' , 0, $('#'+$(this).data('rel')).slider('option' , 'min' )); - $('#'+$(this).data('rel')).slider('values' , 1, $('#'+$(this).data('rel')).slider('option' , 'max' )); - $('#'+$(this).data('rel')).slider('option', 'slide')(0,{values:[$('#'+$(this).data('rel')).slider( 'option' , 'min' ), $('#'+$(this).data('rel')).slider( 'option' , 'max' )]}); - } - else if($('#'+$(this).data('rel').replace(/_slider$/, '_range_min')).length) - { - $('#'+$(this).data('rel').replace(/_slider$/, '_range_min')).val($('#'+$(this).data('rel').replace(/_slider$/, '_range_min')).attr('limitValue')); - $('#'+$(this).data('rel').replace(/_slider$/, '_range_max')).val($('#'+$(this).data('rel').replace(/_slider$/, '_range_max')).attr('limitValue')); - } - } - else - { - if ($('option#'+$(this).data('rel')).length) - { - $('#'+$(this).data('rel')).parent().val(''); - } - else - { - $('#'+$(this).data('rel')).attr('checked', false); - $('.'+$(this).data('rel')).attr('checked', false); - $('#layered_form input[type=hidden][name='+$(this).data('rel')+']').remove(); - } - } - reloadContent(); - e.preventDefault(); - }); -} - -function openCloseFilter() -{ - $('#layered_form span.layered_close a').live('click', function(e) - { - if ($(this).html() == '<') - { - $('#'+$(this).data('rel')).show(); - $(this).html('v'); - $(this).parent().removeClass('closed'); - } - else - { - $('#'+$(this).data('rel')).hide(); - $(this).html('<'); - $(this).parent().addClass('closed'); - } - - e.preventDefault(); - }); -} - -function stopAjaxQuery() { - if (typeof(ajaxQueries) == 'undefined') - ajaxQueries = new Array(); - for(i = 0; i < ajaxQueries.length; i++) { - if (typeof ajaxQueries[i] != 'undefined') - ajaxQueries[i].abort(); - } - ajaxQueries = new Array(); -} - -function reloadContent(params_plus) -{ - stopAjaxQuery(); - - if (!ajaxLoaderOn) - { - $('#product_list').prepend($('#layered_ajax_loader').html()); - $('#product_list').css('opacity', '0.7'); - ajaxLoaderOn = 1; - } - - data = $('#layered_form').serialize(); - $('.layered_slider').each( function () { - var sliderStart = $(this).slider('values', 0); - var sliderStop = $(this).slider('values', 1); - if (typeof(sliderStart) == 'number' && typeof(sliderStop) == 'number') - data += '&'+$(this).attr('id')+'='+sliderStart+'_'+sliderStop; - }); - - $(['price', 'weight']).each(function(it, sliderType) - { - if ($('#layered_'+sliderType+'_range_min').length) - { - data += '&layered_'+sliderType+'_slider='+$('#layered_'+sliderType+'_range_min').val()+'_'+$('#layered_'+sliderType+'_range_max').val(); - } - }); - - $('#layered_form .select option').each( function () { - if($(this).attr('id') && $(this).parent().val() == $(this).val()) - { - data += '&'+$(this).attr('id') + '=' + $(this).val(); - } - }); - - if ($('.selectProductSort').length && $('.selectProductSort').val()) - { - if ($('.selectProductSort').val().search(/orderby=/) > 0) - { - // Old ordering working - var splitData = [ - $('.selectProductSort').val().match(/orderby=(\w*)/)[1], - $('.selectProductSort').val().match(/orderway=(\w*)/)[1] - ]; - } - else - { - // New working for default theme 1.4 and theme 1.5 - var splitData = $('.selectProductSort').val().split(':'); - } - data += '&orderby='+splitData[0]+'&orderway='+splitData[1]; - } - if ($('.nb_item').length) - { - data += '&n='+$('.nb_item').val(); - } - - var slideUp = true; - if (params_plus == undefined || !(typeof params_plus == 'string')) - { - params_plus = ''; - slideUp = false; - } - - // Get nb items per page - var n = ''; - $('#pagination #nb_item').children().each(function(it, option) { - if (option.selected) - n = '&n='+option.value; - }); - - ajaxQuery = $.ajax( - { - type: 'GET', - url: baseDir + 'modules/blocklayered/blocklayered-ajax.php', - data: data+params_plus+n, - dataType: 'json', - cache: false, // @todo see a way to use cache and to add a timestamps parameter to refresh cache each 10 minutes for example - success: function(result) - { - $('#layered_block_left').replaceWith(utf8_decode(result.filtersBlock)); - - $('.category-product-count').html(result.categoryCount); - - if (result.productList) - $('#product_list').replaceWith(utf8_decode(result.productList)); - else - $('#product_list').html(''); - - $('#product_list').css('opacity', '1'); - if ($.browser.msie) // Fix bug with IE8 and aliasing - $('#product_list').css('filter', ''); - - if (result.pagination.search(/[^\s]/) >= 0) { - if ($(result.pagination).find('ul.pagination').length) - { - $('div#pagination').show(); - $('ul.pagination').each(function () { - $(this).replaceWith($(result.pagination).find('ul.pagination')); - }); - } - else if (!$('ul.pagination').length) - { - $('div#pagination').show(); - $('div#pagination').each(function () { - $(this).html($(result.pagination)); - }); - } - else - { - $('ul.pagination').html(''); - $('div#pagination').hide(); - } - } - else - { - $('ul.pagination').html(''); - $('div#pagination').hide(); - } - - paginationButton(); - ajaxLoaderOn = 0; - - // On submiting nb items form, relaod with the good nb of items - $('#pagination form').submit(function() { - val = $('#pagination #nb_item').val(); - $('#pagination #nb_item').children().each(function(it, option) { - if (option.value == val) - $(option).attr('selected', true); - else - $(option).removeAttr('selected'); - }); - // Reload products and pagination - reloadContent(); - return false; - }); - if (typeof(ajaxCart) != "undefined") - ajaxCart.overrideButtonsInThePage(); - - if (typeof(reloadProductComparison) == 'function') - reloadProductComparison(); - initSliders(); - - // Currente page url - if (typeof(current_friendly_url) == 'undefined') - current_friendly_url = '#'; - - // Get all sliders value - $(['price', 'weight']).each(function(it, sliderType) - { - if ($('#layered_'+sliderType+'_slider').length) - { - // Check if slider is enable & if slider is used - if(typeof($('#layered_'+sliderType+'_slider').slider('values', 0)) != 'object') - { - if ($('#layered_'+sliderType+'_slider').slider('values', 0) != $('#layered_'+sliderType+'_slider').slider('option' , 'min') - || $('#layered_'+sliderType+'_slider').slider('values', 1) != $('#layered_'+sliderType+'_slider').slider('option' , 'max')) - current_friendly_url += '/'+sliderType+'-'+$('#layered_'+sliderType+'_slider').slider('values', 0)+'-'+$('#layered_'+sliderType+'_slider').slider('values', 1) - } - } - else if ($('#layered_'+sliderType+'_range_min').length) - { - if ($('#layered_' + sliderType + '_range_min').attr('limitValue') != $('#layered_'+sliderType+'_range_min').val() - || $('#layered_' + sliderType + '_range_max').attr('limitValue') != $('#layered_'+sliderType+'_range_max').val()) - current_friendly_url += '/'+sliderType+'-'+$('#layered_'+sliderType+'_range_min').val()+'-'+$('#layered_'+sliderType+'_range_max').val(); - } - }); - window.location = current_friendly_url; - lockLocationChecking = true; - - if(slideUp) - $.scrollTo('#product_list', 400); - updateProductUrl(); - - $('.hide-action').each(function() { - hideFilterValueAction(this); - }); - } - }); - ajaxQueries.push(ajaxQuery); -} - -function initLocationChange(func, time) -{ - if(!time) time = 500; - var current_friendly_url = getUrlParams(); - setInterval(function() - { - if(getUrlParams() != current_friendly_url && !lockLocationChecking) - { - // Don't reload page if current_friendly_url and real url match - if (current_friendly_url.replace(/^#(\/)?/, '') == getUrlParams().replace(/^#(\/)?/, '')) - return; - - lockLocationChecking = true; - reloadContent('&selected_filters='+getUrlParams().replace(/^#/, '')); - } - else { - lockLocationChecking = false; - current_friendly_url = getUrlParams(); - } - }, time); -} - -function getUrlParams() -{ - var params = current_friendly_url; - if(window.location.href.split('#').length == 2 && window.location.href.split('#')[1] != '') - params = '#'+window.location.href.split('#')[1]; - return params; -} - -function updateProductUrl() -{ - // Adding the filters to URL product - if (typeof(param_product_url) != 'undefined' && param_product_url != '' && param_product_url !='#') { - $.each($('ul#product_list li.ajax_block_product .product_img_link,'+ - 'ul#product_list li.ajax_block_product h3 a,'+ - 'ul#product_list li.ajax_block_product .product_desc a,'+ - 'ul#product_list li.ajax_block_product .lnk_view'), function() { - $(this).attr('href', $(this).attr('href') + param_product_url); - }); - } -} - - -/** - * Copy of the php function utf8_decode() - */ -function utf8_decode (utfstr) { - var res = ''; - for (var i = 0; i < utfstr.length;) { - var c = utfstr.charCodeAt(i); - - if (c < 128) - { - res += String.fromCharCode(c); - i++; - } - else if((c > 191) && (c < 224)) - { - var c1 = utfstr.charCodeAt(i+1); - res += String.fromCharCode(((c & 31) << 6) | (c1 & 63)); - i += 2; - } - else - { - var c1 = utfstr.charCodeAt(i+1); - var c2 = utfstr.charCodeAt(i+2); - res += String.fromCharCode(((c & 15) << 12) | ((c1 & 63) << 6) | (c2 & 63)); - i += 3; - } - } - return res; -} - - -/** - * Return a formatted price - * Copy from tools.js - */ -function blocklayeredFormatCurrency(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 + blocklayeredFormatNumber(price, priceDisplayPrecision, ',', '.'); - if (currencyFormat == 2) - return (blocklayeredFormatNumber(price, priceDisplayPrecision, ' ', ',') + blank + currencySign); - if (currencyFormat == 3) - return (currencySign + blank + blocklayeredFormatNumber(price, priceDisplayPrecision, '.', ',')); - if (currencyFormat == 4) - return (blocklayeredFormatNumber(price, priceDisplayPrecision, ',', '.') + blank + currencySign); - return price; -} - - -/** - * Return a formatted number - * Copy from tools.js - */ -function blocklayeredFormatNumber(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'); -} diff --git a/modules/blocklayered/blocklayered.php b/modules/blocklayered/blocklayered.php deleted file mode 100644 index 4fc04290a..000000000 --- a/modules/blocklayered/blocklayered.php +++ /dev/null @@ -1,3516 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockLayered extends Module -{ - private $products; - private $nbr_products; - private $page = 1; - - public function __construct() - { - $this->name = 'blocklayered'; - $this->tab = 'front_office_features'; - $this->version = '2.1.3'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - $this->bootstrap = true; - - parent::__construct(); - - $this->displayName = $this->l('Layered navigation block'); - $this->description = $this->l('Displays a block with layered navigation filters.'); - - if ((int)Tools::getValue('p')) - $this->page = (int)Tools::getValue('p'); - } - - public function install() - { - if (parent::install() && $this->registerHook('header') && $this->registerHook('leftColumn') - && $this->registerHook('categoryAddition') && $this->registerHook('categoryUpdate') && $this->registerHook('attributeGroupForm') - && $this->registerHook('afterSaveAttributeGroup') && $this->registerHook('afterDeleteAttributeGroup') && $this->registerHook('featureForm') - && $this->registerHook('afterDeleteFeature') && $this->registerHook('afterSaveFeature') && $this->registerHook('categoryDeletion') - && $this->registerHook('afterSaveProduct') && $this->registerHook('productListAssign') && $this->registerHook('postProcessAttributeGroup') - && $this->registerHook('postProcessFeature') && $this->registerHook('featureValueForm') && $this->registerHook('postProcessFeatureValue') - && $this->registerHook('afterDeleteFeatureValue') && $this->registerHook('afterSaveFeatureValue') && $this->registerHook('attributeForm') - && $this->registerHook('postProcessAttribute') && $this->registerHook('afterDeleteAttribute') && $this->registerHook('afterSaveAttribute') && $this->registerHook('leftColumn')) - { - - Configuration::updateValue('PS_LAYERED_HIDE_0_VALUES', 1); - Configuration::updateValue('PS_LAYERED_SHOW_QTIES', 1); - Configuration::updateValue('PS_LAYERED_FULL_TREE', 1); - Configuration::updateValue('PS_LAYERED_FILTER_PRICE_USETAX', 1); - Configuration::updateValue('PS_LAYERED_FILTER_CATEGORY_DEPTH', 1); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_QTY', 0); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_CDT', 0); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_MNF', 0); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_CAT', 0); - Configuration::updateValue('PS_ATTRIBUTE_ANCHOR_SEPARATOR', '-'); - Configuration::updateValue('PS_LAYERED_FILTER_PRICE_ROUNDING', 1); - - $this->rebuildLayeredStructure(); - $this->buildLayeredCategories(); - - $products_count = Db::getInstance()->getValue('SELECT COUNT(*) FROM `'._DB_PREFIX_.'product`'); - - if ($products_count < 20000) // Lock template filter creation if too many products - $this->rebuildLayeredCache(); - - self::installPriceIndexTable(); - $this->installFriendlyUrlTable(); - $this->installIndexableAttributeTable(); - $this->installProductAttributeTable(); - - if ($products_count < 5000) // Lock indexation if too many products - { - self::fullPricesIndexProcess(); - $this->indexUrl(); - $this->indexAttribute(); - } - - return true; - } - else - { - // Installation failed (or hook registration) => uninstall the module - $this->uninstall(); - return false; - } - } - - public function uninstall() - { - /* Delete all configurations */ - Configuration::deleteByName('PS_LAYERED_HIDE_0_VALUES'); - Configuration::deleteByName('PS_LAYERED_SHOW_QTIES'); - Configuration::deleteByName('PS_LAYERED_FULL_TREE'); - Configuration::deleteByName('PS_LAYERED_INDEXED'); - Configuration::deleteByName('PS_LAYERED_FILTER_PRICE_USETAX'); - Configuration::deleteByName('PS_LAYERED_FILTER_CATEGORY_DEPTH'); - Configuration::deleteByName('PS_LAYERED_FILTER_INDEX_QTY'); - Configuration::deleteByName('PS_LAYERED_FILTER_INDEX_CDT'); - Configuration::deleteByName('PS_LAYERED_FILTER_INDEX_MNF'); - Configuration::deleteByName('PS_LAYERED_FILTER_INDEX_CAT'); - Configuration::deleteByName('PS_LAYERED_FILTER_PRICE_ROUNDING'); - - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_price_index'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_friendly_url'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_indexable_attribute_group'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_indexable_feature'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_indexable_attribute_lang_value'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_indexable_feature_lang_value'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_indexable_feature_value_lang_value'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_category'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_filter'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_filter_shop'); - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_product_attribute'); - return parent::uninstall(); - } - - private static function installPriceIndexTable() - { - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_price_index`'); - - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_price_index` ( - `id_product` INT NOT NULL, - `id_currency` INT NOT NULL, - `id_shop` INT NOT NULL, - `price_min` INT NOT NULL, - `price_max` INT NOT NULL, - PRIMARY KEY (`id_product`, `id_currency`, `id_shop`), - INDEX `id_currency` (`id_currency`), - INDEX `price_min` (`price_min`), INDEX `price_max` (`price_max`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - } - - private function installFriendlyUrlTable() - { - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_friendly_url`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_friendly_url` ( - `id_layered_friendly_url` INT NOT NULL AUTO_INCREMENT, - `url_key` varchar(32) NOT NULL, - `data` varchar(200) NOT NULL, - `id_lang` INT NOT NULL, - PRIMARY KEY (`id_layered_friendly_url`), - INDEX `id_lang` (`id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - - Db::getInstance()->execute('CREATE INDEX `url_key` ON `'._DB_PREFIX_.'layered_friendly_url`(url_key(5))'); - } - - private function installIndexableAttributeTable() - { - // Attributes Groups - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_attribute_group`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_indexable_attribute_group` ( - `id_attribute_group` INT NOT NULL, - `indexable` BOOL NOT NULL DEFAULT 0, - PRIMARY KEY (`id_attribute_group`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'layered_indexable_attribute_group` - SELECT id_attribute_group, 1 FROM `'._DB_PREFIX_.'attribute_group`'); - - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_attribute_group_lang_value`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_indexable_attribute_group_lang_value` ( - `id_attribute_group` INT NOT NULL, - `id_lang` INT NOT NULL, - `url_name` VARCHAR(128), - `meta_title` VARCHAR(128), - PRIMARY KEY (`id_attribute_group`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - - // Attributes - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_attribute_lang_value`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_indexable_attribute_lang_value` ( - `id_attribute` INT NOT NULL, - `id_lang` INT NOT NULL, - `url_name` VARCHAR(128), - `meta_title` VARCHAR(128), - PRIMARY KEY (`id_attribute`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - - - // Features - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_feature`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_indexable_feature` ( - `id_feature` INT NOT NULL, - `indexable` BOOL NOT NULL DEFAULT 0, - PRIMARY KEY (`id_feature`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'layered_indexable_feature` - SELECT id_feature, 1 FROM `'._DB_PREFIX_.'feature`'); - - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_feature_lang_value`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_indexable_feature_lang_value` ( - `id_feature` INT NOT NULL, - `id_lang` INT NOT NULL, - `url_name` VARCHAR(128) NOT NULL, - `meta_title` VARCHAR(128), - PRIMARY KEY (`id_feature`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - - // Features values - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_feature_value_lang_value`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_indexable_feature_value_lang_value` ( - `id_feature_value` INT NOT NULL, - `id_lang` INT NOT NULL, - `url_name` VARCHAR(128), - `meta_title` VARCHAR(128), - PRIMARY KEY (`id_feature_value`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - } - - /** - * - * create table product attribute - */ - public function installProductAttributeTable() - { - Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_product_attribute`'); - Db::getInstance()->execute(' - CREATE TABLE `'._DB_PREFIX_.'layered_product_attribute` ( - `id_attribute` int(10) unsigned NOT NULL, - `id_product` int(10) unsigned NOT NULL, - `id_attribute_group` int(10) unsigned NOT NULL DEFAULT "0", - `id_shop` int(10) unsigned NOT NULL DEFAULT "1", - PRIMARY KEY (`id_attribute`, `id_product`, `id_shop`), - UNIQUE KEY `id_attribute_group` (`id_attribute_group`,`id_attribute`,`id_product`, `id_shop`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - } - - //ATTRIBUTES GROUP - public function hookAfterSaveAttributeGroup($params) - { - if (!$params['id_attribute_group'] || Tools::getValue('layered_indexable') === false) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_group - WHERE `id_attribute_group` = '.(int)$params['id_attribute_group'] - ); - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value - WHERE `id_attribute_group` = '.(int)$params['id_attribute_group'] - ); - - Db::getInstance()->execute( - 'INSERT INTO '._DB_PREFIX_.'layered_indexable_attribute_group (`id_attribute_group`, `indexable`) - VALUES ('.(int)$params['id_attribute_group'].', '.(int)Tools::getValue('layered_indexable').')' - ); - - - foreach (Language::getLanguages(false) as $language) - { - $seo_url = Tools::getValue('url_name_'.(int)$language['id_lang']); - - if(empty($seo_url)) - $seo_url = Tools::getValue('name_'.(int)$language['id_lang']); - - Db::getInstance()->execute( - 'INSERT INTO '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value - (`id_attribute_group`, `id_lang`, `url_name`, `meta_title`) - VALUES ( - '.(int)$params['id_attribute_group'].', '.(int)$language['id_lang'].', - \''.pSQL(Tools::link_rewrite($seo_url)).'\', - \''.pSQL(Tools::getValue('meta_title_'.(int)$language['id_lang']), true).'\' - )' - ); - } - } - - public function hookAfterDeleteAttributeGroup($params) - { - if (!$params['id_attribute_group']) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_group - WHERE `id_attribute_group` = '.(int)$params['id_attribute_group'] - ); - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value - WHERE `id_attribute_group` = '.(int)$params['id_attribute_group'] - ); - } - - public function hookPostProcessAttributeGroup($params) - { - $errors = array(); - - foreach (Language::getLanguages(false) as $language) - { - $id_lang = $language['id_lang']; - - if (Tools::getValue('url_name_'.$id_lang)) - if (Tools::link_rewrite(Tools::getValue('url_name_'.$id_lang)) != strtolower(Tools::getValue('url_name_'.$id_lang))) - $params['errors'][] = Tools::displayError(sprintf($this->l('"%s" is not a valid url'), - Tools::getValue('url_name_'.$id_lang))); - } - } - - public function hookAttributeGroupForm($params) - { - $values = array(); - $is_indexable = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue( - 'SELECT `indexable` - FROM '._DB_PREFIX_.'layered_indexable_attribute_group - WHERE `id_attribute_group` = '.(int)$params['id_attribute_group'] - ); - - if ($is_indexable === false) - $is_indexable = true; - - if ($result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( - 'SELECT `url_name`, `meta_title`, `id_lang` FROM '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value - WHERE `id_attribute_group` = '.(int)$params['id_attribute_group'] - )) - foreach ($result as $data) - $values[$data['id_lang']] = array('url_name' => $data['url_name'], 'meta_title' => $data['meta_title']); - - $this->context->smarty->assign(array( - 'languages' => Language::getLanguages(false), - 'default_form_language' => (int)$this->context->controller->default_form_language, - 'values' => $values, - 'is_indexable' =>(bool)$is_indexable - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'attribute_group_form_1.6.tpl'); - else - return $this->display(__FILE__, 'attribute_group_form.tpl'); - } - - //ATTRIBUTES - public function hookAfterSaveAttribute($params) - { - if (!$params['id_attribute']) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_lang_value - WHERE `id_attribute` = '.(int)$params['id_attribute'] - ); - - foreach (Language::getLanguages(false) as $language) - { - $seo_url = Tools::getValue('url_name_'.(int)$language['id_lang']); - - if(empty($seo_url)) - $seo_url = Tools::getValue('name_'.(int)$language['id_lang']); - - Db::getInstance()->execute( - 'INSERT INTO '._DB_PREFIX_.'layered_indexable_attribute_lang_value - (`id_attribute`, `id_lang`, `url_name`, `meta_title`) - VALUES ( - '.(int)$params['id_attribute'].', '.(int)$language['id_lang'].', - \''.pSQL(Tools::link_rewrite($seo_url)).'\', - \''.pSQL(Tools::getValue('meta_title_'.(int)$language['id_lang']), true).'\' - )' - ); - } - } - - public function hookAfterDeleteAttribute($params) - { - if (!$params['id_attribute']) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_lang_value - WHERE `id_attribute` = '.(int)$params['id_attribute'] - ); - } - - public function hookPostProcessAttribute($params) - { - $errors = array(); - - foreach (Language::getLanguages(false) as $language) - { - $id_lang = $language['id_lang']; - - if (Tools::getValue('url_name_'.$id_lang)) - if (Tools::link_rewrite(Tools::getValue('url_name_'.$id_lang)) != strtolower(Tools::getValue('url_name_'.$id_lang))) - $params['errors'][] = Tools::displayError(sprintf($this->l('"%s" is not a valid url'), - Tools::getValue('url_name_'.$id_lang))); - } - } - - public function hookAttributeForm($params) - { - $values = array(); - - if ($result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( - 'SELECT `url_name`, `meta_title`, `id_lang` - FROM '._DB_PREFIX_.'layered_indexable_attribute_lang_value - WHERE `id_attribute` = '.(int)$params['id_attribute'] - )) - foreach ($result as $data) - $values[$data['id_lang']] = array('url_name' => $data['url_name'], 'meta_title' => $data['meta_title']); - - $this->context->smarty->assign(array( - 'languages' => Language::getLanguages(false), - 'default_form_language' => (int)$this->context->controller->default_form_language, - 'values' => $values - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'attribute_form_1.6.tpl'); - else - return $this->display(__FILE__, 'attribute_form.tpl'); - } - - //FEATURES - public function hookAfterSaveFeature($params) - { - if (!$params['id_feature'] || Tools::getValue('layered_indexable') === false) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_feature - WHERE `id_feature` = '.(int)$params['id_feature'] - ); - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_feature_lang_value - WHERE `id_feature` = '.(int)$params['id_feature'] - ); - - Db::getInstance()->execute( - 'INSERT INTO '._DB_PREFIX_.'layered_indexable_feature - (`id_feature`, `indexable`) - VALUES ('.(int)$params['id_feature'].', '.(int)Tools::getValue('layered_indexable').')' - ); - - foreach (Language::getLanguages(false) as $language) - { - $seo_url = Tools::getValue('url_name_'.(int)$language['id_lang']); - - if(empty($seo_url)) - $seo_url = Tools::getValue('name_'.(int)$language['id_lang']); - - Db::getInstance()->execute( - 'INSERT INTO '._DB_PREFIX_.'layered_indexable_feature_lang_value - (`id_feature`, `id_lang`, `url_name`, `meta_title`) - VALUES ( - '.(int)$params['id_feature'].', '.(int)$language['id_lang'].', - \''.pSQL(Tools::link_rewrite($seo_url)).'\', - \''.pSQL(Tools::getValue('meta_title_'.(int)$language['id_lang']), true).'\' - )' - ); - } - } - - public function hookAfterDeleteFeature($params) - { - if (!$params['id_feature']) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_feature - WHERE `id_feature` = '.(int)$params['id_feature'] - ); - } - - public function hookPostProcessFeature($params) - { - $errors = array(); - - foreach (Language::getLanguages(false) as $language) - { - $id_lang = $language['id_lang']; - - if (Tools::getValue('url_name_'.$id_lang)) - if (Tools::link_rewrite(Tools::getValue('url_name_'.$id_lang)) != strtolower(Tools::getValue('url_name_'.$id_lang))) - $params['errors'][] = Tools::displayError(sprintf($this->l('"%s" is not a valid url'), - Tools::getValue('url_name_'.$id_lang))); - } - } - - public function hookFeatureForm($params) - { - $values = array(); - $is_indexable = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue( - 'SELECT `indexable` - FROM '._DB_PREFIX_.'layered_indexable_feature - WHERE `id_feature` = '.(int)$params['id_feature'] - ); - - if ($is_indexable === false) - $is_indexable = true; - - if ($result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( - 'SELECT `url_name`, `meta_title`, `id_lang` FROM '._DB_PREFIX_.'layered_indexable_feature_lang_value - WHERE `id_feature` = '.(int)$params['id_feature'] - )) - foreach ($result as $data) - $values[$data['id_lang']] = array('url_name' => $data['url_name'], 'meta_title' => $data['meta_title']); - - $this->context->smarty->assign(array( - 'languages' => Language::getLanguages(false), - 'default_form_language' => (int)$this->context->controller->default_form_language, - 'values' => $values, - 'is_indexable' =>(bool)$is_indexable - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'feature_form_1.6.tpl'); - else - return $this->display(__FILE__, 'feature_form.tpl'); - } - - //FEATURES VALUE - public function hookAfterSaveFeatureValue($params) - { - if (!$params['id_feature_value']) - return; - - //Removing all indexed language data for this attribute value id - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_feature_value_lang_value - WHERE `id_feature_value` = '.(int)$params['id_feature_value'] - ); - - foreach (Language::getLanguages(false) as $language) - { - $seo_url = Tools::getValue('url_name_'.(int)$language['id_lang']); - - if(empty($seo_url)) - $seo_url = Tools::getValue('name_'.(int)$language['id_lang']); - - Db::getInstance()->execute( - 'INSERT INTO '._DB_PREFIX_.'layered_indexable_feature_value_lang_value - (`id_feature_value`, `id_lang`, `url_name`, `meta_title`) - VALUES ( - '.(int)$params['id_feature_value'].', '.(int)$language['id_lang'].', - \''.pSQL(Tools::link_rewrite($seo_url)).'\', - \''.pSQL(Tools::getValue('meta_title_'.(int)$language['id_lang']), true).'\' - )' - ); - } - } - - public function hookAfterDeleteFeatureValue($params) - { - if (!$params['id_feature_value']) - return; - - Db::getInstance()->execute( - 'DELETE FROM '._DB_PREFIX_.'layered_indexable_feature_value_lang_value - WHERE `id_feature_value` = '.(int)$params['id_feature_value'] - ); - } - - public function hookPostProcessFeatureValue($params) - { - $errors = array(); - - foreach (Language::getLanguages(false) as $language) - { - $id_lang = $language['id_lang']; - - if (Tools::getValue('url_name_'.$id_lang)) - if (Tools::link_rewrite(Tools::getValue('url_name_'.$id_lang)) != strtolower(Tools::getValue('url_name_'.$id_lang))) - $params['errors'][] = Tools::displayError(sprintf($this->l('"%s" is not a valid url'), - Tools::getValue('url_name_'.$id_lang))); - } - } - - public function hookFeatureValueForm($params) - { - $values = array(); - - if ($result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( - 'SELECT `url_name`, `meta_title`, `id_lang` - FROM '._DB_PREFIX_.'layered_indexable_feature_value_lang_value - WHERE `id_feature_value` = '.(int)$params['id_feature_value'] - )) - foreach ($result as $data) - $values[$data['id_lang']] = array('url_name' => $data['url_name'], 'meta_title' => $data['meta_title']); - - $this->context->smarty->assign(array( - 'languages' => Language::getLanguages(false), - 'default_form_language' => (int)$this->context->controller->default_form_language, - 'values' => $values - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'feature_value_form_1.6.tpl'); - else - return $this->display(__FILE__, 'feature_value_form.tpl'); - } - - public function hookProductListAssign($params) - { - if ((isset($this->context->controller->display_column_left) && !$this->context->controller->display_column_left) - && (isset($this->context->controller->display_column_right) && !$this->context->controller->display_column_right)) - return false; - - global $smarty; - if (!Configuration::getGlobalValue('PS_LAYERED_INDEXED')) - return; - - $categories_count = Db::getInstance()->getValue(' - SELECT COUNT(*) - FROM '._DB_PREFIX_.'layered_category - WHERE id_category = '.(int)Tools::getValue('id_category', Tools::getValue('id_category_layered', Configuration::get('PS_HOME_CATEGORY'))).' - AND id_shop = '.(int) Context::getContext()->shop->id - ); - - if ($categories_count == 0) - return; - - // Inform the hook was executed - $params['hookExecuted'] = true; - // List of product to overrride categoryController - $params['catProducts'] = array(); - $selected_filters = $this->getSelectedFilters(); - $filter_block = $this->getFilterBlock($selected_filters); - $title = ''; - - if (is_array($filter_block['title_values'])) - foreach ($filter_block['title_values'] as $key => $val) - $title .= ' > '.$key.' '.implode('/', $val); - - $smarty->assign('categoryNameComplement', $title); - $this->getProducts($selected_filters, $params['catProducts'], $params['nbProducts'], $p, $n, $pages_nb, $start, $stop, $range); - // Need a nofollow on the pagination links? - $smarty->assign('no_follow', $filter_block['no_follow']); - } - - public function hookAfterSaveProduct($params) - { - if (!$params['id_product']) - return; - - self::indexProductPrices((int)$params['id_product']); - $this->indexAttribute((int)$params['id_product']); - } - - public function hookLeftColumn($params) - { - return $this->generateFiltersBlock($this->getSelectedFilters()); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookHeader($params) - { - if ((isset($this->context->controller->display_column_left) && !$this->context->controller->display_column_left) - && (isset($this->context->controller->display_column_right) && !$this->context->controller->display_column_right)) - return false; - - global $smarty, $cookie; - - // No filters => module disable - if ($filter_block = $this->getFilterBlock($this->getSelectedFilters())) - if ($filter_block['nbr_filterBlocks'] == 0) - return false; - - if (Tools::getValue('id_category', Tools::getValue('id_category_layered', Configuration::get('PS_HOME_CATEGORY'))) == Configuration::get('PS_HOME_CATEGORY')) - return; - - $id_lang = (int)$cookie->id_lang; - $category = new Category((int)Tools::getValue('id_category')); - - // Generate meta title and meta description - $category_title = (empty($category->meta_title[$id_lang]) ? $category->name[$id_lang] : $category->meta_title[$id_lang]); - $category_metas = Meta::getMetaTags($id_lang, 'category'); - $title = ''; - $keywords = ''; - - if (is_array($filter_block['title_values'])) - foreach ($filter_block['title_values'] as $key => $val) - { - $title .= ' > '.$key.' '.implode('/', $val); - $keywords .= $key.' '.implode('/', $val).', '; - } - - $title = $category_title.$title; - - if (!empty($title)) - $smarty->assign('meta_title', $title.' - '.Configuration::get('PS_SHOP_NAME')); - else - $smarty->assign('meta_title', $category_metas['meta_title']); - - $smarty->assign('meta_description', $category_metas['meta_description']); - - $keywords = substr(strtolower($keywords), 0, 1000); - if (!empty($keywords)) - $smarty->assign('meta_keywords', rtrim($category_title.', '.$keywords.', '.$category_metas['meta_keywords'], ', ')); - - - $this->context->controller->addJS(($this->_path).'blocklayered.js'); - $this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery-ui-1.8.10.custom.min.js'); - $this->context->controller->addJQueryUI('ui.slider'); - $this->context->controller->addCSS(_PS_CSS_DIR_.'jquery-ui-1.8.10.custom.css'); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $this->context->controller->addCSS(($this->_path).'blocklayered.css', 'all'); - else - $this->context->controller->addCSS(($this->_path).'blocklayered-15.css', 'all'); - $this->context->controller->addJQueryPlugin('scrollTo'); - - $filters = $this->getSelectedFilters(); - - // Get non indexable attributes - $attribute_group_list = Db::getInstance()->executeS('SELECT id_attribute_group FROM '._DB_PREFIX_.'layered_indexable_attribute_group WHERE indexable = 0'); - // Get non indexable features - $feature_list = Db::getInstance()->executeS('SELECT id_feature FROM '._DB_PREFIX_.'layered_indexable_feature WHERE indexable = 0'); - - $attributes = array(); - $features = array(); - - $blacklist = array('weight', 'price'); - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_CDT')) - $blacklist[] = 'condition'; - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_QTY')) - $blacklist[] = 'quantity'; - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_MNF')) - $blacklist[] = 'manufacturer'; - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_CAT')) - $blacklist[] = 'category'; - - foreach ($filters as $type => $val) - { - switch ($type) - { - case 'id_attribute_group': - foreach ($val as $attr) - { - $attr_id = preg_replace('/_\d+$/', '', $attr); - if (in_array($attr_id, $attributes) || in_array(array('id_attribute_group' => $attr_id), $attribute_group_list)) - { - $smarty->assign('nobots', true); - $smarty->assign('nofollow', true); - return; - } - $attributes[] = $attr_id; - } - break; - case 'id_feature': - foreach ($val as $feat) - { - $feat_id = preg_replace('/_\d+$/', '', $feat); - if (in_array($feat_id, $features) || in_array(array('id_feature' => $feat_id), $feature_list)) - { - $smarty->assign('nobots', true); - $smarty->assign('nofollow', true); - return; - } - $features[] = $feat_id; - } - break; - default: - if (in_array($type, $blacklist)) - { - if (count($val)) - { - $smarty->assign('nobots', true); - $smarty->assign('nofollow', true); - return; - } - } - elseif (count($val) > 1) - { - $smarty->assign('nobots', true); - $smarty->assign('nofollow', true); - return; - } - break; - } - } - } - - public function hookFooter($params) - { - if ((isset($this->context->controller->display_column_left) && !$this->context->controller->display_column_left) - && (isset($this->context->controller->display_column_right) && !$this->context->controller->display_column_right)) - return false; - - // No filters => module disable - if ($filter_block = $this->getFilterBlock($this->getSelectedFilters())) - if ($filter_block['nbr_filterBlocks'] == 0) - return false; - - if (Dispatcher::getInstance()->getController() == 'category') - $this->context->controller->addJS($this->_path.'blocklayered-footer.js'); - } - - public function hookCategoryAddition($params) - { - $this->rebuildLayeredCache(array(), array((int)$params['category']->id)); - } - - public function hookCategoryUpdate($params) - { - /* The category status might (active, inactive) have changed, we have to update the layered cache table structure */ - if (isset($params['category']) && !$params['category']->active) - $this->hookCategoryDeletion($params); - } - - public function hookCategoryDeletion($params) - { - $layered_filter_list = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( - 'SELECT * FROM '._DB_PREFIX_.'layered_filter' - ); - - foreach ($layered_filter_list as $layered_filter) - { - $data = Tools::unSerialize($layered_filter['filters']); - - if (in_array((int)$params['category']->id, $data['categories'])) - { - unset($data['categories'][array_search((int)$params['category']->id, $data['categories'])]); - Db::getInstance()->execute( - 'UPDATE `'._DB_PREFIX_.'layered_filter` - SET `filters` = \''.pSQL(serialize($data)).'\' - WHERE `id_layered_filter` = '.(int)$layered_filter['id_layered_filter'] - ); - } - } - - $this->buildLayeredCategories(); - } - - /* - * Generate data product attribute - */ - public function indexAttribute($id_product = null) - { - if (is_null($id_product)) - Db::getInstance()->execute('TRUNCATE '._DB_PREFIX_.'layered_product_attribute'); - else - Db::getInstance()->execute(' - DELETE FROM '._DB_PREFIX_.'layered_product_attribute - WHERE id_product = '.(int)$id_product - ); - - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'layered_product_attribute` (`id_attribute`, `id_product`, `id_attribute_group`, `id_shop`) - SELECT pac.id_attribute, pa.id_product, ag.id_attribute_group, product_attribute_shop.`id_shop` - FROM '._DB_PREFIX_.'product_attribute pa'. - Shop::addSqlAssociation('product_attribute', 'pa').' - INNER JOIN '._DB_PREFIX_.'product_attribute_combination pac ON pac.id_product_attribute = pa.id_product_attribute - INNER JOIN '._DB_PREFIX_.'attribute a ON (a.id_attribute = pac.id_attribute) - INNER JOIN '._DB_PREFIX_.'attribute_group ag ON ag.id_attribute_group = a.id_attribute_group - '.(is_null($id_product) ? '' : 'AND pa.id_product = '.(int)$id_product).' - GROUP BY a.id_attribute, pa.id_product , product_attribute_shop.`id_shop`' - ); - - return 1; - } - - /* - * Url indexation - */ - public function indexUrl($ajax = false, $truncate = true) - { - if ($truncate) - Db::getInstance()->execute('TRUNCATE '._DB_PREFIX_.'layered_friendly_url'); - - $attribute_values_by_lang = array(); - $filters = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT lc.*, id_lang, name, link_rewrite, cl.id_category - FROM '._DB_PREFIX_.'layered_category lc - INNER JOIN '._DB_PREFIX_.'category_lang cl ON (cl.id_category = lc.id_category AND lc.id_category <> 1 ) - GROUP BY type, id_value, id_lang' - ); - - if (!$filters) - return; - - foreach ($filters as $filter) - switch ($filter['type']) - { - case 'id_attribute_group': - $attributes = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT agl.public_name name, a.id_attribute_group id_name, al.name value, a.id_attribute id_value, al.id_lang, - liagl.url_name name_url_name, lial.url_name value_url_name - FROM '._DB_PREFIX_.'attribute_group ag - INNER JOIN '._DB_PREFIX_.'attribute_group_lang agl ON (agl.id_attribute_group = ag.id_attribute_group) - INNER JOIN '._DB_PREFIX_.'attribute a ON (a.id_attribute_group = ag.id_attribute_group) - INNER JOIN '._DB_PREFIX_.'attribute_lang al ON (al.id_attribute = a.id_attribute) - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_group liag ON (liag.id_attribute_group = a.id_attribute_group) - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value liagl - ON (liagl.id_attribute_group = ag.id_attribute_group AND liagl.id_lang = '.(int)$filter['id_lang'].') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_lang_value lial - ON (lial.id_attribute = a.id_attribute AND lial.id_lang = '.(int)$filter['id_lang'].') - WHERE a.id_attribute_group = '.(int)$filter['id_value'].' AND agl.id_lang = al.id_lang AND agl.id_lang = '.(int)$filter['id_lang'] - ); - - foreach ($attributes as $attribute) - { - if (!isset($attribute_values_by_lang[$attribute['id_lang']])) - $attribute_values_by_lang[$attribute['id_lang']] = array(); - if (!isset($attribute_values_by_lang[$attribute['id_lang']]['c'.$attribute['id_name']])) - $attribute_values_by_lang[$attribute['id_lang']]['c'.$attribute['id_name']] = array(); - $attribute_values_by_lang[$attribute['id_lang']]['c'.$attribute['id_name']][] = array( - 'name' => (!empty($attribute['name_url_name']) ? $attribute['name_url_name'] : $attribute['name']), - 'id_name' => 'c'.$attribute['id_name'], - 'value' => (!empty($attribute['value_url_name']) ? $attribute['value_url_name'] : $attribute['value']), - 'id_value' => $attribute['id_name'].'_'.$attribute['id_value'], - 'id_id_value' => $attribute['id_value'], - 'category_name' => $filter['link_rewrite'], - 'type' => $filter['type']); - } - break; - - case 'id_feature': - $features = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT fl.name name, fl.id_feature id_name, fvl.id_feature_value id_value, fvl.value value, fl.id_lang, fl.id_lang, - lifl.url_name name_url_name, lifvl.url_name value_url_name - FROM '._DB_PREFIX_.'feature_lang fl - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature lif ON (lif.id_feature = fl.id_feature) - INNER JOIN '._DB_PREFIX_.'feature_value fv ON (fv.id_feature = fl.id_feature) - INNER JOIN '._DB_PREFIX_.'feature_value_lang fvl ON (fvl.id_feature_value = fv.id_feature_value) - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature_lang_value lifl - ON (lifl.id_feature = fl.id_feature AND lifl.id_lang = '.(int)$filter['id_lang'].') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature_value_lang_value lifvl - ON (lifvl.id_feature_value = fvl.id_feature_value AND lifvl.id_lang = '.(int)$filter['id_lang'].') - WHERE fl.id_feature = '.(int)$filter['id_value'].' AND fvl.id_lang = fl.id_lang AND fvl.id_lang = '.(int)$filter['id_lang'] - ); - - foreach ($features as $feature) - { - if (!isset($attribute_values_by_lang[$feature['id_lang']])) - $attribute_values_by_lang[$feature['id_lang']] = array(); - if (!isset($attribute_values_by_lang[$feature['id_lang']]['f'.$feature['id_name']])) - $attribute_values_by_lang[$feature['id_lang']]['f'.$feature['id_name']] = array(); - $attribute_values_by_lang[$feature['id_lang']]['f'.$feature['id_name']][] = array( - 'name' => (!empty($feature['name_url_name']) ? $feature['name_url_name'] : $feature['name']), - 'id_name' => 'f'.$feature['id_name'], - 'value' => (!empty($feature['value_url_name']) ? $feature['value_url_name'] : $feature['value']), - 'id_value' => $feature['id_name'].'_'.$feature['id_value'], - 'id_id_value' => $feature['id_value'], - 'category_name' => $filter['link_rewrite'], - 'type' => $filter['type']); - } - break; - - case 'category': - $categories = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT cl.name, cl.id_lang, c.id_category - FROM '._DB_PREFIX_.'category c - INNER JOIN '._DB_PREFIX_.'category_lang cl ON (c.id_category = cl.id_category) - WHERE cl.id_lang = '.(int)$filter['id_lang'] - ); - - foreach ($categories as $category) - { - if (!isset($attribute_values_by_lang[$category['id_lang']])) - $attribute_values_by_lang[$category['id_lang']] = array(); - if (!isset($attribute_values_by_lang[$category['id_lang']]['category'])) - $attribute_values_by_lang[$category['id_lang']]['category'] = array(); - $attribute_values_by_lang[$category['id_lang']]['category'][] = array('name' => $this->translateWord('Categories', $category['id_lang']), - 'id_name' => null, 'value' => $category['name'], 'id_value' => $category['id_category'], - 'category_name' => $filter['link_rewrite'], 'type' => $filter['type']); - } - break; - - case 'manufacturer': - $manufacturers = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT m.name as name,l.id_lang as id_lang, id_manufacturer - FROM '._DB_PREFIX_.'manufacturer m , '._DB_PREFIX_.'lang l - WHERE l.id_lang = '.(int)$filter['id_lang'] - ); - - foreach ($manufacturers as $manufacturer) - { - if (!isset($attribute_values_by_lang[$manufacturer['id_lang']])) - $attribute_values_by_lang[$manufacturer['id_lang']] = array(); - if (!isset($attribute_values_by_lang[$manufacturer['id_lang']]['manufacturer'])) - $attribute_values_by_lang[$manufacturer['id_lang']]['manufacturer'] = array(); - $attribute_values_by_lang[$manufacturer['id_lang']]['manufacturer'][] = array('name' => $this->translateWord('Manufacturer', $manufacturer['id_lang']), - 'id_name' => null, 'value' => $manufacturer['name'], 'id_value' => $manufacturer['id_manufacturer'], - 'category_name' => $filter['link_rewrite'], 'type' => $filter['type']); - } - break; - - case 'quantity': - $avaibility_list = array( - $this->translateWord('Not available', (int)$filter['id_lang']), - $this->translateWord('In stock', (int)$filter['id_lang']) - ); - foreach ($avaibility_list as $key => $quantity) - $attribute_values_by_lang[$filter['id_lang']]['quantity'][] = array('name' => $this->translateWord('Availability', (int)$filter['id_lang']), - 'id_name' => null, 'value' => $quantity, 'id_value' => $key, 'id_id_value' => 0, - 'category_name' => $filter['link_rewrite'], 'type' => $filter['type']); - break; - - case 'condition': - $condition_list = array( - 'new' => $this->translateWord('New', (int)$filter['id_lang']), - 'used' => $this->translateWord('Used', (int)$filter['id_lang']), - 'refurbished' => $this->translateWord('Refurbished', (int)$filter['id_lang']) - ); - foreach ($condition_list as $key => $condition) - $attribute_values_by_lang[$filter['id_lang']]['condition'][] = array('name' => $this->translateWord('Condition', (int)$filter['id_lang']), - 'id_name' => null, 'value' => $condition, 'id_value' => $key, - 'category_name' => $filter['link_rewrite'], 'type' => $filter['type']); - break; - } - - // Foreach langs - foreach ($attribute_values_by_lang as $id_lang => $attribute_values) - { - // Foreach attributes generate a couple "/_". For example: color_blue - foreach ($attribute_values as $attribute) - foreach ($attribute as $param) - { - $selected_filters = array(); - $link = '/'.str_replace($this->getAnchor(), '_', Tools::link_rewrite($param['name'])).$this->getAnchor().str_replace($this->getAnchor(), '_', Tools::link_rewrite($param['value'])); - $selected_filters[$param['type']] = array(); - - if (!isset($param['id_id_value'])) - $param['id_id_value'] = $param['id_value']; - - $selected_filters[$param['type']][$param['id_id_value']] = $param['id_value']; - $url_key = md5($link); - $id_layered_friendly_url = Db::getInstance()->getValue(' - SELECT id_layered_friendly_url - FROM `'._DB_PREFIX_.'layered_friendly_url` WHERE `id_lang` = '.$id_lang.' AND `url_key` = \''.$url_key.'\'' - ); - - if ($id_layered_friendly_url == false) - { - Db::getInstance()->insert('layered_friendly_url', array('url_key' => $url_key, 'data' => serialize($selected_filters), 'id_lang' => (int)$id_lang)); - $id_layered_friendly_url = Db::getInstance()->Insert_ID(); - } - } - } - - if ($ajax) - return '{"result": 1}'; - else - return 1; - } - - /* - * $cursor $cursor in order to restart indexing from the last state - */ - public static function fullPricesIndexProcess($cursor = 0, $ajax = false, $smart = false) - { - if ($cursor == 0 && !$smart) - self::installPriceIndexTable(); - - return self::indexPrices($cursor, true, $ajax, $smart); - } - - /* - * $cursor $cursor in order to restart indexing from the last state - */ - public static function pricesIndexProcess($cursor = 0, $ajax = false) - { - return self::indexPrices($cursor, false, $ajax); - } - - private static function indexPrices($cursor = null, $full = false, $ajax = false, $smart = false) - { - if ($full) - $nb_products = (int)Db::getInstance()->getValue(' - SELECT count(DISTINCT p.`id_product`) - FROM '._DB_PREFIX_.'product p - INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog"))'); - else - $nb_products = (int)Db::getInstance()->getValue(' - SELECT COUNT(DISTINCT p.`id_product`) FROM `'._DB_PREFIX_.'product` p - INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog")) - LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) - WHERE psi.id_product IS NULL'); - - $max_executiontime = @ini_get('max_execution_time'); - if ($max_executiontime > 5 || $max_executiontime <= 0) - $max_executiontime = 5; - - $start_time = microtime(true); - - if (function_exists('memory_get_peak_usage')) - do - { - $cursor = (int)self::indexPricesUnbreakable((int)$cursor, $full, $smart); - $time_elapsed = microtime(true) - $start_time; - } - while ($cursor < $nb_products && Tools::getMemoryLimit() > memory_get_peak_usage() && $time_elapsed < $max_executiontime); - else - do - { - $cursor = (int)self::indexPricesUnbreakable((int)$cursor, $full, $smart); - $time_elapsed = microtime(true) - $start_time; - } - while ($cursor < $nb_products && $time_elapsed < $max_executiontime); - - if (($nb_products > 0 && !$full || $cursor < $nb_products && $full) && !$ajax) - { - $token = substr(Tools::encrypt('blocklayered/index'), 0, 10); - if (Tools::usingSecureMode()) - $domain = Tools::getShopDomainSsl(true); - else - $domain = Tools::getShopDomain(true); - - if (!Tools::file_get_contents($domain.__PS_BASE_URI__.'modules/blocklayered/blocklayered-price-indexer.php?token='.$token.'&cursor='.(int)$cursor.'&full='.(int)$full)) - self::indexPrices((int)$cursor, (int)$full); - return $cursor; - } - if ($ajax && $nb_products > 0 && $cursor < $nb_products && $full) - return '{"cursor": '.$cursor.', "count": '.($nb_products - $cursor).'}'; - else if ($ajax && $nb_products > 0 && !$full) - return '{"cursor": '.$cursor.', "count": '.($nb_products).'}'; - else - { - Configuration::updateGlobalValue('PS_LAYERED_INDEXED', 1); - - if ($ajax) - return '{"result": "ok"}'; - else - return -1; - } - } - - /* - * $cursor $cursor in order to restart indexing from the last state - */ - private static function indexPricesUnbreakable($cursor, $full = false, $smart = false) - { - static $length = 100; // Nb of products to index - - if (is_null($cursor)) - $cursor = 0; - - if ($full) - $query = ' - SELECT p.`id_product` - FROM `'._DB_PREFIX_.'product` p - INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog")) - GROUP BY p.`id_product` - ORDER BY p.`id_product` LIMIT '.(int)$cursor.','.(int)$length; - else - $query = ' - SELECT p.`id_product` - FROM `'._DB_PREFIX_.'product` p - INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog")) - LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) - WHERE psi.id_product IS NULL - GROUP BY p.`id_product` - ORDER BY p.`id_product` LIMIT 0,'.(int)$length; - - foreach (Db::getInstance()->executeS($query) as $product) - self::indexProductPrices((int)$product['id_product'], ($smart && $full)); - - return (int)($cursor + $length); - } - - public static function indexProductPrices($id_product, $smart = true) - { - static $groups = null; - - if (is_null($groups)) - { - $groups = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT id_group FROM `'._DB_PREFIX_.'group_reduction`'); - if (!$groups) - $groups = array(); - } - - $shop_list = Shop::getShops(false, null, true); - - foreach ($shop_list as $id_shop) - { - static $currency_list = null; - - if (is_null($currency_list)) - $currency_list = Currency::getCurrencies(false, 1, new Shop($id_shop)); - - $min_price = array(); - $max_price = array(); - - if ($smart) - Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'layered_price_index` WHERE `id_product` = '.(int)$id_product.' AND `id_shop` = '.(int)$id_shop); - - if (Configuration::get('PS_LAYERED_FILTER_PRICE_USETAX')) - $max_tax_rate = Db::getInstance()->getValue(' - SELECT max(t.rate) max_rate - FROM `'._DB_PREFIX_.'product_shop` p - LEFT JOIN `'._DB_PREFIX_.'tax_rules_group` trg ON (trg.id_tax_rules_group = p.id_tax_rules_group AND p.id_shop = '.(int)$id_shop.') - LEFT JOIN `'._DB_PREFIX_.'tax_rule` tr ON (tr.id_tax_rules_group = trg.id_tax_rules_group) - LEFT JOIN `'._DB_PREFIX_.'tax` t ON (t.id_tax = tr.id_tax AND t.active = 1) - WHERE id_product = '.(int)$id_product.' - GROUP BY id_product'); - else - $max_tax_rate = 0; - - $product_min_prices = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT id_shop, id_currency, id_country, id_group, from_quantity - FROM `'._DB_PREFIX_.'specific_price` - WHERE id_product = '.(int)$id_product); - - // Get min price - foreach ($currency_list as $currency) - { - $price = Product::priceCalculation($id_shop, (int)$id_product, null, null, null, null, - $currency['id_currency'], null, null, false, 6, false, true, true, - $specific_price_output, true); - - if (!isset($max_price[$currency['id_currency']])) - $max_price[$currency['id_currency']] = 0; - if (!isset($min_price[$currency['id_currency']])) - $min_price[$currency['id_currency']] = null; - if ($price > $max_price[$currency['id_currency']]) - $max_price[$currency['id_currency']] = $price; - if ($price == 0) - continue; - if (is_null($min_price[$currency['id_currency']]) || $price < $min_price[$currency['id_currency']]) - $min_price[$currency['id_currency']] = $price; - } - - foreach ($product_min_prices as $specific_price) - foreach ($currency_list as $currency) - { - if ($specific_price['id_currency'] && $specific_price['id_currency'] != $currency['id_currency']) - continue; - $price = Product::priceCalculation((($specific_price['id_shop'] == 0) ? null : (int)$specific_price['id_shop']), (int)$id_product, - null, (($specific_price['id_country'] == 0) ? null : $specific_price['id_country']), null, null, - $currency['id_currency'], (($specific_price['id_group'] == 0) ? null : $specific_price['id_group']), - $specific_price['from_quantity'], false, 6, false, true, true, $specific_price_output, true); - - if (!isset($max_price[$currency['id_currency']])) - $max_price[$currency['id_currency']] = 0; - if (!isset($min_price[$currency['id_currency']])) - $min_price[$currency['id_currency']] = null; - if ($price > $max_price[$currency['id_currency']]) - $max_price[$currency['id_currency']] = $price; - if ($price == 0) - continue; - if (is_null($min_price[$currency['id_currency']]) || $price < $min_price[$currency['id_currency']]) - $min_price[$currency['id_currency']] = $price; - } - - foreach ($groups as $group) - foreach ($currency_list as $currency) - { - $price = Product::priceCalculation(null, (int)$id_product, null, null, null, null, (int)$currency['id_currency'], (int)$group['id_group'], - null, false, 6, false, true, true, $specific_price_output, true); - - if (!isset($max_price[$currency['id_currency']])) - $max_price[$currency['id_currency']] = 0; - if (!isset($min_price[$currency['id_currency']])) - $min_price[$currency['id_currency']] = null; - if ($price > $max_price[$currency['id_currency']]) - $max_price[$currency['id_currency']] = $price; - if ($price == 0) - continue; - if (is_null($min_price[$currency['id_currency']]) || $price < $min_price[$currency['id_currency']]) - $min_price[$currency['id_currency']] = $price; - } - - $values = array(); - foreach ($currency_list as $currency) - $values[] = '('.(int)$id_product.', - '.(int)$currency['id_currency'].', - '.$id_shop.', - '.(int)$min_price[$currency['id_currency']].', - '.(int)Tools::ps_round($max_price[$currency['id_currency']] * (100 + $max_tax_rate) / 100, 0).')'; - - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'layered_price_index` (id_product, id_currency, id_shop, price_min, price_max) - VALUES '.implode(',', $values).' - ON DUPLICATE KEY UPDATE id_product = id_product # avoid duplicate keys'); - } - } - - public function translateWord($string, $id_lang ) - { - static $_MODULES = array(); - global $_MODULE; - - $file = _PS_MODULE_DIR_.$this->name.'/translations/'.Language::getIsoById($id_lang).'.php'; - - if (!array_key_exists($id_lang, $_MODULES)) - { - if (file_exists($file1 = _PS_MODULE_DIR_.$this->name.'/translations/'.Language::getIsoById($id_lang).'.php')) - { - include($file1); - $_MODULES[$id_lang] = $_MODULE; - } - elseif (file_exists($file2 = _PS_MODULE_DIR_.$this->name.'/'.Language::getIsoById($id_lang).'.php')) - { - include($file2); - $_MODULES[$id_lang] = $_MODULE; - } - else - return $string; - } - - $string = str_replace('\'', '\\\'', $string); - - // set array key to lowercase for 1.3 compatibility - $_MODULES[$id_lang] = array_change_key_case($_MODULES[$id_lang]); - $current_key = '<{'.strtolower( $this->name).'}'.strtolower(_THEME_NAME_).'>'.strtolower($this->name).'_'.md5($string); - $default_key = '<{'.strtolower( $this->name).'}prestashop>'.strtolower($this->name).'_'.md5($string); - - if (isset($_MODULES[$id_lang][$current_key])) - $ret = stripslashes($_MODULES[$id_lang][$current_key]); - else if (isset($_MODULES[$id_lang][Tools::strtolower($current_key)])) - $ret = stripslashes($_MODULES[$id_lang][Tools::strtolower($current_key)]); - else if (isset($_MODULES[$id_lang][$default_key])) - $ret = stripslashes($_MODULES[$id_lang][$default_key]); - else if (isset($_MODULES[$id_lang][Tools::strtolower($default_key)])) - $ret = stripslashes($_MODULES[$id_lang][Tools::strtolower($default_key)]); - else - $ret = stripslashes($string); - - return str_replace('"', '"', $ret); - } - - public function getContent() - { - global $cookie; - $message = ''; - - if (Tools::isSubmit('SubmitFilter')) - { - if (!Tools::getValue('layered_tpl_name')) - $message = $this->displayError($this->l('Filter template name required (cannot be empty)')); - elseif (!Tools::getValue('categoryBox')) - $message = $this->displayError($this->l('You must select at least one category.')); - else - { - if (Tools::getValue('id_layered_filter')) - { - Db::getInstance()->execute(' - DELETE FROM '._DB_PREFIX_.'layered_filter - WHERE id_layered_filter = '.(int)Tools::getValue('id_layered_filter') - ); - $this->buildLayeredCategories(); - } - - if (Tools::getValue('scope') == 1) - { - Db::getInstance()->execute('TRUNCATE TABLE '._DB_PREFIX_.'layered_filter'); - $categories = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT id_category - FROM '._DB_PREFIX_.'category' - ); - - foreach ($categories as $category) - $_POST['categoryBox'][] = (int)$category['id_category']; - } - - $id_layered_filter = (int)Tools::getValue('id_layered_filter'); - - if (!$id_layered_filter) - $id_layered_filter = (int)Db::getInstance()->Insert_ID(); - - $shop_list = array(); - - if (isset($_POST['checkBoxShopAsso_layered_filter'])) - { - foreach ($_POST['checkBoxShopAsso_layered_filter'] as $id_shop => $row) - { - $assos[] = array('id_object' => (int)$id_layered_filter, 'id_shop' => (int)$id_shop); - $shop_list[] = (int)$id_shop; - } - } - else - $shop_list = array(Context::getContext()->shop->id); - - Db::getInstance()->execute(' - DELETE FROM '._DB_PREFIX_.'layered_filter_shop - WHERE `id_layered_filter` = '.(int)$id_layered_filter - ); - - if (count($_POST['categoryBox'])) - { - /* Clean categoryBox before use */ - if (isset($_POST['categoryBox']) && is_array($_POST['categoryBox'])) - foreach ($_POST['categoryBox'] as &$category_box_tmp) - $category_box_tmp = (int)$category_box_tmp; - - $filter_values = array(); - - foreach ($_POST['categoryBox'] as $idc) - $filter_values['categories'][] = (int)$idc; - - $filter_values['shop_list'] = $shop_list; - $values = false; - - foreach ($_POST['categoryBox'] as $id_category_layered) - { - foreach ($_POST as $key => $value) - if (substr($key, 0, 17) == 'layered_selection' && $value == 'on') - { - $values = true; - $type = 0; - $limit = 0; - - if (Tools::getValue($key.'_filter_type')) - $type = Tools::getValue($key.'_filter_type'); - if (Tools::getValue($key.'_filter_show_limit')) - $limit = Tools::getValue($key.'_filter_show_limit'); - - $filter_values[$key] = array( - 'filter_type' => (int)$type, - 'filter_show_limit' => (int)$limit - ); - } - } - - $values_to_insert = array( - 'name' => pSQL(Tools::getValue('layered_tpl_name')), - 'filters' => pSQL(serialize($filter_values)), - 'n_categories' => (int)count($filter_values['categories']), - 'date_add' => date('Y-m-d H:i:s')); - - if (isset($_POST['id_layered_filter']) && $_POST['id_layered_filter']) - $values_to_insert['id_layered_filter'] = (int)Tools::getValue('id_layered_filter'); - - Db::getInstance()->autoExecute(_DB_PREFIX_.'layered_filter', $values_to_insert, 'INSERT'); - $id_layered_filter = (int)Db::getInstance()->Insert_ID(); - - if (isset($assos)) - foreach ($assos as $asso) - Db::getInstance()->execute(' - INSERT INTO '._DB_PREFIX_.'layered_filter_shop (`id_layered_filter`, `id_shop`) - VALUES('.$id_layered_filter.', '.(int)$asso['id_shop'].')' - ); - - $this->buildLayeredCategories(); - $message = $this->displayConfirmation($this->l('Your filter').' "'.Tools::safeOutput(Tools::getValue('layered_tpl_name')).'" '. - ((isset($_POST['id_layered_filter']) && $_POST['id_layered_filter']) ? $this->l('was updated successfully.') : $this->l('was added successfully.'))); - } - } - } - else if (Tools::isSubmit('submitLayeredSettings')) - { - Configuration::updateValue('PS_LAYERED_HIDE_0_VALUES', (int)Tools::getValue('ps_layered_hide_0_values')); - Configuration::updateValue('PS_LAYERED_SHOW_QTIES', (int)Tools::getValue('ps_layered_show_qties')); - Configuration::updateValue('PS_LAYERED_FULL_TREE', (int)Tools::getValue('ps_layered_full_tree')); - Configuration::updateValue('PS_LAYERED_FILTER_PRICE_USETAX', (int)Tools::getValue('ps_layered_filter_price_usetax')); - Configuration::updateValue('PS_LAYERED_FILTER_CATEGORY_DEPTH', (int)Tools::getValue('ps_layered_filter_category_depth')); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_QTY', (int)Tools::getValue('ps_layered_filter_index_availability')); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_CDT', (int)Tools::getValue('ps_layered_filter_index_condition')); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_MNF', (int)Tools::getValue('ps_layered_filter_index_manufacturer')); - Configuration::updateValue('PS_LAYERED_FILTER_INDEX_CAT', (int)Tools::getValue('ps_layered_filter_index_category')); - Configuration::updateValue('PS_LAYERED_FILTER_PRICE_ROUNDING', (int)Tools::getValue('ps_layered_filter_price_rounding')); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $message = '
    '.$this->l('Settings saved successfully').'
    '; - else - $message = '
    '.$this->l('Settings saved successfully').'
    '; - } - else if (Tools::getValue('deleteFilterTemplate')) - { - $layered_values = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue(' - SELECT filters - FROM '._DB_PREFIX_.'layered_filter - WHERE id_layered_filter = '.(int)Tools::getValue('id_layered_filter') - ); - - if ($layered_values) - { - Db::getInstance()->execute(' - DELETE FROM '._DB_PREFIX_.'layered_filter - WHERE id_layered_filter = '.(int)Tools::getValue('id_layered_filter').' LIMIT 1' - ); - $this->buildLayeredCategories(); - $message = $this->displayConfirmation($this->l('Filter template deleted, categories updated (reverted to default Filter template).')); - } - else - $message = $this->displayError($this->l('Filter template not found')); - } - - $category_box = array(); - $attribute_groups = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT ag.id_attribute_group, ag.is_color_group, agl.name, COUNT(DISTINCT(a.id_attribute)) n - FROM '._DB_PREFIX_.'attribute_group ag - LEFT JOIN '._DB_PREFIX_.'attribute_group_lang agl ON (agl.id_attribute_group = ag.id_attribute_group) - LEFT JOIN '._DB_PREFIX_.'attribute a ON (a.id_attribute_group = ag.id_attribute_group) - WHERE agl.id_lang = '.(int)$cookie->id_lang.' - GROUP BY ag.id_attribute_group' - ); - - $features = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT fl.id_feature, fl.name, COUNT(DISTINCT(fv.id_feature_value)) n - FROM '._DB_PREFIX_.'feature_lang fl - LEFT JOIN '._DB_PREFIX_.'feature_value fv ON (fv.id_feature = fl.id_feature) - WHERE (fv.custom IS NULL OR fv.custom = 0) AND fl.id_lang = '.(int)$cookie->id_lang.' - GROUP BY fl.id_feature' - ); - - if (Shop::isFeatureActive() && count(Shop::getShops(true, null, true)) > 1) - { - $helper = new HelperForm(); - $helper->id = Tools::getValue('id_layered_filter', null); - $helper->table = 'layered_filter'; - $helper->identifier = 'id_layered_filter'; - $this->context->smarty->assign('asso_shops', $helper->renderAssoShop()); - } - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - { - $tree_categories_helper = new HelperTreeCategories('categories-treeview'); - $tree_categories_helper->setRootCategory((Shop::getContext() == Shop::CONTEXT_SHOP ? Category::getRootCategory()->id_category : 0)) - ->setUseCheckBox(true); - } - else - { - if (Shop::getContext() == Shop::CONTEXT_SHOP) - { - $root_category = Category::getRootCategory(); - $root_category = array('id_category' => $root_category->id_category, 'name' => $root_category->name); - } - else - $root_category = array('id_category' => '0', 'name' => $this->l('Root')); - - $tree_categories_helper = new Helper(); - } - - $module_url = Tools::getProtocol(Tools::usingSecureMode()).$_SERVER['HTTP_HOST'].$this->getPathUri(); - - if (method_exists($this->context->controller, 'addJquery')) - { - $this->context->controller->addJS($this->_path.'js/blocklayered_admin.js'); - - if (version_compare(_PS_VERSION_, '1.6.0.3', '>=') === true) - $this->context->controller->addjqueryPlugin('sortable'); - elseif (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $this->context->controller->addJS(_PS_JS_DIR_.'jquery/plugins/jquery.sortable.js'); - else - $this->context->controller->addJS($this->_path.'js/jquery.sortable.js'); - } - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $this->context->controller->addCSS($this->_path.'css/blocklayered_admin_1.6.css'); - else - $this->context->controller->addCSS($this->_path.'css/blocklayered_admin.css'); - - if (Tools::getValue('add_new_filters_template')) - { - $this->context->smarty->assign(array( - 'current_url' => $this->context->link->getAdminLink('AdminModules').'&configure=blocklayered&tab_module=front_office_features&module_name=blocklayered', - 'uri' => $this->getPathUri(), - 'id_layered_filter' => 0, - 'template_name' => sprintf($this->l('My template - %s'), date('Y-m-d')), - 'attribute_groups' => $attribute_groups, - 'features' => $features, - 'total_filters' => 6+count($attribute_groups)+count($features) - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $this->context->smarty->assign('categories_tree', $tree_categories_helper->render()); - else - $this->context->smarty->assign('categories_tree', $tree_categories_helper->renderCategoryTree( - $root_category, array(), 'categoryBox')); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'views/templates/admin/add_1.6.tpl'); - else - return $this->display(__FILE__, 'views/templates/admin/add.tpl'); - } - else if (Tools::getValue('edit_filters_template')) - { - $template = Db::getInstance()->getRow(' - SELECT * - FROM `'._DB_PREFIX_.'layered_filter` - WHERE id_layered_filter = '.(int)Tools::getValue('id_layered_filter') - ); - - $filters = Tools::unSerialize($template['filters']); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - { - $tree_categories_helper->setSelectedCategories($filters['categories']); - $this->context->smarty->assign('categories_tree', $tree_categories_helper->render()); - } - else - $this->context->smarty->assign('categories_tree',$tree_categories_helper->renderCategoryTree( - $root_category, $filters['categories'], 'categoryBox')); - - $select_shops = $filters['shop_list']; - unset($filters['categories']); - unset($filters['shop_list']); - - $this->context->smarty->assign(array( - 'current_url' => $this->context->link->getAdminLink('AdminModules').'&configure=blocklayered&tab_module=front_office_features&module_name=blocklayered', - 'uri' => $this->getPathUri(), - 'id_layered_filter' => (int)Tools::getValue('id_layered_filter'), - 'template_name' => $template['name'], - 'attribute_groups' => $attribute_groups, - 'features' => $features, - 'filters' => json_encode($filters), - 'total_filters' => 6+count($attribute_groups)+count($features) - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'views/templates/admin/add_1.6.tpl'); - else - return $this->display(__FILE__, 'views/templates/admin/add.tpl'); - } - else - { - $this->context->smarty->assign(array( - 'message' => $message, - 'uri' => $this->getPathUri(), - 'PS_LAYERED_INDEXED' => Configuration::getGlobalValue('PS_LAYERED_INDEXED'), - 'current_url' => Tools::safeOutput(preg_replace('/&deleteFilterTemplate=[0-9]*&id_layered_filter=[0-9]*/', '', $_SERVER['REQUEST_URI'])), - 'id_lang' => Context::getContext()->cookie->id_lang, - 'token' => substr(Tools::encrypt('blocklayered/index'), 0, 10), - 'base_folder' => urlencode(_PS_ADMIN_DIR_), - 'price_indexer_url' => $module_url.'blocklayered-price-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10), - 'full_price_indexer_url' => $module_url.'blocklayered-price-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10).'&full=1', - 'attribute_indexer_url' => $module_url.'blocklayered-attribute-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10), - 'url_indexer_url' => $module_url.'blocklayered-url-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10).'&truncate=1', - 'filters_templates' => Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT * FROM '._DB_PREFIX_.'layered_filter ORDER BY date_add DESC'), - 'hide_values' => Configuration::get('PS_LAYERED_HIDE_0_VALUES'), - 'show_quantities' => Configuration::get('PS_LAYERED_SHOW_QTIES'), - 'full_tree' => Configuration::get('PS_LAYERED_FULL_TREE'), - 'category_depth' => Configuration::get('PS_LAYERED_FILTER_CATEGORY_DEPTH'), - 'price_use_tax' => (bool)Configuration::get('PS_LAYERED_FILTER_PRICE_USETAX'), - 'index_cdt' => Configuration::get('PS_LAYERED_FILTER_INDEX_CDT'), - 'index_qty' => Configuration::get('PS_LAYERED_FILTER_INDEX_QTY'), - 'index_mnf' => Configuration::get('PS_LAYERED_FILTER_INDEX_MNF'), - 'index_cat' => Configuration::get('PS_LAYERED_FILTER_INDEX_CAT'), - 'limit_warning' => $this->displayLimitPostWarning(21+count($attribute_groups)*3+count($features)*3), - 'price_use_rounding' => (bool)Configuration::get('PS_LAYERED_FILTER_PRICE_ROUNDING') - )); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - return $this->display(__FILE__, 'views/templates/admin/view_1.6.tpl'); - else - return $this->display(__FILE__, 'views/templates/admin/view.tpl'); - } - } - - public function displayLimitPostWarning($count) - { - $return = array(); - if ((ini_get('suhosin.post.max_vars') && ini_get('suhosin.post.max_vars') < $count) || (ini_get('suhosin.request.max_vars') && ini_get('suhosin.request.max_vars') < $count)) - { - $return['error_type'] = 'suhosin'; - $return['post.max_vars'] = ini_get('suhosin.post.max_vars'); - $return['request.max_vars'] = ini_get('suhosin.request.max_vars'); - $return['needed_limit'] = $count + 100; - } - elseif (ini_get('max_input_vars') && ini_get('max_input_vars') < $count) - { - $return['error_type'] = 'conf'; - $return['max_input_vars'] = ini_get('max_input_vars'); - $return['needed_limit'] = $count + 100; - } - return $return; - } - - private function getSelectedFilters() - { - $home_category = Configuration::get('PS_HOME_CATEGORY'); - $id_parent = (int)Tools::getValue('id_category', Tools::getValue('id_category_layered', $home_category)); - if ($id_parent == $home_category) - return; - - // Force attributes selection (by url '.../2-mycategory/color-blue' or by get parameter 'selected_filters') - if (strpos($_SERVER['SCRIPT_FILENAME'], 'blocklayered-ajax.php') === false || Tools::getValue('selected_filters') !== false) - { - if (Tools::getValue('selected_filters')) - $url = Tools::getValue('selected_filters'); - else - $url = preg_replace('/\/(?:\w*)\/(?:[0-9]+[-\w]*)([^\?]*)\??.*/', '$1', Tools::safeOutput($_SERVER['REQUEST_URI'], true)); - - $url_attributes = explode('/', ltrim($url, '/')); - $selected_filters = array('category' => array()); - if (!empty($url_attributes)) - { - foreach ($url_attributes as $url_attribute) - { - /* Pagination uses - as separator, can be different from $this->getAnchor()*/ - if (strpos($url_attribute, 'page-') === 0) - $url_attribute = str_replace('-', $this->getAnchor(), $url_attribute); - $url_parameters = explode($this->getAnchor(), $url_attribute); - $attribute_name = array_shift($url_parameters); - if ($attribute_name == 'page') - $this->page = (int)$url_parameters[0]; - else if (in_array($attribute_name, array('price', 'weight'))) - $selected_filters[$attribute_name] = array($this->filterVar($url_parameters[0]), $this->filterVar($url_parameters[1])); - else - { - foreach ($url_parameters as $url_parameter) - { - $data = Db::getInstance()->getValue('SELECT data FROM `'._DB_PREFIX_.'layered_friendly_url` WHERE `url_key` = \''.md5('/'.$attribute_name.$this->getAnchor().$url_parameter).'\''); - if ($data) - foreach (Tools::unSerialize($data) as $key_params => $params) - { - if (!isset($selected_filters[$key_params])) - $selected_filters[$key_params] = array(); - foreach ($params as $key_param => $param) - { - if (!isset($selected_filters[$key_params][$key_param])) - $selected_filters[$key_params][$key_param] = array(); - $selected_filters[$key_params][$key_param] = $this->filterVar($param); - } - } - } - } - } - return $selected_filters; - } - } - - /* Analyze all the filters selected by the user and store them into a tab */ - $selected_filters = array('category' => array(), 'manufacturer' => array(), 'quantity' => array(), 'condition' => array()); - foreach ($_GET as $key => $value) - if (substr($key, 0, 8) == 'layered_') - { - preg_match('/^(.*)_([0-9]+|new|used|refurbished|slider)$/', substr($key, 8, strlen($key) - 8), $res); - if (isset($res[1])) - { - $tmp_tab = explode('_', $this->filterVar($value)); - $value = $this->filterVar($tmp_tab[0]); - $id_key = false; - if (isset($tmp_tab[1])) - $id_key = $tmp_tab[1]; - if ($res[1] == 'condition' && in_array($value, array('new', 'used', 'refurbished'))) - $selected_filters['condition'][] = $value; - else if ($res[1] == 'quantity' && (!$value || $value == 1)) - $selected_filters['quantity'][] = $value; - else if (in_array($res[1], array('category', 'manufacturer'))) - { - if (!isset($selected_filters[$res[1].($id_key ? '_'.$id_key : '')])) - $selected_filters[$res[1].($id_key ? '_'.$id_key : '')] = array(); - $selected_filters[$res[1].($id_key ? '_'.$id_key : '')][] = (int)$value; - } - else if (in_array($res[1], array('id_attribute_group', 'id_feature'))) - { - if (!isset($selected_filters[$res[1]])) - $selected_filters[$res[1]] = array(); - $selected_filters[$res[1]][(int)$value] = $id_key.'_'.(int)$value; - } - else if ($res[1] == 'weight') - $selected_filters[$res[1]] = $tmp_tab; - else if ($res[1] == 'price') - $selected_filters[$res[1]] = $tmp_tab; - } - } - return $selected_filters; - } - - public function getProductByFilters($selected_filters = array()) - { - global $cookie; - - if (!empty($this->products)) - return $this->products; - - $home_category = Configuration::get('PS_HOME_CATEGORY'); - /* If the current category isn't defined or if it's homepage, we have nothing to display */ - $id_parent = (int)Tools::getValue('id_category', Tools::getValue('id_category_layered', $home_category)); - if ($id_parent == $home_category) - return false; - - $alias_where = 'p'; - if (version_compare(_PS_VERSION_,'1.5','>')) - $alias_where = 'product_shop'; - - $query_filters_where = ' AND '.$alias_where.'.`active` = 1 AND '.$alias_where.'.`visibility` IN ("both", "catalog")'; - $query_filters_from = ''; - - $parent = new Category((int)$id_parent); - - foreach ($selected_filters as $key => $filter_values) - { - if (!count($filter_values)) - continue; - - preg_match('/^(.*[^_0-9])/', $key, $res); - $key = $res[1]; - - switch ($key) - { - case 'id_feature': - $sub_queries = array(); - foreach ($filter_values as $filter_value) - { - $filter_value_array = explode('_', $filter_value); - if (!isset($sub_queries[$filter_value_array[0]])) - $sub_queries[$filter_value_array[0]] = array(); - $sub_queries[$filter_value_array[0]][] = 'fp.`id_feature_value` = '.(int)$filter_value_array[1]; - } - foreach ($sub_queries as $sub_query) - { - $query_filters_where .= ' AND p.id_product IN (SELECT `id_product` FROM `'._DB_PREFIX_.'feature_product` fp WHERE '; - $query_filters_where .= implode(' OR ', $sub_query).') '; - } - break; - - case 'id_attribute_group': - $sub_queries = array(); - - - foreach ($filter_values as $filter_value) - { - $filter_value_array = explode('_', $filter_value); - if (!isset($sub_queries[$filter_value_array[0]])) - $sub_queries[$filter_value_array[0]] = array(); - $sub_queries[$filter_value_array[0]][] = 'pac.`id_attribute` = '.(int)$filter_value_array[1]; - } - foreach ($sub_queries as $sub_query) - { - $query_filters_where .= ' AND p.id_product IN (SELECT pa.`id_product` - FROM `'._DB_PREFIX_.'product_attribute_combination` pac - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa - ON (pa.`id_product_attribute` = pac.`id_product_attribute`)'. - Shop::addSqlAssociation('product_attribute', 'pa').' - WHERE '.implode(' OR ', $sub_query).') '; - } - break; - - case 'category': - $query_filters_where .= ' AND p.id_product IN (SELECT id_product FROM '._DB_PREFIX_.'category_product cp WHERE '; - foreach ($selected_filters['category'] as $id_category) - $query_filters_where .= 'cp.`id_category` = '.(int)$id_category.' OR '; - $query_filters_where = rtrim($query_filters_where, 'OR ').')'; - break; - - case 'quantity': - if (count($selected_filters['quantity']) == 2) - break; - - $query_filters_where .= ' AND sa.quantity '.(!$selected_filters['quantity'][0] ? '<=' : '>').' 0 '; - $query_filters_from .= 'LEFT JOIN `'._DB_PREFIX_.'stock_available` sa ON (sa.id_product = p.id_product '.StockAvailable::addSqlShopRestriction(null, null, 'sa').') '; - break; - - case 'manufacturer': - $query_filters_where .= ' AND p.id_manufacturer IN ('.implode(',', $selected_filters['manufacturer']).')'; - break; - - case 'condition': - if (count($selected_filters['condition']) == 3) - break; - $query_filters_where .= ' AND '.$alias_where.'.condition IN ('; - foreach ($selected_filters['condition'] as $cond) - $query_filters_where .= '\''.pSQL($cond).'\','; - $query_filters_where = rtrim($query_filters_where, ',').')'; - break; - - case 'weight': - if ($selected_filters['weight'][0] != 0 || $selected_filters['weight'][1] != 0) - $query_filters_where .= ' AND p.`weight` BETWEEN '.(float)($selected_filters['weight'][0] - 0.001).' AND '.(float)($selected_filters['weight'][1] + 0.001); - break; - - case 'price': - if (isset($selected_filters['price'])) - { - if ($selected_filters['price'][0] !== '' || $selected_filters['price'][1] !== '') - { - $price_filter = array(); - $price_filter['min'] = (float)($selected_filters['price'][0]); - $price_filter['max'] = (float)($selected_filters['price'][1]); - } - } - else - $price_filter = false; - break; - } - } - - $context = Context::getContext(); - $id_currency = (int)$context->currency->id; - - $price_filter_query_in = ''; // All products with price range between price filters limits - $price_filter_query_out = ''; // All products with a price filters limit on it price range - if (isset($price_filter) && $price_filter) - { - $price_filter_query_in = 'INNER JOIN `'._DB_PREFIX_.'layered_price_index` psi - ON - ( - psi.price_min <= '.(int)$price_filter['max'].' - AND psi.price_max >= '.(int)$price_filter['min'].' - AND psi.`id_product` = p.`id_product` - AND psi.`id_shop` = '.(int)$context->shop->id.' - AND psi.`id_currency` = '.$id_currency.' - )'; - - $price_filter_query_out = 'INNER JOIN `'._DB_PREFIX_.'layered_price_index` psi - ON - ((psi.price_min < '.(int)$price_filter['min'].' AND psi.price_max > '.(int)$price_filter['min'].') - OR - (psi.price_max > '.(int)$price_filter['max'].' AND psi.price_min < '.(int)$price_filter['max'].')) - AND psi.`id_product` = p.`id_product` - AND psi.`id_shop` = '.(int)$context->shop->id.' - AND psi.`id_currency` = '.$id_currency; - } - - $query_filters_from .= Shop::addSqlAssociation('product', 'p'); - - Db::getInstance()->execute('DROP TEMPORARY TABLE IF EXISTS '._DB_PREFIX_.'cat_filter_restriction', false); - if (empty($selected_filters['category'])) - { - /* Create the table which contains all the id_product in a cat or a tree */ - Db::getInstance()->execute('CREATE TEMPORARY TABLE '._DB_PREFIX_.'cat_filter_restriction ENGINE=MEMORY - SELECT cp.id_product, MIN(cp.position) position FROM '._DB_PREFIX_.'category_product cp - INNER JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category AND - '.(Configuration::get('PS_LAYERED_FULL_TREE') ? 'c.nleft >= '.(int)$parent->nleft.' - AND c.nright <= '.(int)$parent->nright : 'c.id_category = '.(int)$id_parent).' - AND c.active = 1) - JOIN `'._DB_PREFIX_.'product` p USING (id_product) - '.$price_filter_query_in.' - '.$query_filters_from.' - WHERE 1 '.$query_filters_where.' - GROUP BY cp.id_product ORDER BY position, id_product', false); - } else { - $categories = array_map('intval', $selected_filters['category']); - - Db::getInstance()->execute('CREATE TEMPORARY TABLE '._DB_PREFIX_.'cat_filter_restriction ENGINE=MEMORY - SELECT cp.id_product, MIN(cp.position) position FROM '._DB_PREFIX_.'category_product cp - JOIN `'._DB_PREFIX_.'product` p USING (id_product) - '.$price_filter_query_in.' - '.$query_filters_from.' - WHERE cp.`id_category` IN ('.implode(',', $categories).') '.$query_filters_where.' - GROUP BY cp.id_product ORDER BY position, id_product', false); - } - Db::getInstance()->execute('ALTER TABLE '._DB_PREFIX_.'cat_filter_restriction ADD PRIMARY KEY (id_product), ADD KEY (position, id_product) USING BTREE', false); - - if (isset($price_filter) && $price_filter) { - static $ps_layered_filter_price_usetax = null; - static $ps_layered_filter_price_rounding = null; - - if ($ps_layered_filter_price_usetax === null) { - $ps_layered_filter_price_usetax = Configuration::get('PS_LAYERED_FILTER_PRICE_USETAX'); - } - - if ($ps_layered_filter_price_rounding === null) { - $ps_layered_filter_price_rounding = Configuration::get('PS_LAYERED_FILTER_PRICE_ROUNDING'); - } - - if (empty($selected_filters['category'])) { - $all_products_out = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT p.`id_product` id_product - FROM `'._DB_PREFIX_.'product` p JOIN '._DB_PREFIX_.'category_product cp USING (id_product) - INNER JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category AND - '.(Configuration::get('PS_LAYERED_FULL_TREE') ? 'c.nleft >= '.(int)$parent->nleft.' - AND c.nright <= '.(int)$parent->nright : 'c.id_category = '.(int)$id_parent).' - AND c.active = 1) - '.$price_filter_query_out.' - '.$query_filters_from.' - WHERE 1 '.$query_filters_where.' GROUP BY cp.id_product'); - } else { - $all_products_out = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT p.`id_product` id_product - FROM `'._DB_PREFIX_.'product` p JOIN '._DB_PREFIX_.'category_product cp USING (id_product) - '.$price_filter_query_out.' - '.$query_filters_from.' - WHERE cp.`id_category` IN ('.implode(',', $categories).') '.$query_filters_where.' GROUP BY cp.id_product'); - } - - /* for this case, price could be out of range, so we need to compute the real price */ - foreach($all_products_out as $product) { - $price = Product::getPriceStatic($product['id_product'], $ps_layered_filter_price_usetax); - if ($ps_layered_filter_price_rounding) { - $price = (int)$price; - } - if ($price < $price_filter['min'] || $price > $price_filter['max']) { - // out of range price, exclude the product - $product_id_delete_list[] = (int)$product['id_product']; - } - } - if (!empty($product_id_delete_list)) { - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'cat_filter_restriction WHERE id_product IN ('.implode(',', $product_id_delete_list).')'); - } - } - $this->nbr_products = Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'cat_filter_restriction'); - - if ($this->nbr_products == 0) - $this->products = array(); - else - { - $product_per_page = isset($this->context->cookie->nb_item_per_page) ? (int)$this->context->cookie->nb_item_per_page : Configuration::get('PS_PRODUCTS_PER_PAGE'); - $n = (int)Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')); - $nb_day_new_product = (Validate::isUnsignedInt(Configuration::get('PS_NB_DAYS_NEW_PRODUCT')) ? Configuration::get('PS_NB_DAYS_NEW_PRODUCT') : 20); - - if (version_compare(_PS_VERSION_, '1.6.1', '>=') === true) - { - $this->products = Db::getInstance()->executeS(' - SELECT - p.*, - '.($alias_where == 'p' ? '' : 'product_shop.*,' ).' - '.$alias_where.'.id_category_default, - pl.*, - image_shop.`id_image` id_image, - il.legend, - m.name manufacturer_name, - '.(Combination::isFeatureActive() ? 'product_attribute_shop.id_product_attribute id_product_attribute,' : '').' - DATEDIFF('.$alias_where.'.`date_add`, DATE_SUB("'.date('Y-m-d').' 00:00:00", INTERVAL '.(int)$nb_day_new_product.' DAY)) > 0 AS new, - stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity'.(Combination::isFeatureActive() ? ', product_attribute_shop.minimal_quantity AS product_attribute_minimal_quantity' : '').' - FROM '._DB_PREFIX_.'cat_filter_restriction cp - LEFT JOIN `'._DB_PREFIX_.'product` p ON p.`id_product` = cp.`id_product` - '.Shop::addSqlAssociation('product', 'p'). - (Combination::isFeatureActive() ? - ' LEFT JOIN `'._DB_PREFIX_.'product_attribute_shop` product_attribute_shop - ON (p.`id_product` = product_attribute_shop.`id_product` AND product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop='.(int)$context->shop->id.')':'').' - LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = p.id_product'.Shop::addSqlRestrictionOnLang('pl').' AND pl.id_lang = '.(int)$cookie->id_lang.') - LEFT JOIN `'._DB_PREFIX_.'image_shop` image_shop - ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop='.(int)$context->shop->id.') - LEFT JOIN `'._DB_PREFIX_.'image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = '.(int)$cookie->id_lang.') - LEFT JOIN '._DB_PREFIX_.'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) - '.Product::sqlStock('p', 0).' - WHERE '.$alias_where.'.`active` = 1 AND '.$alias_where.'.`visibility` IN ("both", "catalog") - ORDER BY '.Tools::getProductsOrder('by', Tools::getValue('orderby'), true).' '.Tools::getProductsOrder('way', Tools::getValue('orderway')).' , cp.id_product'. - ' LIMIT '.(((int)$this->page - 1) * $n.','.$n)); - } - else - { - $this->products = Db::getInstance()->executeS(' - SELECT - p.*, - '.($alias_where == 'p' ? '' : 'product_shop.*,' ).' - '.$alias_where.'.id_category_default, - pl.*, - MAX(image_shop.`id_image`) id_image, - il.legend, - m.name manufacturer_name, - '.(Combination::isFeatureActive() ? 'MAX(product_attribute_shop.id_product_attribute) id_product_attribute,' : '').' - DATEDIFF('.$alias_where.'.`date_add`, DATE_SUB("'.date('Y-m-d').' 00:00:00", INTERVAL '.(int)$nb_day_new_product.' DAY)) > 0 AS new, - stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity'.(Combination::isFeatureActive() ? ', MAX(product_attribute_shop.minimal_quantity) AS product_attribute_minimal_quantity' : '').' - FROM '._DB_PREFIX_.'cat_filter_restriction cp - LEFT JOIN `'._DB_PREFIX_.'product` p ON p.`id_product` = cp.`id_product` - '.Shop::addSqlAssociation('product', 'p'). - (Combination::isFeatureActive() ? - 'LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON (p.`id_product` = pa.`id_product`) - '.Shop::addSqlAssociation('product_attribute', 'pa', false, 'product_attribute_shop.`default_on` = 1 AND product_attribute_shop.id_shop='.(int)$context->shop->id):'').' - LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = p.id_product'.Shop::addSqlRestrictionOnLang('pl').' AND pl.id_lang = '.(int)$cookie->id_lang.') - LEFT JOIN `'._DB_PREFIX_.'image` i ON (i.`id_product` = p.`id_product`)'. - Shop::addSqlAssociation('image', 'i', false, 'image_shop.cover=1').' - LEFT JOIN `'._DB_PREFIX_.'image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = '.(int)$cookie->id_lang.') - LEFT JOIN '._DB_PREFIX_.'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) - '.Product::sqlStock('p', 0).' - WHERE '.$alias_where.'.`active` = 1 AND '.$alias_where.'.`visibility` IN ("both", "catalog") - GROUP BY product_shop.id_product - ORDER BY '.Tools::getProductsOrder('by', Tools::getValue('orderby'), true).' '.Tools::getProductsOrder('way', Tools::getValue('orderway')).' , cp.id_product'. - ' LIMIT '.(((int)$this->page - 1) * $n.','.$n)); - } - } - - if (Tools::getProductsOrder('by', Tools::getValue('orderby'), true) == 'p.price') - Tools::orderbyPrice($this->products, Tools::getProductsOrder('way', Tools::getValue('orderway'))); - - return $this->products; - } - - private static function query($sql_query) - { - return Db::getInstance(_PS_USE_SQL_SLAVE_)->query($sql_query); - } - - public function getFilterBlock($selected_filters = array()) - { - global $cookie; - static $cache = null; - - $context = Context::getContext(); - - $id_lang = $context->language->id; - $currency = $context->currency; - $id_shop = (int) $context->shop->id; - $alias = 'product_shop'; - - if (is_array($cache)) - return $cache; - - $home_category = Configuration::get('PS_HOME_CATEGORY'); - $id_parent = (int)Tools::getValue('id_category', Tools::getValue('id_category_layered', $home_category)); - if ($id_parent == $home_category) - return; - - $parent = new Category((int)$id_parent, $id_lang); - - /* Get the filters for the current category */ - $filters = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT type, id_value, filter_show_limit, filter_type FROM '._DB_PREFIX_.'layered_category - WHERE id_category = '.(int)$id_parent.' - AND id_shop = '.$id_shop.' - GROUP BY `type`, id_value ORDER BY position ASC' - ); - - /* Create the table which contains all the id_product in a cat or a tree */ - - Db::getInstance()->execute('DROP TEMPORARY TABLE IF EXISTS '._DB_PREFIX_.'cat_restriction', false); - Db::getInstance()->execute('CREATE TEMPORARY TABLE '._DB_PREFIX_.'cat_restriction ENGINE=MEMORY - SELECT DISTINCT cp.id_product, p.id_manufacturer, product_shop.condition, p.weight FROM '._DB_PREFIX_.'category_product cp - INNER JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category AND - '.(Configuration::get('PS_LAYERED_FULL_TREE') ? 'c.nleft >= '.(int)$parent->nleft.' - AND c.nright <= '.(int)$parent->nright : 'c.id_category = '.(int)$id_parent).' - AND c.active = 1) - INNER JOIN '._DB_PREFIX_.'product_shop product_shop ON (product_shop.id_product = cp.id_product - AND product_shop.id_shop = '.(int)$context->shop->id.') - INNER JOIN '._DB_PREFIX_.'product p ON (p.id_product=cp.id_product) - WHERE product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")', false); - - - Db::getInstance()->execute('ALTER TABLE '._DB_PREFIX_.'cat_restriction ADD PRIMARY KEY (id_product), - ADD KEY `id_manufacturer` (`id_manufacturer`,`id_product`) USING BTREE, - ADD KEY `condition` (`condition`,`id_product`) USING BTREE, - ADD KEY `weight` (`weight`,`id_product`) USING BTREE', false); - - // Remove all empty selected filters - foreach ($selected_filters as $key => $value) - switch ($key) - { - case 'price': - case 'weight': - if ($value[0] === '' && $value[1] === '') - unset($selected_filters[$key]); - break; - default: - if ($value == '') - unset($selected_filters[$key]); - break; - } - - $filter_blocks = array(); - foreach ($filters as $filter) - { - $sql_query = array('select' => '', 'from' => '', 'join' => '', 'where' => '', 'group' => '', 'second_query' => ''); - switch ($filter['type']) - { - case 'price': - $sql_query['select'] = 'SELECT p.`id_product`, psi.price_min, psi.price_max '; - // price slider is not filter dependent - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'cat_restriction p'; - $sql_query['join'] = 'INNER JOIN `'._DB_PREFIX_.'layered_price_index` psi - ON (psi.id_product = p.id_product AND psi.id_currency = '.(int)$context->currency->id.' AND psi.id_shop='.(int)$context->shop->id.')'; - $sql_query['where'] = 'WHERE 1'; - break; - case 'weight': - $sql_query['select'] = 'SELECT p.`id_product`, p.`weight` '; - // price slider is not filter dependent - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'cat_restriction p'; - $sql_query['where'] = 'WHERE 1'; - break; - case 'condition': - $sql_query['select'] = 'SELECT p.`id_product`, product_shop.`condition` '; - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'cat_restriction p'; - $sql_query['where'] = 'WHERE 1'; - $sql_query['from'] .= Shop::addSqlAssociation('product', 'p'); - break; - case 'quantity': - $sql_query['select'] = 'SELECT p.`id_product`, sa.`quantity`, sa.`out_of_stock` '; - - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'cat_restriction p'; - - $sql_query['join'] .= 'LEFT JOIN `'._DB_PREFIX_.'stock_available` sa - ON (sa.id_product = p.id_product AND sa.id_product_attribute=0 '.StockAvailable::addSqlShopRestriction(null, null, 'sa').') '; - $sql_query['where'] = 'WHERE 1'; - break; - - case 'manufacturer': - $sql_query['select'] = 'SELECT COUNT(DISTINCT p.id_product) nbr, m.id_manufacturer, m.name '; - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'cat_restriction p - INNER JOIN '._DB_PREFIX_.'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) '; - $sql_query['where'] = 'WHERE 1'; - $sql_query['group'] = ' GROUP BY p.id_manufacturer ORDER BY m.name'; - - if (!Configuration::get('PS_LAYERED_HIDE_0_VALUES')) - { - $sql_query['second_query'] = ' - SELECT m.name, 0 nbr, m.id_manufacturer - - FROM '._DB_PREFIX_.'cat_restriction p - INNER JOIN '._DB_PREFIX_.'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) - WHERE 1 - GROUP BY p.id_manufacturer ORDER BY m.name'; - } - - break; - case 'id_attribute_group':// attribute group - $sql_query['select'] = ' - SELECT COUNT(DISTINCT lpa.id_product) nbr, lpa.id_attribute_group, - a.color, al.name attribute_name, agl.public_name attribute_group_name , lpa.id_attribute, ag.is_color_group, - liagl.url_name name_url_name, liagl.meta_title name_meta_title, lial.url_name value_url_name, lial.meta_title value_meta_title'; - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'layered_product_attribute lpa - INNER JOIN '._DB_PREFIX_.'attribute a - ON a.id_attribute = lpa.id_attribute - INNER JOIN '._DB_PREFIX_.'attribute_lang al - ON al.id_attribute = a.id_attribute - AND al.id_lang = '.(int)$id_lang.' - INNER JOIN '._DB_PREFIX_.'cat_restriction p - ON p.id_product = lpa.id_product - INNER JOIN '._DB_PREFIX_.'attribute_group ag - ON ag.id_attribute_group = lpa.id_attribute_group - INNER JOIN '._DB_PREFIX_.'attribute_group_lang agl - ON agl.id_attribute_group = lpa.id_attribute_group - AND agl.id_lang = '.(int)$id_lang.' - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value liagl - ON (liagl.id_attribute_group = lpa.id_attribute_group AND liagl.id_lang = '.(int)$id_lang.') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_lang_value lial - ON (lial.id_attribute = lpa.id_attribute AND lial.id_lang = '.(int)$id_lang.') '; - - $sql_query['where'] = 'WHERE lpa.id_attribute_group = '.(int)$filter['id_value']; - $sql_query['where'] .= ' AND lpa.`id_shop` = '.(int)$context->shop->id; - $sql_query['group'] = ' - GROUP BY lpa.id_attribute - ORDER BY ag.`position` ASC, a.`position` ASC'; - - if (!Configuration::get('PS_LAYERED_HIDE_0_VALUES')) - { - $sql_query['second_query'] = ' - SELECT 0 nbr, lpa.id_attribute_group, - a.color, al.name attribute_name, agl.public_name attribute_group_name , lpa.id_attribute, ag.is_color_group, - liagl.url_name name_url_name, liagl.meta_title name_meta_title, lial.url_name value_url_name, lial.meta_title value_meta_title - FROM '._DB_PREFIX_.'layered_product_attribute lpa'. - Shop::addSqlAssociation('product', 'lpa').' - INNER JOIN '._DB_PREFIX_.'attribute a - ON a.id_attribute = lpa.id_attribute - INNER JOIN '._DB_PREFIX_.'attribute_lang al - ON al.id_attribute = a.id_attribute AND al.id_lang = '.(int)$id_lang.' - INNER JOIN '._DB_PREFIX_.'product as p - ON p.id_product = lpa.id_product - INNER JOIN '._DB_PREFIX_.'attribute_group ag - ON ag.id_attribute_group = lpa.id_attribute_group - INNER JOIN '._DB_PREFIX_.'attribute_group_lang agl - ON agl.id_attribute_group = lpa.id_attribute_group - AND agl.id_lang = '.(int)$id_lang.' - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_group_lang_value liagl - ON (liagl.id_attribute_group = lpa.id_attribute_group AND liagl.id_lang = '.(int)$id_lang.') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_attribute_lang_value lial - ON (lial.id_attribute = lpa.id_attribute AND lial.id_lang = '.(int)$id_lang.') - WHERE lpa.id_attribute_group = '.(int)$filter['id_value'].' - AND lpa.`id_shop` = '.(int)$context->shop->id.' - GROUP BY lpa.id_attribute - ORDER BY id_attribute_group, id_attribute'; - } - break; - - case 'id_feature': - $sql_query['select'] = 'SELECT fl.name feature_name, fp.id_feature, fv.id_feature_value, fvl.value, - COUNT(DISTINCT p.id_product) nbr, - lifl.url_name name_url_name, lifl.meta_title name_meta_title, lifvl.url_name value_url_name, lifvl.meta_title value_meta_title '; - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'feature_product fp - INNER JOIN '._DB_PREFIX_.'cat_restriction p - ON p.id_product = fp.id_product - LEFT JOIN '._DB_PREFIX_.'feature_lang fl ON (fl.id_feature = fp.id_feature AND fl.id_lang = '.$id_lang.') - INNER JOIN '._DB_PREFIX_.'feature_value fv ON (fv.id_feature_value = fp.id_feature_value AND (fv.custom IS NULL OR fv.custom = 0)) - LEFT JOIN '._DB_PREFIX_.'feature_value_lang fvl ON (fvl.id_feature_value = fp.id_feature_value AND fvl.id_lang = '.$id_lang.') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature_lang_value lifl - ON (lifl.id_feature = fp.id_feature AND lifl.id_lang = '.$id_lang.') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature_value_lang_value lifvl - ON (lifvl.id_feature_value = fp.id_feature_value AND lifvl.id_lang = '.$id_lang.') '; - $sql_query['where'] = 'WHERE fp.id_feature = '.(int)$filter['id_value']; - $sql_query['group'] = 'GROUP BY fv.id_feature_value '; - - if (!Configuration::get('PS_LAYERED_HIDE_0_VALUES')) - { - $sql_query['second_query'] = ' - SELECT fl.name feature_name, fp.id_feature, fv.id_feature_value, fvl.value, - 0 nbr, - lifl.url_name name_url_name, lifl.meta_title name_meta_title, lifvl.url_name value_url_name, lifvl.meta_title value_meta_title - - FROM '._DB_PREFIX_.'feature_product fp'. - Shop::addSqlAssociation('product', 'fp').' - INNER JOIN '._DB_PREFIX_.'product p ON (p.id_product = fp.id_product) - LEFT JOIN '._DB_PREFIX_.'feature_lang fl ON (fl.id_feature = fp.id_feature AND fl.id_lang = '.(int)$id_lang.') - INNER JOIN '._DB_PREFIX_.'feature_value fv ON (fv.id_feature_value = fp.id_feature_value AND (fv.custom IS NULL OR fv.custom = 0)) - LEFT JOIN '._DB_PREFIX_.'feature_value_lang fvl ON (fvl.id_feature_value = fp.id_feature_value AND fvl.id_lang = '.(int)$id_lang.') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature_lang_value lifl - ON (lifl.id_feature = fp.id_feature AND lifl.id_lang = '.(int)$id_lang.') - LEFT JOIN '._DB_PREFIX_.'layered_indexable_feature_value_lang_value lifvl - ON (lifvl.id_feature_value = fp.id_feature_value AND lifvl.id_lang = '.(int)$id_lang.') - WHERE fp.id_feature = '.(int)$filter['id_value'].' - GROUP BY fv.id_feature_value'; - } - - break; - - case 'category': - if (Group::isFeatureActive()) - $this->user_groups = ($this->context->customer->isLogged() ? $this->context->customer->getGroups() : array(Configuration::get('PS_UNIDENTIFIED_GROUP'))); - - $depth = Configuration::get('PS_LAYERED_FILTER_CATEGORY_DEPTH'); - if ($depth === false) - $depth = 1; - - $sql_query['select'] = ' - SELECT c.id_category, c.id_parent, cl.name, (SELECT count(DISTINCT p.id_product) # '; - $sql_query['from'] = ' - FROM '._DB_PREFIX_.'category_product cp - LEFT JOIN '._DB_PREFIX_.'product p ON (p.id_product = cp.id_product) '; - $sql_query['where'] = ' - WHERE cp.id_category = c.id_category - AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog")'; - $sql_query['group'] = ') count_products - FROM '._DB_PREFIX_.'category c - LEFT JOIN '._DB_PREFIX_.'category_lang cl ON (cl.id_category = c.id_category AND cl.`id_shop` = '.(int)Context::getContext()->shop->id.' and cl.id_lang = '.(int)$id_lang.') '; - - if (Group::isFeatureActive()) - $sql_query['group'] .= 'RIGHT JOIN '._DB_PREFIX_.'category_group cg ON (cg.id_category = c.id_category AND cg.`id_group` IN ('.implode(', ', $this->user_groups).')) '; - - $sql_query['group'] .= 'WHERE c.nleft > '.(int)$parent->nleft.' - AND c.nright < '.(int)$parent->nright.' - '.($depth ? 'AND c.level_depth <= '.($parent->level_depth+(int)$depth) : '').' - AND c.active = 1 - GROUP BY c.id_category ORDER BY c.nleft, c.position'; - - $sql_query['from'] .= Shop::addSqlAssociation('product', 'p'); - } - - foreach ($filters as $filter_tmp) - { - $method_name = 'get'.ucfirst($filter_tmp['type']).'FilterSubQuery'; - if (method_exists('BlockLayered', $method_name) && - ($filter['type'] != 'price' && $filter['type'] != 'weight' && $filter['type'] != $filter_tmp['type'] || $filter['type'] == $filter_tmp['type'])) - { - if ($filter['type'] == $filter_tmp['type'] && $filter['id_value'] == $filter_tmp['id_value']) - $sub_query_filter = self::$method_name(array(), true); - else - { - if (!is_null($filter_tmp['id_value'])) - $selected_filters_cleaned = $this->cleanFilterByIdValue(@$selected_filters[$filter_tmp['type']], $filter_tmp['id_value']); - else - $selected_filters_cleaned = @$selected_filters[$filter_tmp['type']]; - $sub_query_filter = self::$method_name($selected_filters_cleaned, $filter['type'] == $filter_tmp['type']); - } - foreach ($sub_query_filter as $key => $value) - $sql_query[$key] .= $value; - } - } - - $products = false; - if (!empty($sql_query['from'])) - { - $products = Db::getInstance()->executeS($sql_query['select']."\n".$sql_query['from']."\n".$sql_query['join']."\n".$sql_query['where']."\n".$sql_query['group']); - } - - // price & weight have slidebar, so it's ok to not complete recompute the product list - if (!empty($selected_filters['price']) && $filter['type'] != 'price' && $filter['type'] != 'weight') { - $products = self::filterProductsByPrice(@$selected_filters['price'], $products); - } - - if (!empty($sql_query['second_query'])) - { - $res = Db::getInstance()->executeS($sql_query['second_query']); - if ($res) - $products = array_merge($products, $res); - } - - switch ($filter['type']) - { - case 'price': - if ($this->showPriceFilter()) { - $price_array = array( - 'type_lite' => 'price', - 'type' => 'price', - 'id_key' => 0, - 'name' => $this->l('Price'), - 'slider' => true, - 'max' => '0', - 'min' => null, - 'values' => array ('1' => 0), - 'unit' => $currency->sign, - 'format' => $currency->format, - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - if (isset($products) && $products) - foreach ($products as $product) - { - if (is_null($price_array['min'])) - { - $price_array['min'] = $product['price_min']; - $price_array['values'][0] = $product['price_min']; - } - else if ($price_array['min'] > $product['price_min']) - { - $price_array['min'] = $product['price_min']; - $price_array['values'][0] = $product['price_min']; - } - - if ($price_array['max'] < $product['price_max']) - { - $price_array['max'] = $product['price_max']; - $price_array['values'][1] = $product['price_max']; - } - } - - if ($price_array['max'] != $price_array['min'] && $price_array['min'] != null) - { - if ($filter['filter_type'] == 2) - { - $price_array['list_of_values'] = array(); - $nbr_of_value = $filter['filter_show_limit']; - if ($nbr_of_value < 2) - $nbr_of_value = 4; - $delta = ($price_array['max'] - $price_array['min']) / $nbr_of_value; - $current_step = $price_array['min']; - for ($i = 0; $i < $nbr_of_value; $i++) - $price_array['list_of_values'][] = array( - (int)($price_array['min'] + $i * $delta), - (int)($price_array['min'] + ($i + 1) * $delta) - ); - } - if (isset($selected_filters['price']) && isset($selected_filters['price'][0]) - && isset($selected_filters['price'][1])) - { - $price_array['values'][0] = $selected_filters['price'][0]; - $price_array['values'][1] = $selected_filters['price'][1]; - } - $filter_blocks[] = $price_array; - } - } - break; - - case 'weight': - $weight_array = array( - 'type_lite' => 'weight', - 'type' => 'weight', - 'id_key' => 0, - 'name' => $this->l('Weight'), - 'slider' => true, - 'max' => '0', - 'min' => null, - 'values' => array ('1' => 0), - 'unit' => Configuration::get('PS_WEIGHT_UNIT'), - 'format' => 5, // Ex: xxxxx kg - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - if (isset($products) && $products) - foreach ($products as $product) - { - if (is_null($weight_array['min'])) - { - $weight_array['min'] = $product['weight']; - $weight_array['values'][0] = $product['weight']; - } - else if ($weight_array['min'] > $product['weight']) - { - $weight_array['min'] = $product['weight']; - $weight_array['values'][0] = $product['weight']; - } - - if ($weight_array['max'] < $product['weight']) - { - $weight_array['max'] = $product['weight']; - $weight_array['values'][1] = $product['weight']; - } - } - if ($weight_array['max'] != $weight_array['min'] && $weight_array['min'] != null) - { - if (isset($selected_filters['weight']) && isset($selected_filters['weight'][0]) - && isset($selected_filters['weight'][1])) - { - $weight_array['values'][0] = $selected_filters['weight'][0]; - $weight_array['values'][1] = $selected_filters['weight'][1]; - } - $filter_blocks[] = $weight_array; - } - break; - - case 'condition': - $condition_array = array( - 'new' => array('name' => $this->l('New'),'nbr' => 0), - 'used' => array('name' => $this->l('Used'), 'nbr' => 0), - 'refurbished' => array('name' => $this->l('Refurbished'), - 'nbr' => 0) - ); - if (isset($products) && $products) - foreach ($products as $product) - if (isset($selected_filters['condition']) && in_array($product['condition'], $selected_filters['condition'])) - $condition_array[$product['condition']]['checked'] = true; - foreach ($condition_array as $key => $condition) - if (isset($selected_filters['condition']) && in_array($key, $selected_filters['condition'])) - $condition_array[$key]['checked'] = true; - if (isset($products) && $products) - foreach ($products as $product) - if (isset($condition_array[$product['condition']])) - $condition_array[$product['condition']]['nbr']++; - $filter_blocks[] = array( - 'type_lite' => 'condition', - 'type' => 'condition', - 'id_key' => 0, - 'name' => $this->l('Condition'), - 'values' => $condition_array, - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - break; - - case 'quantity': - $quantity_array = array ( - 0 => array('name' => $this->l('Not available'), 'nbr' => 0), - 1 => array('name' => $this->l('In stock'), 'nbr' => 0) - ); - foreach ($quantity_array as $key => $quantity) - if (isset($selected_filters['quantity']) && in_array($key, $selected_filters['quantity'])) - $quantity_array[$key]['checked'] = true; - if (isset($products) && $products) - foreach ($products as $product) - { - //If oosp move all not available quantity to available quantity - if ((int)$product['quantity'] > 0 || Product::isAvailableWhenOutOfStock($product['out_of_stock'])) - $quantity_array[1]['nbr']++; - else - $quantity_array[0]['nbr']++; - } - - $filter_blocks[] = array( - 'type_lite' => 'quantity', - 'type' => 'quantity', - 'id_key' => 0, - 'name' => $this->l('Availability'), - 'values' => $quantity_array, - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - - break; - - case 'manufacturer': - if (isset($products) && $products) - { - $manufaturers_array = array(); - foreach ($products as $manufacturer) - { - if (!isset($manufaturers_array[$manufacturer['id_manufacturer']])) - $manufaturers_array[$manufacturer['id_manufacturer']] = array('name' => $manufacturer['name'], 'nbr' => $manufacturer['nbr']); - if (isset($selected_filters['manufacturer']) && in_array((int)$manufacturer['id_manufacturer'], $selected_filters['manufacturer'])) - $manufaturers_array[$manufacturer['id_manufacturer']]['checked'] = true; - } - $filter_blocks[] = array( - 'type_lite' => 'manufacturer', - 'type' => 'manufacturer', - 'id_key' => 0, - 'name' => $this->l('Manufacturer'), - 'values' => $manufaturers_array, - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - } - break; - - case 'id_attribute_group': - $attributes_array = array(); - if (isset($products) && $products) - { - foreach ($products as $attributes) - { - if (!isset($attributes_array[$attributes['id_attribute_group']])) - $attributes_array[$attributes['id_attribute_group']] = array ( - 'type_lite' => 'id_attribute_group', - 'type' => 'id_attribute_group', - 'id_key' => (int)$attributes['id_attribute_group'], - 'name' => $attributes['attribute_group_name'], - 'is_color_group' => (bool)$attributes['is_color_group'], - 'values' => array(), - 'url_name' => $attributes['name_url_name'], - 'meta_title' => $attributes['name_meta_title'], - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - - if (!isset($attributes_array[$attributes['id_attribute_group']]['values'][$attributes['id_attribute']])) - $attributes_array[$attributes['id_attribute_group']]['values'][$attributes['id_attribute']] = array( - 'color' => $attributes['color'], - 'name' => $attributes['attribute_name'], - 'nbr' => (int)$attributes['nbr'], - 'url_name' => $attributes['value_url_name'], - 'meta_title' => $attributes['value_meta_title'] - ); - - if (isset($selected_filters['id_attribute_group'][$attributes['id_attribute']])) - $attributes_array[$attributes['id_attribute_group']]['values'][$attributes['id_attribute']]['checked'] = true; - } - - $filter_blocks = array_merge($filter_blocks, $attributes_array); - } - break; - case 'id_feature': - $feature_array = array(); - if (isset($products) && $products) - { - foreach ($products as $feature) - { - if (!isset($feature_array[$feature['id_feature']])) - $feature_array[$feature['id_feature']] = array( - 'type_lite' => 'id_feature', - 'type' => 'id_feature', - 'id_key' => (int)$feature['id_feature'], - 'values' => array(), - 'name' => $feature['feature_name'], - 'url_name' => $feature['name_url_name'], - 'meta_title' => $feature['name_meta_title'], - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - - if (!isset($feature_array[$feature['id_feature']]['values'][$feature['id_feature_value']])) - $feature_array[$feature['id_feature']]['values'][$feature['id_feature_value']] = array( - 'nbr' => (int)$feature['nbr'], - 'name' => $feature['value'], - 'url_name' => $feature['value_url_name'], - 'meta_title' => $feature['value_meta_title'] - ); - - if (isset($selected_filters['id_feature'][$feature['id_feature_value']])) - $feature_array[$feature['id_feature']]['values'][$feature['id_feature_value']]['checked'] = true; - } - - //Natural sort - foreach ($feature_array as $key => $value) - { - $temp = array(); - foreach ($feature_array[$key]['values'] as $keyint => $valueint) - $temp[$keyint] = $valueint['name']; - - natcasesort($temp); - $temp2 = array(); - - foreach ($temp as $keytemp => $valuetemp) - $temp2[$keytemp] = $feature_array[$key]['values'][$keytemp]; - - $feature_array[$key]['values'] = $temp2; - } - - $filter_blocks = array_merge($filter_blocks, $feature_array); - } - break; - - case 'category': - $tmp_array = array(); - if (isset($products) && $products) - { - $categories_with_products_count = 0; - foreach ($products as $category) - { - $tmp_array[$category['id_category']] = array( - 'name' => $category['name'], - 'nbr' => (int)$category['count_products'] - ); - - if ((int)$category['count_products']) - $categories_with_products_count++; - - if (isset($selected_filters['category']) && in_array($category['id_category'], $selected_filters['category'])) - $tmp_array[$category['id_category']]['checked'] = true; - } - if ($categories_with_products_count || !Configuration::get('PS_LAYERED_HIDE_0_VALUES')) - $filter_blocks[] = array ( - 'type_lite' => 'category', - 'type' => 'category', - 'id_key' => 0, 'name' => $this->l('Categories'), - 'values' => $tmp_array, - 'filter_show_limit' => $filter['filter_show_limit'], - 'filter_type' => $filter['filter_type'] - ); - } - break; - } - } - - // All non indexable attribute and feature - $non_indexable = array(); - - // Get all non indexable attribute groups - foreach (Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT public_name - FROM `'._DB_PREFIX_.'attribute_group_lang` agl - LEFT JOIN `'._DB_PREFIX_.'layered_indexable_attribute_group` liag - ON liag.id_attribute_group = agl.id_attribute_group - WHERE indexable IS NULL OR indexable = 0 - AND id_lang = '.(int)$id_lang) as $attribute) - $non_indexable[] = Tools::link_rewrite($attribute['public_name']); - - // Get all non indexable features - foreach (Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT name - FROM `'._DB_PREFIX_.'feature_lang` fl - LEFT JOIN `'._DB_PREFIX_.'layered_indexable_feature` lif - ON lif.id_feature = fl.id_feature - WHERE indexable IS NULL OR indexable = 0 - AND id_lang = '.(int)$id_lang) as $attribute) - $non_indexable[] = Tools::link_rewrite($attribute['name']); - - //generate SEO link - $param_selected = ''; - $param_product_url = ''; - $option_checked_array = array(); - $param_group_selected_array = array(); - $title_values = array(); - $meta_values = array(); - - //get filters checked by group - - foreach ($filter_blocks as $type_filter) - { - $filter_name = (!empty($type_filter['url_name']) ? $type_filter['url_name'] : $type_filter['name']); - $filter_meta = (!empty($type_filter['meta_title']) ? $type_filter['meta_title'] : $type_filter['name']); - $attr_key = $type_filter['type'].'_'.$type_filter['id_key']; - - $param_group_selected = ''; - $lower_filter = strtolower($type_filter['type']); - $filter_name_rewritten = Tools::link_rewrite($filter_name); - - if (($lower_filter == 'price' || $lower_filter == 'weight') - && (float)$type_filter['values'][0] > (float)$type_filter['min'] - && (float)$type_filter['values'][1] > (float)$type_filter['max']) - { - $param_group_selected .= $this->getAnchor().str_replace($this->getAnchor(), '_', $type_filter['values'][0]) - .$this->getAnchor().str_replace($this->getAnchor(), '_', $type_filter['values'][1]); - $param_group_selected_array[$filter_name_rewritten][] = $filter_name_rewritten; - - if (!isset($title_values[$filter_meta])) - $title_values[$filter_meta] = array(); - $title_values[$filter_meta][] = $filter_meta; - if (!isset($meta_values[$attr_key])) - $meta_values[$attr_key] = array('title' => $filter_meta, 'values' => array()); - $meta_values[$attr_key]['values'][] = $filter_meta; - } - else - { - foreach ($type_filter['values'] as $key => $value) - { - if (is_array($value) && array_key_exists('checked', $value )) - { - $value_name = !empty($value['url_name']) ? $value['url_name'] : $value['name']; - $value_meta = !empty($value['meta_title']) ? $value['meta_title'] : $value['name']; - $param_group_selected .= $this->getAnchor().str_replace($this->getAnchor(), '_', Tools::link_rewrite($value_name)); - $param_group_selected_array[$filter_name_rewritten][] = Tools::link_rewrite($value_name); - - if (!isset($title_values[$filter_meta])) - $title_values[$filter_meta] = array(); - $title_values[$filter_meta][] = $value_name; - if (!isset($meta_values[$attr_key])) - $meta_values[$attr_key] = array('title' => $filter_meta, 'values' => array()); - $meta_values[$attr_key]['values'][] = $value_meta; - } - else - $param_group_selected_array[$filter_name_rewritten][] = array(); - } - } - - if (!empty($param_group_selected)) - { - $param_selected .= '/'.str_replace($this->getAnchor(), '_', $filter_name_rewritten).$param_group_selected; - $option_checked_array[$filter_name_rewritten] = $param_group_selected; - } - // select only attribute and group attribute to display an unique product combination link - if (!empty($param_group_selected) && $type_filter['type'] == 'id_attribute_group') - $param_product_url .= '/'.str_replace($this->getAnchor(), '_', $filter_name_rewritten).$param_group_selected; - - } - - if ($this->page > 1) - $param_selected .= '/page-'.$this->page; - - $blacklist = array('weight', 'price'); - - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_CDT')) - $blacklist[] = 'condition'; - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_QTY')) - $blacklist[] = 'quantity'; - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_MNF')) - $blacklist[] = 'manufacturer'; - if (!Configuration::get('PS_LAYERED_FILTER_INDEX_CAT')) - $blacklist[] = 'category'; - - $global_nofollow = false; - $categorie_link = Context::getContext()->link->getCategoryLink($parent, null, null); - - foreach ($filter_blocks as &$type_filter) - { - $filter_name = (!empty($type_filter['url_name']) ? $type_filter['url_name'] : $type_filter['name']); - $filter_link_rewrite = Tools::link_rewrite($filter_name); - - if (count($type_filter) > 0 && !isset($type_filter['slider'])) - { - foreach ($type_filter['values'] as $key => $values) - { - $nofollow = false; - if (!empty($values['checked']) && in_array($type_filter['type'], $blacklist)) - $global_nofollow = true; - - $option_checked_clone_array = $option_checked_array; - - // If not filters checked, add parameter - $value_name = !empty($values['url_name']) ? $values['url_name'] : $values['name']; - - if (!in_array(Tools::link_rewrite($value_name), $param_group_selected_array[$filter_link_rewrite])) - { - // Update parameter filter checked before - if (array_key_exists($filter_link_rewrite, $option_checked_array)) - { - $option_checked_clone_array[$filter_link_rewrite] = $option_checked_clone_array[$filter_link_rewrite].$this->getAnchor().str_replace($this->getAnchor(), '_', Tools::link_rewrite($value_name)); - - if (in_array($type_filter['type'], $blacklist)) - $nofollow = true; - } - else - $option_checked_clone_array[$filter_link_rewrite] = $this->getAnchor().str_replace($this->getAnchor(), '_', Tools::link_rewrite($value_name)); - } - else - { - // Remove selected parameters - $option_checked_clone_array[$filter_link_rewrite] = str_replace($this->getAnchor().str_replace($this->getAnchor(), '_', Tools::link_rewrite($value_name)), '', $option_checked_clone_array[$filter_link_rewrite]); - if (empty($option_checked_clone_array[$filter_link_rewrite])) - unset($option_checked_clone_array[$filter_link_rewrite]); - } - $parameters = ''; - ksort($option_checked_clone_array); // Order parameters - foreach ($option_checked_clone_array as $key_group => $value_group) - $parameters .= '/'.str_replace($this->getAnchor(), '_', $key_group).$value_group; - - // Add nofollow if any blacklisted filters ins in parameters - foreach ($filter_blocks as $filter) - { - $name = Tools::link_rewrite((!empty($filter['url_name']) ? $filter['url_name'] : $filter['name'])); - if (in_array($filter['type'], $blacklist) && strpos($parameters, $name.'-') !== false) - $nofollow = true; - } - - // Check if there is an non indexable attribute or feature in the url - foreach ($non_indexable as $value) - if (strpos($parameters, '/'.$value) !== false) - $nofollow = true; - - $type_filter['values'][$key]['link'] = $categorie_link.'#'.ltrim($parameters, '/'); - $type_filter['values'][$key]['rel'] = ($nofollow) ? 'nofollow' : ''; - } - } - } - - $n_filters = 0; - - if (isset($selected_filters['price'])) - if ($price_array['min'] == $selected_filters['price'][0] && $price_array['max'] == $selected_filters['price'][1]) - unset($selected_filters['price']); - if (isset($selected_filters['weight'])) - if ($weight_array['min'] == $selected_filters['weight'][0] && $weight_array['max'] == $selected_filters['weight'][1]) - unset($selected_filters['weight']); - - foreach ($selected_filters as $filters) - $n_filters += count($filters); - - $cache = array( - 'layered_show_qties' => (int)Configuration::get('PS_LAYERED_SHOW_QTIES'), - 'id_category_layered' => (int)$id_parent, - 'selected_filters' => $selected_filters, - 'n_filters' => (int)$n_filters, - 'nbr_filterBlocks' => count($filter_blocks), - 'filters' => $filter_blocks, - 'title_values' => $title_values, - 'meta_values' => $meta_values, - 'current_friendly_url' => $param_selected, - 'param_product_url' => $param_product_url, - 'no_follow' => (!empty($param_selected) || $global_nofollow) - ); - - return $cache; - } - - public function cleanFilterByIdValue($attributes, $id_value) - { - $selected_filters = array(); - if (is_array($attributes)) - foreach ($attributes as $attribute) - { - $attribute_data = explode('_', $attribute); - if ($attribute_data[0] == $id_value) - $selected_filters[] = $attribute_data[1]; - } - return $selected_filters; - } - - public function generateFiltersBlock($selected_filters) - { - global $smarty; - if ($filter_block = $this->getFilterBlock($selected_filters)) - { - if ($filter_block['nbr_filterBlocks'] == 0) - return false; - - $translate = array(); - $translate['price'] = $this->l('price'); - $translate['weight'] = $this->l('weight'); - - $smarty->assign($filter_block); - $smarty->assign(array( - 'hide_0_values' => Configuration::get('PS_LAYERED_HIDE_0_VALUES'), - 'blocklayeredSliderName' => $translate, - 'col_img_dir' => _PS_COL_IMG_DIR_ - )); - return $this->display(__FILE__, 'blocklayered.tpl'); - } - else - return false; - } - - private static function getPriceFilterSubQuery($filter_value, $ignore_join = false) - { - $id_currency = (int)Context::getContext()->currency->id; - - if (isset($filter_value) && $filter_value) - { - $price_filter_query = ' - INNER JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product AND psi.id_currency = '.(int)$id_currency.' - AND psi.price_min <= '.(int)$filter_value[1].' AND psi.price_max >= '.(int)$filter_value[0].' AND psi.id_shop='.(int)Context::getContext()->shop->id.') '; - return array('join' => $price_filter_query); - } - return array(); - } - - private static function filterProductsByPrice($filter_value, $product_collection) - { - static $ps_layered_filter_price_usetax = null; - static $ps_layered_filter_price_rounding = null; - - if (empty($filter_value)) - return $product_collection; - - if ($ps_layered_filter_price_usetax === null) { - $ps_layered_filter_price_usetax = Configuration::get('PS_LAYERED_FILTER_PRICE_USETAX'); - } - - if ($ps_layered_filter_price_rounding === null) { - $ps_layered_filter_price_rounding = Configuration::get('PS_LAYERED_FILTER_PRICE_ROUNDING'); - } - - foreach ($product_collection as $key => $product) - { - if (isset($filter_value) && $filter_value && isset($product['price_min']) && isset($product['id_product']) - && (($product['price_min'] < (int)$filter_value[0] && $product['price_max'] > (int)$filter_value[0]) - || ($product['price_max'] > (int)$filter_value[1] && $product['price_min'] < (int)$filter_value[1]))) - { - $price = Product::getPriceStatic($product['id_product'], $ps_layered_filter_price_usetax); - if ($ps_layered_filter_price_rounding) { - $price = (int)$price; - } - if ($price < $filter_value[0] || $price > $filter_value[1]) { - unset($product_collection[$key]); - } - } - } - return $product_collection; - } - - private static function getWeightFilterSubQuery($filter_value, $ignore_join = false) - { - if (isset($filter_value) && $filter_value) { - if ($filter_value[0] != 0 || $filter_value[1] != 0) { - return array('where' => ' AND p.`weight` BETWEEN '.(float)($filter_value[0] - 0.001).' AND '.(float)($filter_value[1] + 0.001).' '); - } - } - - return array(); - } - - private static function getId_featureFilterSubQuery($filter_value, $ignore_join = false) - { - if (empty($filter_value)) - return array(); - $query_filters = ' AND EXISTS (SELECT * FROM '._DB_PREFIX_.'feature_product fp WHERE fp.id_product = p.id_product AND '; - foreach ($filter_value as $filter_val) - $query_filters .= 'fp.`id_feature_value` = '.(int)$filter_val.' OR '; - $query_filters = rtrim($query_filters, 'OR ').') '; - - return array('where' => $query_filters); - } - private static function getId_attribute_groupFilterSubQuery($filter_value, $ignore_join = false) - { - if (empty($filter_value)) - return array(); - $query_filters = ' - AND EXISTS (SELECT * - FROM `'._DB_PREFIX_.'product_attribute_combination` pac - LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON (pa.`id_product_attribute` = pac.`id_product_attribute`) - WHERE pa.id_product = p.id_product AND '; - - foreach ($filter_value as $filter_val) - $query_filters .= 'pac.`id_attribute` = '.(int)$filter_val.' OR '; - $query_filters = rtrim($query_filters, 'OR ').') '; - - return array('where' => $query_filters); - } - - private static function getCategoryFilterSubQuery($filter_value, $ignore_join = false) - { - if (empty($filter_value)) - return array(); - $query_filters_where = ' AND EXISTS (SELECT * FROM '._DB_PREFIX_.'category_product cp WHERE id_product = p.id_product AND '; - foreach ($filter_value as $id_category) - $query_filters_where .= 'cp.`id_category` = '.(int)$id_category.' OR '; - $query_filters_where = rtrim($query_filters_where, 'OR ').') '; - - return array('where' => $query_filters_where); - } - - private static function getQuantityFilterSubQuery($filter_value, $ignore_join = false) - { - if (count($filter_value) == 2 || empty($filter_value)) - return array(); - - $query_filters_join = ''; - - $query_filters = ' AND sav.quantity '.(!$filter_value[0] ? '<=' : '>').' 0 '; - $query_filters_join = 'LEFT JOIN `'._DB_PREFIX_.'stock_available` sav ON (sav.id_product = p.id_product AND sav.id_shop = '.(int)Context::getContext()->shop->id.') '; - - return array('where' => $query_filters, 'join' => $query_filters_join); - } - - private static function getManufacturerFilterSubQuery($filter_value, $ignore_join = false) - { - if (empty($filter_value)) - $query_filters = ''; - else - { - array_walk($filter_value, function (&$id_manufacturer) {$id_manufacturer = (int)$id_manufacturer;}); - $query_filters = ' AND p.id_manufacturer IN ('.implode(',', $filter_value).')'; - } - if ($ignore_join) - return array('where' => $query_filters); - else - return array('where' => $query_filters, 'join' => 'LEFT JOIN `'._DB_PREFIX_.'manufacturer` m ON (m.id_manufacturer = p.id_manufacturer) '); - } - - private static function getConditionFilterSubQuery($filter_value, $ignore_join = false) - { - if (count($filter_value) == 3 || empty($filter_value)) - return array(); - - $query_filters = ' AND p.condition IN ('; - - foreach ($filter_value as $cond) - $query_filters .= '\''.$cond.'\','; - $query_filters = rtrim($query_filters, ',').') '; - - return array('where' => $query_filters); - } - - public function ajaxCall() - { - global $smarty, $cookie; - - $selected_filters = $this->getSelectedFilters(); - $filter_block = $this->getFilterBlock($selected_filters); - $this->getProducts($selected_filters, $products, $nb_products, $p, $n, $pages_nb, $start, $stop, $range); - - // Add pagination variable - $nArray = (int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10 ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50); - // Clean duplicate values - $nArray = array_unique($nArray); - asort($nArray); - - Hook::exec( - 'actionProductListModifier', - array( - 'nb_products' => &$nb_products, - 'cat_products' => &$products, - ) - ); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $this->context->controller->addColorsToProductList($products); - - $category = new Category(Tools::getValue('id_category_layered', Configuration::get('PS_HOME_CATEGORY')), (int)$cookie->id_lang); - - // Generate meta title and meta description - $category_title = (empty($category->meta_title) ? $category->name : $category->meta_title); - $category_metas = Meta::getMetaTags((int)$cookie->id_lang, 'category'); - $title = ''; - $keywords = ''; - - if (is_array($filter_block['title_values'])) - foreach ($filter_block['title_values'] as $key => $val) - { - $title .= ' > '.$key.' '.implode('/', $val); - $keywords .= $key.' '.implode('/', $val).', '; - } - - $title = $category_title.$title; - - if (!empty($title)) - $meta_title = $title; - else - $meta_title = $category_metas['meta_title']; - - $meta_description = $category_metas['meta_description']; - - $keywords = Tools::substr(Tools::strtolower($keywords), 0, 1000); - if (!empty($keywords)) - $meta_keywords = rtrim($category_title.', '.$keywords.', '.$category_metas['meta_keywords'], ', '); - - $smarty->assign( - array( - 'homeSize' => Image::getSize(ImageType::getFormatedName('home')), - 'nb_products' => $nb_products, - 'category' => $category, - 'pages_nb' => (int)$pages_nb, - 'p' => (int)$p, - 'n' => (int)$n, - 'range' => (int)$range, - 'start' => (int)$start, - 'stop' => (int)$stop, - 'n_array' => ((int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10) ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50), - 'comparator_max_item' => (int)(Configuration::get('PS_COMPARATOR_MAX_ITEM')), - 'products' => $products, - 'products_per_page' => (int)Configuration::get('PS_PRODUCTS_PER_PAGE'), - 'static_token' => Tools::getToken(false), - 'page_name' => 'category', - 'nArray' => $nArray, - 'compareProducts' => CompareProduct::getCompareProducts((int)$this->context->cookie->id_compare) - ) - ); - - // Prevent bug with old template where category.tpl contain the title of the category and category-count.tpl do not exists - if (file_exists(_PS_THEME_DIR_.'category-count.tpl')) - $category_count = $smarty->fetch(_PS_THEME_DIR_.'category-count.tpl'); - else - $category_count = ''; - - if ($nb_products == 0) - $product_list = $this->display(__FILE__, 'blocklayered-no-products.tpl'); - else - $product_list = $smarty->fetch(_PS_THEME_DIR_.'product-list.tpl'); - - $vars = array( - 'filtersBlock' => utf8_encode($this->generateFiltersBlock($selected_filters)), - 'productList' => utf8_encode($product_list), - 'pagination' => $smarty->fetch(_PS_THEME_DIR_.'pagination.tpl'), - 'categoryCount' => $category_count, - 'meta_title' => $meta_title.' - '.Configuration::get('PS_SHOP_NAME'), - 'heading' => $meta_title, - 'meta_keywords' => isset($meta_keywords) ? $meta_keywords : null, - 'meta_description' => $meta_description, - 'current_friendly_url' => ((int)$n == (int)$nb_products) ? '#/show-all': '#'.$filter_block['current_friendly_url'], - 'filters' => $filter_block['filters'], - 'nbRenderedProducts' => (int)$nb_products, - 'nbAskedProducts' => (int)$n - ); - - if (version_compare(_PS_VERSION_, '1.6.0', '>=') === true) - $vars = array_merge($vars, array('pagination_bottom' => $smarty->assign('paginationId', 'bottom') - ->fetch(_PS_THEME_DIR_.'pagination.tpl'))); - /* We are sending an array in jSon to the .js controller, it will update both the filters and the products zones */ - return json_encode($vars); - } - - public function getProducts($selected_filters, &$products, &$nb_products, &$p, &$n, &$pages_nb, &$start, &$stop, &$range) - { - global $cookie; - - $products = $this->getProductByFilters($selected_filters); - $products = Product::getProductsProperties((int)$cookie->id_lang, $products); - $nb_products = $this->nbr_products; - $range = 2; /* how many pages around page selected */ - - $product_per_page = isset($this->context->cookie->nb_item_per_page) ? (int)$this->context->cookie->nb_item_per_page : Configuration::get('PS_PRODUCTS_PER_PAGE'); - $n = (int)Tools::getValue('n', Configuration::get('PS_PRODUCTS_PER_PAGE')); - - if ($n <= 0) - $n = 1; - - $p = $this->page; - - if ($p < 0) - $p = 0; - - if ($p > ($nb_products / $n)) - $p = ceil($nb_products / $n); - $pages_nb = ceil($nb_products / (int)($n)); - - $start = (int)($p - $range); - if ($start < 1) - $start = 1; - - $stop = (int)($p + $range); - if ($stop > $pages_nb) - $stop = (int)($pages_nb); - - foreach ($products as &$product) - { - if ($product['id_product_attribute'] && isset($product['product_attribute_minimal_quantity'])) - $product['minimal_quantity'] = $product['product_attribute_minimal_quantity']; - } - } - - public function rebuildLayeredStructure() - { - @set_time_limit(0); - - /* Set memory limit to 128M only if current is lower */ - $memory_limit = @ini_get('memory_limit'); - if (substr($memory_limit, -1) != 'G' && ((substr($memory_limit, -1) == 'M' && substr($memory_limit, 0, -1) < 128) || is_numeric($memory_limit) && (intval($memory_limit) < 131072))) - @ini_set('memory_limit', '128M'); - - /* Delete and re-create the layered categories table */ - Db::getInstance()->execute('DROP TABLE IF EXISTS '._DB_PREFIX_.'layered_category'); - Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'layered_category` ( - `id_layered_category` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `id_shop` INT(11) UNSIGNED NOT NULL, - `id_category` INT(10) UNSIGNED NOT NULL, - `id_value` INT(10) UNSIGNED NULL DEFAULT \'0\', - `type` ENUM(\'category\',\'id_feature\',\'id_attribute_group\',\'quantity\',\'condition\',\'manufacturer\',\'weight\',\'price\') NOT NULL, - `position` INT(10) UNSIGNED NOT NULL, - `filter_type` int(10) UNSIGNED NOT NULL DEFAULT 0, - `filter_show_limit` int(10) UNSIGNED NOT NULL DEFAULT 0, - PRIMARY KEY (`id_layered_category`), - KEY `id_category` (`id_category`,`type`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;'); /* MyISAM + latin1 = Smaller/faster */ - - Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'layered_filter` ( - `id_layered_filter` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, - `name` VARCHAR(64) NOT NULL, - `filters` TEXT NULL, - `n_categories` INT(10) UNSIGNED NOT NULL, - `date_add` DATETIME NOT NULL - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - - Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'layered_filter_shop` ( - `id_layered_filter` INT(10) UNSIGNED NOT NULL, - `id_shop` INT(11) UNSIGNED NOT NULL, - PRIMARY KEY (`id_layered_filter`, `id_shop`), - KEY `id_shop` (`id_shop`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'); - } - - public function rebuildLayeredCache($products_ids = array(), $categories_ids = array()) - { - @set_time_limit(0); - - $filter_data = array('categories' => array()); - - /* Set memory limit to 128M only if current is lower */ - $memory_limit = @ini_get('memory_limit'); - if (substr($memory_limit, -1) != 'G' && ((substr($memory_limit, -1) == 'M' && substr($memory_limit, 0, -1) < 128) || is_numeric($memory_limit) && (intval($memory_limit) < 131072))) - @ini_set('memory_limit', '128M'); - - $db = Db::getInstance(_PS_USE_SQL_SLAVE_); - $n_categories = array(); - $done_categories = array(); - $alias = 'p'; - $join_product_attribute = $join_product = ''; - - $alias = 'product_shop'; - $join_product = Shop::addSqlAssociation('product', 'p'); - $join_product_attribute = Shop::addSqlAssociation('product_attribute', 'pa'); - - - $attribute_groups = self::query(' - SELECT a.id_attribute, a.id_attribute_group - FROM '._DB_PREFIX_.'attribute a - LEFT JOIN '._DB_PREFIX_.'product_attribute_combination pac ON (pac.id_attribute = a.id_attribute) - LEFT JOIN '._DB_PREFIX_.'product_attribute pa ON (pa.id_product_attribute = pac.id_product_attribute) - LEFT JOIN '._DB_PREFIX_.'product p ON (p.id_product = pa.id_product) - '.$join_product.$join_product_attribute.' - LEFT JOIN '._DB_PREFIX_.'category_product cp ON (cp.id_product = p.id_product) - LEFT JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category) - WHERE c.active = 1'. - (count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : '').' - AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog") - '.(count($products_ids) ? 'AND p.id_product IN ('.implode(',', $products_ids).')' : '')); - - $attribute_groups_by_id = array(); - while ($row = $db->nextRow($attribute_groups)) - $attribute_groups_by_id[(int)$row['id_attribute']] = (int)$row['id_attribute_group']; - - $features = self::query(' - SELECT fv.id_feature_value, fv.id_feature - FROM '._DB_PREFIX_.'feature_value fv - LEFT JOIN '._DB_PREFIX_.'feature_product fp ON (fp.id_feature_value = fv.id_feature_value) - LEFT JOIN '._DB_PREFIX_.'product p ON (p.id_product = fp.id_product) - '.$join_product.' - LEFT JOIN '._DB_PREFIX_.'category_product cp ON (cp.id_product = p.id_product) - LEFT JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category) - WHERE (fv.custom IS NULL OR fv.custom = 0) AND c.active = 1'.(count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : '').' - AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog") '.(count($products_ids) ? 'AND p.id_product IN ('.implode(',', $products_ids).')' : '')); - - $features_by_id = array(); - while ($row = $db->nextRow($features)) - $features_by_id[(int)$row['id_feature_value']] = (int)$row['id_feature']; - - $result = self::query(' - SELECT p.id_product, - GROUP_CONCAT(DISTINCT fv.id_feature_value) features, - GROUP_CONCAT(DISTINCT cp.id_category) categories, - GROUP_CONCAT(DISTINCT pac.id_attribute) attributes - FROM '._DB_PREFIX_.'product p - LEFT JOIN '._DB_PREFIX_.'category_product cp ON (cp.id_product = p.id_product) - LEFT JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category) - LEFT JOIN '._DB_PREFIX_.'feature_product fp ON (fp.id_product = p.id_product) - LEFT JOIN '._DB_PREFIX_.'feature_value fv ON (fv.id_feature_value = fp.id_feature_value) - LEFT JOIN '._DB_PREFIX_.'product_attribute pa ON (pa.id_product = p.id_product) - '.$join_product.$join_product_attribute.' - LEFT JOIN '._DB_PREFIX_.'product_attribute_combination pac ON (pac.id_product_attribute = pa.id_product_attribute) - WHERE c.active = 1'.(count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : '').' - AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog") - '.(count($products_ids) ? 'AND p.id_product IN ('.implode(',', $products_ids).')' : ''). - ' AND (fv.custom IS NULL OR fv.custom = 0) - GROUP BY p.id_product'); - - - $shop_list = Shop::getShops(false, null, true); - - $to_insert = false; - while ($product = $db->nextRow($result)) - { - $a = $c = $f = array(); - if (!empty($product['attributes'])) - $a = array_flip(explode(',', $product['attributes'])); - if (!empty($product['categories'])) - $c = array_flip(explode(',', $product['categories'])); - if (!empty($product['features'])) - $f = array_flip(explode(',', $product['features'])); - - $filter_data['shop_list'] = $shop_list; - - foreach ($c as $id_category => $category) - { - if (!in_array($id_category, $filter_data['categories'])) - $filter_data['categories'][] = $id_category; - - if (!isset($n_categories[(int)$id_category])) - $n_categories[(int)$id_category] = 1; - if (!isset($done_categories[(int)$id_category]['cat'])) - { - $filter_data['layered_selection_subcategories'] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['cat'] = true; - $to_insert = true; - } - if (is_array($attribute_groups_by_id) && count($attribute_groups_by_id) > 0) - foreach ($a as $k_attribute => $attribute) - if (!isset($done_categories[(int)$id_category]['a'.(int)$attribute_groups_by_id[(int)$k_attribute]])) - { - $filter_data['layered_selection_ag_'.(int)$attribute_groups_by_id[(int)$k_attribute]] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['a'.(int)$attribute_groups_by_id[(int)$k_attribute]] = true; - $to_insert = true; - } - if (is_array($attribute_groups_by_id) && count($attribute_groups_by_id) > 0) - foreach ($f as $k_feature => $feature) - if (!isset($done_categories[(int)$id_category]['f'.(int)$features_by_id[(int)$k_feature]])) - { - $filter_data['layered_selection_feat_'.(int)$features_by_id[(int)$k_feature]] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['f'.(int)$features_by_id[(int)$k_feature]] = true; - $to_insert = true; - } - if (!isset($done_categories[(int)$id_category]['q'])) - { - $filter_data['layered_selection_stock'] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['q'] = true; - $to_insert = true; - } - if (!isset($done_categories[(int)$id_category]['m'])) - { - $filter_data['layered_selection_manufacturer'] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['m'] = true; - $to_insert = true; - } - if (!isset($done_categories[(int)$id_category]['c'])) - { - $filter_data['layered_selection_condition'] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['c'] = true; - $to_insert = true; - } - if (!isset($done_categories[(int)$id_category]['w'])) - { - $filter_data['layered_selection_weight_slider'] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['w'] = true; - $to_insert = true; - } - if (!isset($done_categories[(int)$id_category]['p'])) - { - $filter_data['layered_selection_price_slider'] = array('filter_type' => 0, 'filter_show_limit' => 0); - $done_categories[(int)$id_category]['p'] = true; - $to_insert = true; - } - } - } - if ($to_insert) - { - Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_filter(name, filters, n_categories, date_add) - VALUES (\''.sprintf($this->l('My template %s'), date('Y-m-d')).'\', \''.pSQL(serialize($filter_data)).'\', '.count($filter_data['categories']).', NOW())'); - - $last_id = Db::getInstance()->Insert_ID(); - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_filter_shop WHERE `id_layered_filter` = '.$last_id); - foreach ($shop_list as $id_shop) - Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_filter_shop (`id_layered_filter`, `id_shop`) - VALUES('.$last_id.', '.(int)$id_shop.')'); - - $this->buildLayeredCategories(); - } - } - - public function buildLayeredCategories() - { - // Get all filter template - $res = Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'layered_filter ORDER BY date_add DESC'); - $categories = array(); - // Remove all from layered_category - Db::getInstance()->execute('TRUNCATE '._DB_PREFIX_.'layered_category'); - - if (!count($res)) // No filters templates defined, nothing else to do - return true; - - $sql_to_insert = 'INSERT INTO '._DB_PREFIX_.'layered_category (id_category, id_shop, id_value, type, position, filter_show_limit, filter_type) VALUES '; - $values = false; - - foreach ($res as $filter_template) - { - $data = Tools::unSerialize($filter_template['filters']); - foreach ($data['shop_list'] as $id_shop) - { - if (!isset($categories[$id_shop])) - $categories[$id_shop] = array(); - - foreach ($data['categories'] as $id_category) - { - $n = 0; - if (!in_array($id_category, $categories[$id_shop])) // Last definition, erase preivious categories defined - { - $categories[$id_shop][] = $id_category; - - foreach ($data as $key => $value) - if (substr($key, 0, 17) == 'layered_selection') - { - $values = true; - $type = $value['filter_type']; - $limit = $value['filter_show_limit']; - $n++; - - if ($key == 'layered_selection_stock') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', NULL,\'quantity\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if ($key == 'layered_selection_subcategories') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', NULL,\'category\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if ($key == 'layered_selection_condition') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', NULL,\'condition\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if ($key == 'layered_selection_weight_slider') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', NULL,\'weight\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if ($key == 'layered_selection_price_slider') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', NULL,\'price\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if ($key == 'layered_selection_manufacturer') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', NULL,\'manufacturer\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if (substr($key, 0, 21) == 'layered_selection_ag_') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', '.(int)str_replace('layered_selection_ag_', '', $key).', - \'id_attribute_group\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - else if (substr($key, 0, 23) == 'layered_selection_feat_') - $sql_to_insert .= '('.(int)$id_category.', '.(int)$id_shop.', '.(int)str_replace('layered_selection_feat_', '', $key).', - \'id_feature\','.(int)$n.', '.(int)$limit.', '.(int)$type.'),'; - } - } - } - } - } - if ($values) - Db::getInstance()->execute(rtrim($sql_to_insert, ',')); - } - - protected function getAnchor() - { - static $anchor = null; - if ($anchor === null) - if (!$anchor = Configuration::get('PS_ATTRIBUTE_ANCHOR_SEPARATOR')) - $anchor = '-'; - return $anchor; - } - - protected function showPriceFilter() - { - return Group::getCurrent()->show_prices; - } - - protected function filterVar($value) - { - if (version_compare(_PS_VERSION_, '1.6.0.7', '>=') === true) - return Tools::purifyHTML($value); - else - return filter_var($value, FILTER_SANITIZE_STRING); - } -} diff --git a/modules/blocklayered/blocklayered.tpl b/modules/blocklayered/blocklayered.tpl deleted file mode 100644 index 37d094051..000000000 --- a/modules/blocklayered/blocklayered.tpl +++ /dev/null @@ -1,252 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} - -{if $nbr_filterBlocks != 0} - -
    -

    {l s='Product filter' mod='blocklayered'}

    -
    -
    -
    - {if isset($selected_filters) && $n_filters > 0} -
    - {l s='Enabled filters:' mod='blocklayered'} -
      - {foreach from=$selected_filters key=filter_type item=filter_values} - {foreach from=$filter_values key=filter_key item=filter_value name=f_values} - {foreach from=$filters item=filter} - {if $filter.type == $filter_type && isset($filter.values)} - {if isset($filter.slider)} - {if $smarty.foreach.f_values.first} -
    • - x - {if $filter.format == 1} - {l s='%1$s: %2$s - %3$s'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}:{displayPrice price=$filter.values[1]}|escape:html:'UTF-8' mod='blocklayered'} - {else} - {l s='%1$s: %2$s %4$s - %3$s %4$s'|sprintf:$filter.name:$filter.values[0]:$filter.values[1]:$filter.unit|escape:html:'UTF-8' mod='blocklayered'} - {/if} -
    • - {/if} - {else} - {foreach from=$filter.values key=id_value item=value} - {if $id_value == $filter_key && !is_numeric($filter_value) && ($filter.type eq 'id_attribute_group' || $filter.type eq 'id_feature') || $id_value == $filter_value && $filter.type neq 'id_attribute_group' && $filter.type neq 'id_feature'} -
    • - x - {l s='%1$s: %2$s' mod='blocklayered' sprintf=[$filter.name, $value.name]} -
    • - {/if} - {/foreach} - {/if} - {/if} - {/foreach} - {/foreach} - {/foreach} -
    -
    - {/if} - {foreach from=$filters item=filter} - {if isset($filter.values)} - {if isset($filter.slider)} - - - {foreach from=$filters item=filter} - {if $filter.type_lite == 'id_attribute_group' && isset($filter.is_color_group) && $filter.is_color_group && $filter.filter_type != 2} - {foreach from=$filter.values key=id_value item=value} - {if isset($value.checked)} - - {/if} - {/foreach} - {/if} - {/foreach} - -
    - -
    -{else} -
    -
    -
    - -
    -
    -
    -


    {l s='Loading...' mod='blocklayered'}

    -
    -
    -{/if} diff --git a/modules/blocklayered/composer.json b/modules/blocklayered/composer.json deleted file mode 100644 index 943f3c2b1..000000000 --- a/modules/blocklayered/composer.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "PrestaShop/blocklayered", - "description": "PrestaShop module blocklayered", - "homepage": "https://github.com/PrestaShop/blocklayered", - "license": "AFL - Academic Free License (AFL 3.0)", - "authors": [ - { - "name": "PrestaShop SA", - "email": "contact@prestashop.com" - } - ], - "require": { - "php": ">=5.3.2" - }, - "config": { - "preferred-install": "dist" - }, - "type": "prestashop-module" -} diff --git a/modules/blocklayered/css/blocklayered_admin.css b/modules/blocklayered/css/blocklayered_admin.css deleted file mode 100644 index 67b33d991..000000000 --- a/modules/blocklayered/css/blocklayered_admin.css +++ /dev/null @@ -1,53 +0,0 @@ -.table-filter-templates, .table-configurations { - width: 100%; -} - -.table-configurations td { - padding: 10px; -} - -.table-configurations .label { - text-align: right; - font-weight: bold; - width: 30%; - vertical-align: top; -} - -.help-block { - font-weight: normal; - font-style: italic; - font-size: 11px; -} - -.text-right { - text-align: right; -} - -.text-left { - text-align: left; -} - -.filter_panel header { - margin-bottom: 10px; - font-weight: bold; -} - -.filter_list { - background-color: #fff; - padding-top: 1px; - padding-bottom: 1px; -} - -.filter_list_item { - background-color: #E9E9E9; - margin: 5px; -} - -.filter_list_item td { - white-space: nowrap; -} - -.filter_list_item .filter-title { - font-weight: bold; - width: 100%; -} \ No newline at end of file diff --git a/modules/blocklayered/css/blocklayered_admin_1.6.css b/modules/blocklayered/css/blocklayered_admin_1.6.css deleted file mode 100644 index e949b837b..000000000 --- a/modules/blocklayered/css/blocklayered_admin_1.6.css +++ /dev/null @@ -1,29 +0,0 @@ -.bootstrap .filter_list .filter_list_item { - display: table; - width: 100%; - padding: 5px 0; - margin-bottom: 4px; - background-color: white; - -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 0 3px, rgba(0, 0, 0, 0.1) 0 -2px 0 inset; - box-shadow: rgba(0, 0, 0, 0.3) 0 0 3px, rgba(0, 0, 0, 0.1) 0 -2px 0 inset; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - -ms-border-radius: 3px; - -o-border-radius: 3px; - border-radius: 3px; -} - -.bootstrap .filter_panel { - min-height: 20px; - padding: 7px 7px 0px 7px; - margin-bottom: 20px; - background-color: #ebebeb; - border: 1px solid #d9d9d9; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} - -.bootstrap .filter_panel header { - margin-bottom: 7px; -} \ No newline at end of file diff --git a/modules/blocklayered/delete.gif b/modules/blocklayered/delete.gif deleted file mode 100644 index 6d186d193..000000000 Binary files a/modules/blocklayered/delete.gif and /dev/null differ diff --git a/modules/blocklayered/img/cogs.gif b/modules/blocklayered/img/cogs.gif deleted file mode 100644 index 659aace81..000000000 Binary files a/modules/blocklayered/img/cogs.gif and /dev/null differ diff --git a/modules/blocklayered/img/cross.png b/modules/blocklayered/img/cross.png deleted file mode 100644 index 560081ddf..000000000 Binary files a/modules/blocklayered/img/cross.png and /dev/null differ diff --git a/modules/blocklayered/img/edit.gif b/modules/blocklayered/img/edit.gif deleted file mode 100644 index 7934bbc8c..000000000 Binary files a/modules/blocklayered/img/edit.gif and /dev/null differ diff --git a/modules/blocklayered/img/icon/index.php b/modules/blocklayered/img/icon/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklayered/img/icon/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocklayered/img/icon/less.gif b/modules/blocklayered/img/icon/less.gif deleted file mode 100644 index 52928a267..000000000 Binary files a/modules/blocklayered/img/icon/less.gif and /dev/null differ diff --git a/modules/blocklayered/img/icon/more.gif b/modules/blocklayered/img/icon/more.gif deleted file mode 100644 index 072e49dfd..000000000 Binary files a/modules/blocklayered/img/icon/more.gif and /dev/null differ diff --git a/modules/blocklayered/img/index.php b/modules/blocklayered/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklayered/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocklayered/index.php b/modules/blocklayered/index.php deleted file mode 100644 index 044cb85ee..000000000 --- a/modules/blocklayered/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklayered/js/blocklayered_admin.js b/modules/blocklayered/js/blocklayered_admin.js deleted file mode 100644 index 0631cdc3a..000000000 --- a/modules/blocklayered/js/blocklayered_admin.js +++ /dev/null @@ -1,219 +0,0 @@ -function checkForm() -{ - var is_category_selected = false; - var is_filter_selected = false; - - $('#categories-treeview input[type=checkbox]').each( - function() - { - if ($(this).prop('checked')) - { - is_category_selected = true; - return false; - } - } - ); - - $('.filter_list_item input[type=checkbox]').each( - function() - { - if ($(this).prop('checked')) - { - is_filter_selected = true; - return false; - } - } - ); - - if (!is_category_selected) - { - alert(translations['no_selected_categories']); - $('#categories-treeview input[type=checkbox]').first().focus(); - return false; - } - - if (!is_filter_selected) - { - alert(translations['no_selected_filters']); - $('#filter_list_item input[type=checkbox]').first().focus(); - return false; - } - - - return true; -} - -$(document).ready( - function() - { - $('.ajaxcall').click( - function() - { - if (this.legend == undefined) - this.legend = $(this).html(); - - if (this.running == undefined) - this.running = false; - - if (this.running == true) - return false; - - $('.ajax-message').hide(); - this.running = true; - - if (typeof(this.restartAllowed) == 'undefined' || this.restartAllowed) - { - $(this).html(this.legend+translations['in_progress']); - $('#indexing-warning').show(); - } - - this.restartAllowed = false; - var type = $(this).attr('rel'); - - $.ajax( - { - url: this.href+'&ajax=1', - context: this, - dataType: 'json', - cache: 'false', - success: function(res) - { - this.running = false; - this.restartAllowed = true; - $('#indexing-warning').hide(); - $(this).html(this.legend); - - if (type == 'price') - $('#ajax-message-ok span').html(translations['url_indexation_finished']); - else - $('#ajax-message-ok span').html(translations['attribute_indexation_finished']); - - $('#ajax-message-ok').show(); - return; - }, - error: function(res) - { - this.restartAllowed = true; - $('#indexing-warning').hide(); - - if (type == 'price') - $('#ajax-message-ko span').html(translations['url_indexation_failed']); - else - $('#ajax-message-ko span').html(translations['attribute_indexation_failed']); - - $('#ajax-message-ko').show(); - $(this).html(this.legend); - this.running = false; - } - } - ); - return false; - }); - - $('.ajaxcall-recurcive').each( - function(it, elm) - { - $(elm).click( - function() - { - if (this.cursor == undefined) - this.cursor = 0; - - if (this.legend == undefined) - this.legend = $(this).html(); - - if (this.running == undefined) - this.running = false; - - if (this.running == true) - return false; - - $('.ajax-message').hide(); - - this.running = true; - - if (typeof(this.restartAllowed) == 'undefined' || this.restartAllowed) - { - $(this).html(this.legend+translations['in_progress']); - $('#indexing-warning').show(); - } - - this.restartAllowed = false; - - $.ajax( - { - url: this.href+'&ajax=1&cursor='+this.cursor, - context: this, - dataType: 'json', - cache: 'false', - success: function(res) - { - this.running = false; - if (res.result) - { - this.cursor = 0; - $('#indexing-warning').hide(); - $(this).html(this.legend); - $('#ajax-message-ok span').html(translations['price_indexation_finished']); - $('#ajax-message-ok').show(); - return; - } - this.cursor = parseInt(res.cursor); - $(this).html(this.legend+translations['price_indexation_in_progress'].replace('%s', res.count)); - $(this).click(); - }, - error: function(res) - { - this.restartAllowed = true; - $('#indexing-warning').hide(); - $('#ajax-message-ko span').html(translations['price_indexation_failed']); - $('#ajax-message-ko').show(); - $(this).html(this.legend); - - this.cursor = 0; - this.running = false; - } - }); - return false; - } - ); - } - ); - - if (typeof PS_LAYERED_INDEXED !== 'undefined' && PS_LAYERED_INDEXED) - { - $('#url-indexe').click(); - $('#full-index').click(); - } - - $('.sortable').sortable( - { - forcePlaceholderSize: true - }); - - $('.filter_list_item input[type=checkbox]').click( - function() - { - var current_selected_filters_count = parseInt($('#selected_filters').html()); - - if ($(this).prop('checked')) - $('#selected_filters').html(current_selected_filters_count+1); - else - $('#selected_filters').html(current_selected_filters_count-1); - } - ); - - if (typeof filters !== 'undefined') - { - filters = JSON.parse(filters); - - for (filter in filters) - { - $('#'+filter).attr("checked","checked"); - $('#selected_filters').html(parseInt($('#selected_filters').html())+1); - $('select[name="'+filter+'_filter_type"]').val(filters[filter].filter_type); - $('select[name="'+filter+'_filter_show_limit"]').val(filters[filter].filter_show_limit); - } - } - } -); \ No newline at end of file diff --git a/modules/blocklayered/js/index.php b/modules/blocklayered/js/index.php deleted file mode 100644 index 003c7f786..000000000 --- a/modules/blocklayered/js/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocklayered/js/jquery.sortable.js b/modules/blocklayered/js/jquery.sortable.js deleted file mode 100644 index a0023ef96..000000000 --- a/modules/blocklayered/js/jquery.sortable.js +++ /dev/null @@ -1,85 +0,0 @@ -/* - * HTML5 Sortable jQuery Plugin - * http://farhadi.ir/projects/html5sortable - * - * Copyright 2012, Ali Farhadi - * Released under the MIT license. - */ -(function($) { -var dragging, placeholders = $(); -$.fn.sortable = function(options) { - var method = String(options); - options = $.extend({ - connectWith: false - }, options); - return this.each(function() { - if (/^enable|disable|destroy$/.test(method)) { - var items = $(this).children($(this).data('items')).attr('draggable', method == 'enable'); - if (method == 'destroy') { - items.add(this).removeData('connectWith items') - .off('dragstart.h5s dragend.h5s selectstart.h5s dragover.h5s dragenter.h5s drop.h5s'); - } - return; - } - var isHandle, index, items = $(this).children(options.items); - var placeholder = $('<' + (/^ul|ol$/i.test(this.tagName) ? 'li' : 'div') + ' class="sortable-placeholder">'); - items.find(options.handle).mousedown(function() { - isHandle = true; - }).mouseup(function() { - isHandle = false; - }); - $(this).data('items', options.items) - placeholders = placeholders.add(placeholder); - if (options.connectWith) { - $(options.connectWith).add(this).data('connectWith', options.connectWith); - } - items.attr('draggable', 'true').on('dragstart.h5s', function(e) { - if (options.handle && !isHandle) { - return false; - } - isHandle = false; - var dt = e.originalEvent.dataTransfer; - dt.effectAllowed = 'move'; - dt.setData('Text', 'dummy'); - index = (dragging = $(this)).addClass('sortable-dragging').index(); - }).on('dragend.h5s', function() { - if (!dragging) { - return; - } - dragging.removeClass('sortable-dragging').show(); - placeholders.detach(); - if (index != dragging.index()) { - dragging.parent().trigger('sortupdate', {item: dragging, start_index: index, end_index: dragging.index()}); - } - dragging = null; - }).not('a[href], img').on('selectstart.h5s', function() { - this.dragDrop && this.dragDrop(); - return false; - }).end().add([this, placeholder]).on('dragover.h5s dragenter.h5s drop.h5s', function(e) { - if (!items.is(dragging) && options.connectWith !== $(dragging).parent().data('connectWith')) { - return true; - } - if (e.type == 'drop') { - e.stopPropagation(); - placeholders.filter(':visible').after(dragging); - dragging.trigger('dragend.h5s'); - return false; - } - e.preventDefault(); - e.originalEvent.dataTransfer.dropEffect = 'move'; - if (items.is(this)) { - if (options.forcePlaceholderSize) { - placeholder.height(dragging.outerHeight()); - } - dragging.hide(); - $(this)[placeholder.index() < $(this).index() ? 'after' : 'before'](placeholder); - placeholders.not(placeholder).detach(); - } else if (!placeholders.is(this) && !$(this).children(options.items).length) { - placeholders.detach(); - $(this).append(placeholder); - } - return false; - }); - }); -}; -})(jQuery); diff --git a/modules/blocklayered/logo.gif b/modules/blocklayered/logo.gif deleted file mode 100644 index 40df30a4c..000000000 Binary files a/modules/blocklayered/logo.gif and /dev/null differ diff --git a/modules/blocklayered/logo.png b/modules/blocklayered/logo.png deleted file mode 100644 index 18a4bf592..000000000 Binary files a/modules/blocklayered/logo.png and /dev/null differ diff --git a/modules/blocklayered/translations/index.php b/modules/blocklayered/translations/index.php deleted file mode 100644 index 044cb85ee..000000000 --- a/modules/blocklayered/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklayered/upgrade/index.php b/modules/blocklayered/upgrade/index.php deleted file mode 100644 index 003c7f786..000000000 --- a/modules/blocklayered/upgrade/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocklayered/upgrade/install-1.9.php b/modules/blocklayered/upgrade/install-1.9.php deleted file mode 100644 index e227430e2..000000000 --- a/modules/blocklayered/upgrade/install-1.9.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('displayBackOfficeHeader'); -} diff --git a/modules/blocklayered/upgrade/install-2.0.14.php b/modules/blocklayered/upgrade/install-2.0.14.php deleted file mode 100644 index ab9d63a2e..000000000 --- a/modules/blocklayered/upgrade/install-2.0.14.php +++ /dev/null @@ -1,34 +0,0 @@ -execute($query); - } - - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_product_attribute` ADD PRIMARY KEY (`id_attribute`, `id_product`, `id_shop`)'; - $return &= Db::getInstance()->execute($query); - - if (check_index('layered_product_attribute', 'id_attribute_group')) - { - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_product_attribute` DROP KEY `id_attribute_group`'; - $return &= Db::getInstance()->execute($query); - } - - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_product_attribute` ADD UNIQUE KEY `id_attribute_group` (`id_attribute_group`,`id_attribute`,`id_product`,`id_shop`)'; - $return &= Db::getInstance()->execute($query); - - return $return; -} - -function check_index($table, $key) -{ - $indexes = Db::getInstance()->executeS('SHOW INDEX FROM `'._DB_PREFIX_.$table.'` WHERE Key_name = \''.$key.'\''); - return (count($indexes) > 0); -} \ No newline at end of file diff --git a/modules/blocklayered/upgrade/install-2.0.8.php b/modules/blocklayered/upgrade/install-2.0.8.php deleted file mode 100644 index 166f22a55..000000000 --- a/modules/blocklayered/upgrade/install-2.0.8.php +++ /dev/null @@ -1,25 +0,0 @@ -execute($query); - - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_indexable_attribute_lang_value` CHANGE `url_name` `url_name` VARCHAR( 128 ) NULL DEFAULT NULL , CHANGE `meta_title` `meta_title` VARCHAR( 128 ) NULL DEFAULT NULL'; - $return &= Db::getInstance()->execute($query); - - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_indexable_feature_lang_value` CHANGE `url_name` `url_name` VARCHAR( 128 ) NULL DEFAULT NULL , CHANGE `meta_title` `meta_title` VARCHAR( 128 ) NULL DEFAULT NULL'; - $return &= Db::getInstance()->execute($query); - - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_indexable_feature_value_lang_value` CHANGE `url_name` `url_name` VARCHAR( 128 ) NULL DEFAULT NULL , CHANGE `meta_title` `meta_title` VARCHAR( 128 ) NULL DEFAULT NULL'; - $return &= Db::getInstance()->execute($query); - - $query = 'ALTER TABLE `'._DB_PREFIX_.'layered_product_attribute` ADD PRIMARY KEY (`id_attribute`, `id_product`), DROP KEY `id_attribute`, ADD UNIQUE KEY `id_attribute_group` (`id_attribute_group`,`id_attribute`,`id_product`)'; - $return &= Db::getInstance()->execute($query); - - return $return; -} diff --git a/modules/blocklayered/views/index.php b/modules/blocklayered/views/index.php deleted file mode 100644 index 7c15b3d7c..000000000 --- a/modules/blocklayered/views/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklayered/views/templates/admin/add.tpl b/modules/blocklayered/views/templates/admin/add.tpl deleted file mode 100644 index 60da2ce81..000000000 --- a/modules/blocklayered/views/templates/admin/add.tpl +++ /dev/null @@ -1,308 +0,0 @@ -{if isset($message)}{$message}{/if} -
    - {l s='Configuration' mod='blocklayered'} {l s='New filters template' mod='blocklayered'} -
    - - - - - - - - - - - - {if isset($asso_shops)} - - - - - {/if} - - - - - - - - - -
    {l s='Template name:' mod='blocklayered'} - -

    {l s='Only as a reminder' mod='blocklayered'}

    -
    {l s='Categories used for this template:' mod='blocklayered'}{$categories_tree}
    - {l s='Choose shop association:' mod='blocklayered'} - {$asso_shops}
    - {l s='Filters:' mod='blocklayered'} -

    {l s='You can drag and drop filters to adjust position' mod='blocklayered'}

    -
    -
    -
    - {l s='Total filters: %s'|sprintf:$total_filters mod='blocklayered'} - {l s='Selected filters: %s'|sprintf:0 mod='blocklayered'} -
    -
    -
      -
    • - - - - - - - - - - - -
      {l s='Sub-categories filter' mod='blocklayered'}{l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • -
    • - - - - - - - - - - - -
      {l s='Product stock filter' mod='blocklayered'}{l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • -
    • - - - - - - - - - - - -
      {l s='Product condition filter' mod='blocklayered'}{l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • -
    • - - - - - - - - - - - -
      {l s='Product manufacturer filter' mod='blocklayered'}{l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • -
    • - - - - - - - - - - - -
      {l s='Product weight filter (slider)' mod='blocklayered'}{l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • -
    • - - - - - - - - - - - -
      {l s='Product price filter (slider)' mod='blocklayered'}{l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • - {if $attribute_groups|count > 0} - {foreach $attribute_groups as $attribute_group} -
    • - - - - - - - - - - - -
      - {if $attribute_group['n'] > 1} - {l s='Attribute group: %1$s (%2$d attributes)'|sprintf:$attribute_group['name']:$attribute_group['n'] mod='blocklayered'} - {else} - {l s='Attribute group: %1$s (%2$d attribute)'|sprintf:$attribute_group['name']:$attribute_group['n'] mod='blocklayered'} - {/if} - {if $attribute_group['is_color_group']} - - {/if} - {l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • - {/foreach} - {/if} - - {if $features|count > 0} - {foreach $features as $feature} -
    • - - - - - - - - - - - -
      - {if $feature['n'] > 1}{l s='Feature: %1$s (%2$d values)'|sprintf:$feature['name']:$feature['n'] mod='blocklayered'}{else}{l s='Feature: %1$s (%2$d value)'|sprintf:$feature['name']:$feature['n'] mod='blocklayered'}{/if} - {l s='Filter result limit:' mod='blocklayered'} - - {l s='Filter style:' mod='blocklayered'} - -
      -
    • - {/foreach} - {/if} -
    -
    -
    -
      - - - {l s='Cancel' mod='blocklayered'} - -
    -
    -
    - - diff --git a/modules/blocklayered/views/templates/admin/add_1.6.tpl b/modules/blocklayered/views/templates/admin/add_1.6.tpl deleted file mode 100644 index 0f73b4942..000000000 --- a/modules/blocklayered/views/templates/admin/add_1.6.tpl +++ /dev/null @@ -1,378 +0,0 @@ -{if isset($message)}{$message}{/if} -
    -

    {l s='New filters template' mod='blocklayered'}

    -
    - -
    - -
    - -

    {l s='Only as a reminder' mod='blocklayered'}

    -
    -
    -
    - -
    - {if trim($categories_tree) != ''} - {$categories_tree} - {else} -
    - {l s='Categories selection is disabled because you have no categories or you are in a "all shops" context.' mod='blocklayered'} -
    - {/if} -
    -
    - {if isset($asso_shops)} -
    - -
    {$asso_shops}
    -
    - {/if} -
    - -
    -
    -
    - {l s='Total filters: %s'|sprintf:$total_filters mod='blocklayered'} -
    -
    -
      -
    • -
      - -
      -
      -

      {l s='Sub-categories filter' mod='blocklayered'}

      -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • -
    • -
      - -
      -
      - {l s='Product stock filter' mod='blocklayered'} -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • -
    • -
      - -
      -
      - {l s='Product condition filter' mod='blocklayered'} -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • -
    • -
      - -
      -
      - {l s='Product manufacturer filter' mod='blocklayered'} -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • -
    • -
      - -
      -
      - {l s='Product weight filter (slider)' mod='blocklayered'} -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • -
    • -
      - -
      -
      - {l s='Product price filter (slider)' mod='blocklayered'} -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • - {if $attribute_groups|count > 0} - {foreach $attribute_groups as $attribute_group} -
    • -
      - -
      -
      - - {if $attribute_group['n'] > 1} - {l s='Attribute group: %1$s (%2$d attributes)'|sprintf:$attribute_group['name']:$attribute_group['n'] mod='blocklayered'} - {else} - {l s='Attribute group: %1$s (%2$d attribute)'|sprintf:$attribute_group['name']:$attribute_group['n'] mod='blocklayered'} - {/if} - {if $attribute_group['is_color_group']} - - {/if} - -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • - {/foreach} - {/if} - - {if $features|count > 0} - {foreach $features as $feature} -
    • -
      - -
      -
      - - {if $feature['n'] > 1}{l s='Feature: %1$s (%2$d values)'|sprintf:$feature['name']:$feature['n'] mod='blocklayered'}{else}{l s='Feature: %1$s (%2$d value)'|sprintf:$feature['name']:$feature['n'] mod='blocklayered'}{/if} - -
      -
      - -
      - -
      -
      -
      - -
      - -
      -
      -
    • - {/foreach} - {/if} -
    -
    -
    -
    -
    - -
    -
    - - diff --git a/modules/blocklayered/views/templates/admin/index.php b/modules/blocklayered/views/templates/admin/index.php deleted file mode 100644 index 4768c184e..000000000 --- a/modules/blocklayered/views/templates/admin/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklayered/views/templates/admin/view.tpl b/modules/blocklayered/views/templates/admin/view.tpl deleted file mode 100644 index 9f5c205c9..000000000 --- a/modules/blocklayered/views/templates/admin/view.tpl +++ /dev/null @@ -1,279 +0,0 @@ -{if isset($message)}{$message}{/if} - - -{if !empty($limit_warning)} -
    - {if $limit_warning['error_type'] == 'suhosin'} - {l s='Warning! Your hosting provider is using the Suhosin patch for PHP, which limits the maximum number of fields allowed in a form:'} - - {$limit_warning['post.max_vars']} {l s='for suhosin.post.max_vars.'}
    - {$limit_warning['request.max_vars']} {l s='for suhosin.request.max_vars.'}
    - {l s='Please ask your hosting provider to increase the Suhosin limit to'} - {else} - {l s='Warning! Your PHP configuration limits the maximum number of fields allowed in a form:'}
    - {$limit_warning['max_input_vars']} {l s='for max_input_vars.'}
    - {l s='Please ask your hosting provider to increase this limit to'} - {/if} - {l s='%s at least, or you will have to edit the translation files manually.' sprintf=$limit_warning['needed_limit']} -
    -{/if} -
    - {l s='Indexes and caches' mod='blocklayered'} {l s='Indexes and caches' mod='blocklayered'} - - -
     
    -
    -
    - {l s='You can set a cron job that will rebuild price index using the following URL:' mod='blocklayered'} -
    - {$price_indexer_url} -
    -
    - {l s='You can set a cron job that will rebuild attribute index using the following URL:' mod='blocklayered'} -
    - {$attribute_indexer_url} -
    -
    - {l s='You can set a cron job that will rebuild URL index using the following URL:' mod='blocklayered'} -
    - {$url_indexer_url} -
    -
    -
    -
    {l s='A nightly rebuild is recommended.' mod='blocklayered'}
    -
    -
    -
     
    -
    - {l s='Filters templates' mod='blocklayered'} {l s='Filters templates (%d)' sprintf=[$filters_templates|count] mod='blocklayered'} - {if $filters_templates|count > 0} -
    - - - - - - - - - - - - {foreach $filters_templates as $template} - - - - - - - - {/foreach} - -
    {l s='ID' mod='blocklayered'}{l s='Name' mod='blocklayered'}{l s='Categories' mod='blocklayered'}{l s='Created on' mod='blocklayered'}{l s='Actions' mod='blocklayered'}
    {(int)$template['id_layered_filter']}{$template['name']}{(int)$template['n_categories']}{Tools::displayDate($template['date_add'],null , true)} - {if empty($limit_warning)} - {l s='Edit' mod='blocklayered'}{l s='Edit' mod='blocklayered'} - {/if} - {l s='Delete' mod='blocklayered'}{l s='Delete' mod='blocklayered'} -
    -
     
    -
    - {else} -
    {l s='No filter template found.' mod='blocklayered'}
    - {/if} - {if empty($limit_warning)} - - {/if} -
    -
     
    -
    - {l s='Configuration' mod='blocklayered'} {l s='Configuration' mod='blocklayered'} -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - {l s='Hide filter values when no product is matching' mod='blocklayered'} - - - - - -
    - {l s='Show the number of matching products' mod='blocklayered'} - - - - - -
    - {l s='Show products from subcategories' mod='blocklayered'} - - - - - -
    - {l s='Category filter depth (0 for no limits, 1 by default)' mod='blocklayered'} - - -
    - {l s='Use tax to filter price' mod='blocklayered'} - - - - - -
    - {l s='Use rounding to filter price' mod='blocklayered'} - - - - - -
    - {l s='Allow indexing robots (Google, Yahoo!, Bing, etc.) to use the Condition filter' mod='blocklayered'} - - - - - -
    - {l s='Allow indexing robots (Google, Yahoo!, Bing, etc.) to use the Availability filter' mod='blocklayered'} - - - - - -
    - {l s='Allow indexing robots (Google, Yahoo!, Bing, etc.) to use the Manufacturer filter' mod='blocklayered'} - - - - - -
    - {l s='Allow indexing robots (Google, Yahoo!, Bing, etc.) to use the Category filter' mod='blocklayered'} - - - - - -
      - -
    -
    -
    - - diff --git a/modules/blocklayered/views/templates/admin/view_1.6.tpl b/modules/blocklayered/views/templates/admin/view_1.6.tpl deleted file mode 100644 index c30bb4bf1..000000000 --- a/modules/blocklayered/views/templates/admin/view_1.6.tpl +++ /dev/null @@ -1,293 +0,0 @@ -{if isset($message)}{$message}{/if} - - -{if !empty($limit_warning)} -
    - {if $limit_warning['error_type'] == 'suhosin'} - {l s='Warning! Your hosting provider is using the Suhosin patch for PHP, which limits the maximum number of fields allowed in a form:'} - - {$limit_warning['post.max_vars']} {l s='for suhosin.post.max_vars.'}
    - {$limit_warning['request.max_vars']} {l s='for suhosin.request.max_vars.'}
    - {l s='Please ask your hosting provider to increase the Suhosin limit to'} - {else} - {l s='Warning! Your PHP configuration limits the maximum number of fields allowed in a form:'}
    - {$limit_warning['max_input_vars']} {l s='for max_input_vars.'}
    - {l s='Please ask your hosting provider to increase this limit to'} - {/if} - {l s='%s at least, or you will have to edit the translation files manually.' sprintf=$limit_warning['needed_limit']} -
    -{/if} -
    -

    {l s='Indexes and caches' mod='blocklayered'}

    - - -
    -
    - {l s='You can set a cron job that will rebuild price index using the following URL:' mod='blocklayered'} -
    - {$price_indexer_url} -
    -
    - {l s='You can set a cron job that will rebuild attribute index using the following URL:' mod='blocklayered'} -
    - {$attribute_indexer_url} -
    -
    - {l s='You can set a cron job that will rebuild URL index using the following URL:' mod='blocklayered'} -
    - {$url_indexer_url} -
    -
    -
    -
    {l s='A nightly rebuild is recommended.' mod='blocklayered'}
    -
    -
    -
    -

    {l s='Filters templates' mod='blocklayered'}{$filters_templates|count}

    - {if $filters_templates|count > 0} -
    - - - - - - - - - - - - {foreach $filters_templates as $template} - - - - - - - - {/foreach} - -
    {l s='ID' mod='blocklayered'}{l s='Name' mod='blocklayered'}{l s='Categories' mod='blocklayered'}{l s='Created on' mod='blocklayered'}{l s='Actions' mod='blocklayered'}
    {(int)$template['id_layered_filter']}{$template['name']}{(int)$template['n_categories']}{Tools::displayDate($template['date_add'],null , true)} - {if empty($limit_warning)} - - {/if} -
    -
     
    -
    - {else} -
    {l s='No filter template found.' mod='blocklayered'}
    - {/if} - {if empty($limit_warning)} - - {/if} -
    -
    -

    {l s='Configuration' mod='blocklayered'}

    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    -
    - -
    - - - - - - - -
    -
    - -
    -
    - - diff --git a/modules/blocklayered/views/templates/front/index.php b/modules/blocklayered/views/templates/front/index.php deleted file mode 100644 index 4768c184e..000000000 --- a/modules/blocklayered/views/templates/front/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklayered/views/templates/hook/attribute_form.tpl b/modules/blocklayered/views/templates/hook/attribute_form.tpl deleted file mode 100644 index 01c3c9ee2..000000000 --- a/modules/blocklayered/views/templates/hook/attribute_form.tpl +++ /dev/null @@ -1,53 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

    - {l s='Invalid characters: <>;=#{}_' mod='blocklayered'}  -
    - {/foreach} -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    - {/foreach} -
    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/attribute_form_1.6.tpl b/modules/blocklayered/views/templates/hook/attribute_form_1.6.tpl deleted file mode 100644 index 65712fe88..000000000 --- a/modules/blocklayered/views/templates/hook/attribute_form_1.6.tpl +++ /dev/null @@ -1,82 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    -
    -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    -
    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/attribute_group_form.tpl b/modules/blocklayered/views/templates/hook/attribute_group_form.tpl deleted file mode 100644 index 2cdbeba1f..000000000 --- a/modules/blocklayered/views/templates/hook/attribute_group_form.tpl +++ /dev/null @@ -1,64 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

    - {l s='Invalid characters: <>;=#{}_' mod='blocklayered'}  -
    - {/foreach} -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

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

    {l s='Use this attribute in URL generated by the layered navigation module.' mod='blocklayered'}

    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/attribute_group_form_1.6.tpl b/modules/blocklayered/views/templates/hook/attribute_group_form_1.6.tpl deleted file mode 100644 index 297fe88de..000000000 --- a/modules/blocklayered/views/templates/hook/attribute_group_form_1.6.tpl +++ /dev/null @@ -1,101 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    -
    -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this attribute. By default, PrestaShop uses the attribute\'s name, but you can change that setting using this field.' mod='blocklayered'}

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

    {l s='Use this attribute in URL generated by the layered navigation module.' mod='blocklayered'}

    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/feature_form.tpl b/modules/blocklayered/views/templates/hook/feature_form.tpl deleted file mode 100644 index 7fcca2c7b..000000000 --- a/modules/blocklayered/views/templates/hook/feature_form.tpl +++ /dev/null @@ -1,64 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this feature. By default, PrestaShop uses the feature\'s name, but you can change that setting using this field.' mod='blocklayered'}

    - {l s='Invalid characters: <>;=#{}_' mod='blocklayered'}  -
    - {/foreach} -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this feature. By default, PrestaShop uses the feature\'s name, but you can change that setting using this field.' mod='blocklayered'}

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

    {l s='Use this attribute in URL generated by the layered navigation module.' mod='blocklayered'}

    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/feature_form_1.6.tpl b/modules/blocklayered/views/templates/hook/feature_form_1.6.tpl deleted file mode 100644 index e670d87f9..000000000 --- a/modules/blocklayered/views/templates/hook/feature_form_1.6.tpl +++ /dev/null @@ -1,101 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this feature. By default, PrestaShop uses the feature\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    -
    -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this feature. By default, PrestaShop uses the feature\'s name, but you can change that setting using this field.' mod='blocklayered'}

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

    {l s='Use this attribute in URL generated by the layered navigation module.' mod='blocklayered'}

    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/feature_value_form.tpl b/modules/blocklayered/views/templates/hook/feature_value_form.tpl deleted file mode 100644 index f16456f96..000000000 --- a/modules/blocklayered/views/templates/hook/feature_value_form.tpl +++ /dev/null @@ -1,53 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this feature\'s value. By default, PrestaShop uses the value\'s name, but you can change that setting using this field.' mod='blocklayered'}

    - {l s='Invalid characters: <>;=#{}_' mod='blocklayered'}  -
    - {/foreach} -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    - -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this feature\'s value. By default, PrestaShop uses the value\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    - {/foreach} -
    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/feature_value_form_1.6.tpl b/modules/blocklayered/views/templates/hook/feature_value_form_1.6.tpl deleted file mode 100644 index b91b2d026..000000000 --- a/modules/blocklayered/views/templates/hook/feature_value_form_1.6.tpl +++ /dev/null @@ -1,82 +0,0 @@ -{* -* 2007-2015 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-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registred Trademark & Property of PrestaShop SA -*} -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed URLs by choosing the word that best represent this feature\'s value. By default, PrestaShop uses the value\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    -
    -
    -
    -
    - -
    -
    - {foreach $languages as $language} -
    -
    - -
    -
    - - -
    -
    - {/foreach} -
    -

    {l s='When the Layered Navigation Block module is enabled, you can get more detailed page titles by choosing the word that best represent this feature\'s value. By default, PrestaShop uses the value\'s name, but you can change that setting using this field.' mod='blocklayered'}

    -
    -
    -
    -
    diff --git a/modules/blocklayered/views/templates/hook/index.php b/modules/blocklayered/views/templates/hook/index.php deleted file mode 100644 index 4768c184e..000000000 --- a/modules/blocklayered/views/templates/hook/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklayered/views/templates/index.php b/modules/blocklayered/views/templates/index.php deleted file mode 100644 index e03b8382a..000000000 --- a/modules/blocklayered/views/templates/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @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/modules/blocklink/CHANGELOG.txt b/modules/blocklink/CHANGELOG.txt deleted file mode 100644 index ab4c9da38..000000000 --- a/modules/blocklink/CHANGELOG.txt +++ /dev/null @@ -1,8 +0,0 @@ -2014-04-22 18:57:19 +0200 // Changelog updated -2014-04-16 16:18:13 +0200 // Code cleaning -2014-04-16 16:08:43 +0200 [-] BO : Bug #, Set category if multi-store active and employee has only one shop -2014-03-24 12:22:19 +0100 Merge branch 'master' of https://github.com/PrestaShop/blocklink -2014-03-24 11:43:28 +0100 / MO blocklink : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:36 +0100 // MO blocklink/ : ps_versions_compliancy added -2014-03-21 18:36:19 +0100 [-] Add column names in SQL insert into -2014-03-20 14:22:49 +0100 Initial commit diff --git a/modules/blocklink/add.png b/modules/blocklink/add.png deleted file mode 100644 index 5260144e9..000000000 Binary files a/modules/blocklink/add.png and /dev/null differ diff --git a/modules/blocklink/blocklink.php b/modules/blocklink/blocklink.php deleted file mode 100644 index 1b2f46153..000000000 --- a/modules/blocklink/blocklink.php +++ /dev/null @@ -1,558 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockLink extends Module -{ - /* @var boolean error */ - protected $error = false; - - public function __construct() - { - $this->name = 'blocklink'; - $this->tab = 'front_office_features'; - $this->version = '1.6.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Link block'); - $this->description = $this->l('Adds a block with additional links.'); - $this->confirmUninstall = $this->l('Are you sure you want to delete all your links?'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - if (!parent::install() || !$this->registerHook('header')) - return false; - - $success = Configuration::updateValue('PS_BLOCKLINK_TITLE', array('1' => 'Block link', '2' => 'Bloc lien')); - $success &= Db::getInstance()->execute(' - CREATE TABLE '._DB_PREFIX_.'blocklink ( - `id_blocklink` int(10) NOT NULL AUTO_INCREMENT, - `url` varchar(254) NOT NULL, - `new_window` TINYINT(1) NOT NULL, - PRIMARY KEY(`id_blocklink`)) - ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); - $success &= Db::getInstance()->execute(' - CREATE TABLE '._DB_PREFIX_.'blocklink_shop ( - `id_blocklink` int(10) NOT NULL AUTO_INCREMENT, - `id_shop` int(10) NOT NULL, - PRIMARY KEY(`id_blocklink`, `id_shop`)) - ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); - $success &= Db::getInstance()->execute(' - CREATE TABLE '._DB_PREFIX_.'blocklink_lang ( - `id_blocklink` int(10) NOT NULL, - `id_lang` int(10) NOT NULL, - `text` varchar(62) NOT NULL, - PRIMARY KEY(`id_blocklink`, `id_lang`)) - ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); - if (!$success) - { - parent::uninstall(); - - return false; - } - - // Hook the module either on the left or right column - $theme = new Theme(Context::getContext()->shop->id_theme); - if ((!$theme->default_left_column || !$this->registerHook('leftColumn')) - && (!$theme->default_right_column || !$this->registerHook('rightColumn')) - ) - { - // If there are no colums implemented by the template, throw an error and uninstall the module - $this->_errors[] = $this->l('This module needs to be hooked to a column, but your theme does not implement one'); - parent::uninstall(); - - return false; - } - - return true; - } - - public function uninstall() - { - if (!parent::uninstall() || - !Db::getInstance()->execute('DROP TABLE '._DB_PREFIX_.'blocklink') || - !Db::getInstance()->execute('DROP TABLE '._DB_PREFIX_.'blocklink_lang') || - !Db::getInstance()->execute('DROP TABLE '._DB_PREFIX_.'blocklink_shop') || - !Configuration::deleteByName('PS_BLOCKLINK_TITLE') || - !Configuration::deleteByName('PS_BLOCKLINK_URL') - ) - return false; - - return true; - } - - public function hookLeftColumn($params) - { - $links = $this->getLinks(); - - $this->smarty->assign(array( - 'blocklink_links' => $links, - 'title' => Configuration::get('PS_BLOCKLINK_TITLE', $this->context->language->id), - 'url' => Configuration::get('PS_BLOCKLINK_URL'), - 'lang' => 'text_'.$this->context->language->id - )); - if (!$links) - return false; - - return $this->display(__FILE__, 'blocklink.tpl'); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS($this->_path.'blocklink.css', 'all'); - } - - /** - * @param $id - * - * @return bool|array - */ - public function getLinkById($id) - { - if ((int)$id > 0) - { - $sql = 'SELECT b.`id_blocklink`, b.`url`, b.`new_window` FROM `'._DB_PREFIX_.'blocklink` b WHERE b.id_blocklink='.(int)$id; - - if (!$results = Db::getInstance()->getRow($sql)) - return false; - - $link['id_blocklink'] = (int)$results['id_blocklink']; - $link['url'] = $results['url']; - $link['newWindow'] = $results['new_window']; - - $results = Db::getInstance()->executeS('SELECT `id_lang`, `text` FROM '._DB_PREFIX_.'blocklink_lang WHERE `id_blocklink`='.(int)$link['id_blocklink']); - - $results_lang = array(); - foreach ($results as $result) - $results_lang[(int)$result['id_lang']] = $result; - - foreach (Language::getLanguages(false) as $lang) - $link['text'][(int)$lang['id_lang']] = (isset($results_lang[(int)$lang['id_lang']])) ? $results_lang[(int)$lang['id_lang']]['text'] : false; - - return $link; - } - - return false; - } - - public function getLinks() - { - $result = array(); - // Get id and url - - $sql = 'SELECT b.`id_blocklink`, b.`url`, b.`new_window` - FROM `'._DB_PREFIX_.'blocklink` b'; - if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_ALL) - $sql .= ' JOIN `'._DB_PREFIX_.'blocklink_shop` bs ON b.`id_blocklink` = bs.`id_blocklink` AND bs.`id_shop` IN ('.implode(', ', Shop::getContextListShopID()).') '; - $sql .= (int)Configuration::get('PS_BLOCKLINK_ORDERWAY') == 1 ? ' ORDER BY `id_blocklink` DESC' : ''; - - if (!$links = Db::getInstance()->executeS($sql)) - return false; - - $i = 0; - foreach ($links as $link) - { - $result[$i]['id'] = $link['id_blocklink']; - $result[$i]['url'] = $link['url']; - $result[$i]['newWindow'] = $link['new_window']; - // Get multilingual text - - if (!$texts = Db::getInstance()->executeS(' - SELECT `id_lang`, `text` - FROM '._DB_PREFIX_.'blocklink_lang - WHERE `id_blocklink`='.(int)$link['id_blocklink'] - ) - ) - return false; - - foreach ($texts as $text) - $result[$i]['text_'.$text['id_lang']] = $text['text']; - - $i++; - } - - return $result; - } - - public function addLink() - { - if (!($languages = Language::getLanguages(true))) - return false; - $id_lang_default = (int)Configuration::get('PS_LANG_DEFAULT'); - - if ((int)Tools::getValue('id_blocklink') > 0) - { - $id_link = (int)Tools::getValue('id_blocklink'); - if (!Db::getInstance()->execute('UPDATE '._DB_PREFIX_.'blocklink SET `url` = \''.pSQL(Tools::getValue('url')).'\', `new_window` = '.pSQL((int)Tools::getValue('newWindow')).' WHERE `id_blocklink` = '.(int)$id_link)) - return false; - if (!Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_lang WHERE `id_blocklink` = '.(int)$id_link)) - return false; - - foreach ($languages as $language) - if (!empty($_POST['text_'.$language['id_lang']])) - { - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang (`id_blocklink`, `id_lang`, `text`) VALUES ('.(int)$id_link.', '.(int)($language['id_lang']).', \''.pSQL($_POST['text_'.$language['id_lang']]).'\')')) - return false; - } - else - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang VALUES ('.(int)$id_link.', '.$language['id_lang'].', \''.pSQL($_POST['text_'.$id_lang_default]).'\')')) - return false; - } - else - { - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink (`id_blocklink`, `url`, `new_window`) - VALUES (NULL, \''.pSQL(Tools::getValue('url')).'\', '.((isset($_POST['newWindow']) && Tools::getValue('newWindow')) == 'on' ? 1 : 0).')') || - !$id_link = Db::getInstance()->Insert_ID() - ) - return false; - - foreach ($languages as $language) - if (!empty($_POST['text_'.$language['id_lang']])) - { - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang (`id_blocklink`, `id_lang`, `text`) - VALUES ('.(int)$id_link.', '.(int)$language['id_lang'].', \''.pSQL(Tools::getValue('text_'.$language['id_lang'])).'\')') - ) - return false; - } - else - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang (`id_blocklink`, `id_lang`, `text`) VALUES ('.(int)$id_link.', '.(int)($language['id_lang']).', \''.pSQL($_POST['text_'.$id_lang_default]).'\')')) - return false; - } - - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_shop WHERE id_blocklink='.(int)$id_link); - - $shops = Shop::getShops(true, null, true); - if (!Shop::isFeatureActive() || (Shop::isFeatureActive() && count($shops) == 1)) - { - Db::getInstance()->insert('blocklink_shop', array( - 'id_blocklink' => (int)$id_link, - 'id_shop' => (int)Context::getContext()->shop->id, - )); - } - else - { - $assos_shop = Tools::getValue('checkBoxShopAsso_configuration'); - if (empty($assos_shop)) - return false; - foreach ($assos_shop as $id_shop => $row) - Db::getInstance()->insert('blocklink_shop', array( - 'id_blocklink' => (int)$id_link, - 'id_shop' => (int)$id_shop, - )); - } - - return true; - } - - public function deleteLink() - { - return (Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink WHERE `id_blocklink` = '.(int)Tools::getValue('id')) && - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_shop WHERE `id_blocklink` = '.(int)Tools::getValue('id')) && - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_lang WHERE `id_blocklink` = '.(int)Tools::getValue('id'))); - } - - public function updateTitle() - { - $languages = Language::getLanguages(); - $result = array(); - foreach ($languages as $language) - $result[$language['id_lang']] = Tools::getValue('title_'.$language['id_lang']); - if (!Configuration::updateValue('PS_BLOCKLINK_TITLE', $result)) - return false; - - return Configuration::updateValue('PS_BLOCKLINK_URL', Tools::getValue('title_url')); - } - - public function getContent() - { - $this->_html = ''; - - // Add a link - if (Tools::isSubmit('submitLinkAdd') /* || Tools::isSubmit('updateblocklink')*/) - { - if (empty($_POST['text_'.Configuration::get('PS_LANG_DEFAULT')]) || empty($_POST['url'])) - $this->_html .= $this->displayError($this->l('You must fill in all fields.')); - elseif (!Validate::isUrl(str_replace('http://', '', $_POST['url']))) - $this->_html .= $this->displayError($this->l('Bad URL')); - else - if ($this->addLink()) - $this->_html .= $this->displayConfirmation($this->l('The link has been added.')); - else - $this->_html .= $this->displayError($this->l('An error occurred during link creation.')); - } - // Update the block title - elseif (Tools::isSubmit('submitTitle')) - { - - if (empty($_POST['title_'.Configuration::get('PS_LANG_DEFAULT')])) - $this->_html .= $this->displayError($this->l('"title" field cannot be empty.')); - elseif (!empty($_POST['title_url']) && !Validate::isUrl(str_replace('http://', '', $_POST['title_url']))) - $this->_html .= $this->displayError($this->l('The \'title\' field is invalid')); - elseif (!Validate::isGenericName($_POST['title_'.Configuration::get('PS_LANG_DEFAULT')])) - $this->_html .= $this->displayError($this->l('The \'title\' field is invalid')); - elseif (!$this->updateTitle()) - $this->_html .= $this->displayError($this->l('An error occurred during title updating.')); - else - $this->_html .= $this->displayConfirmation($this->l('The block title has been updated.')); - } - // Delete a link - elseif (Tools::isSubmit('deleteblocklink') && Tools::getValue('id')) - { - - if (!is_numeric(Tools::getValue('id')) || !$this->deleteLink()) - $this->_html .= $this->displayError($this->l('An error occurred during link deletion.')); - else - $this->_html .= $this->displayConfirmation($this->l('The link has been deleted.')); - } - - if (isset($_POST['submitOrderWay'])) - { - if (Configuration::updateValue('PS_BLOCKLINK_ORDERWAY', (int)(Tools::getValue('orderWay')))) - $this->_html .= $this->displayConfirmation($this->l('Sort order updated')); - else - $this->_html .= $this->displayError($this->l('An error occurred during sort order set-up.')); - } - - $this->_html .= $this->renderForm(); - $this->_html .= $this->renderList(); - - return $this->_html; - } - - public function renderList() - { - $fields_list = array( - 'id' => array( - 'title' => $this->l('Link ID'), - 'type' => 'text', - ), - 'text_'.$this->context->language->id => array( - 'title' => $this->l('Link text'), - 'type' => 'text', - ), - 'url' => array( - 'title' => $this->l('URL'), - 'type' => 'text', - ), - ); - - $helper = new HelperList(); - $helper->shopLinkType = ''; - $helper->simple_header = true; - $helper->identifier = 'id'; - $helper->actions = array('edit', 'delete'); - $helper->show_toolbar = false; - - $helper->title = $this->l('Link list'); - $helper->table = $this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - $links = $this->getLinks(); - if (is_array($links) && count($links)) - return $helper->generateList($links, $fields_list); - else - return false; - } - - public function renderForm() - { - $fields_form_1 = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Add a new link'), - 'icon' => 'icon-plus-sign-alt' - ), - 'input' => array( - array( - 'type' => 'hidden', - 'name' => 'id_blocklink', - ), - array( - 'type' => 'text', - 'label' => $this->l('Link text'), - 'name' => 'text', - 'lang' => true, - ), - array( - 'type' => 'text', - 'label' => $this->l('URL'), - 'name' => 'url', - ), - array( - 'type' => 'switch', - 'label' => $this->l('Open in a new window'), - 'name' => 'newWindow', - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ), - - ), - 'submit' => array( - 'title' => $this->l('Save'), - 'name' => 'submitLinkAdd', - ) - ), - ); - - if (Shop::isFeatureActive()) - { - $fields_form_1['form']['input'][] = array( - 'type' => 'shop', - 'label' => $this->l('Shop association'), - 'name' => 'checkBoxShopAsso', - ); - } - - $fields_form_2 = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Block settings'), - 'icon' => 'icon-plus-sign-alt' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Block title'), - 'name' => 'title', - 'lang' => true, - ), - array( - 'type' => 'text', - 'label' => $this->l('URL for the block\'s title'), - 'name' => 'title_url', - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - 'name' => 'submitTitle', - ) - ), - ); - - $fields_form_3 = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Link display settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'select', - 'label' => $this->l('List order'), - 'name' => 'orderWay', - 'options' => array( - 'query' => array( - array( - 'id' => 0, - 'name' => $this->l('most recent links first') - ), - array( - 'id' => 1, - 'name' => $this->l('oldest links first') - ) - ), - 'id' => 'id', - 'name' => 'name', - ) - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - 'name' => 'submitOrderWay', - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = 'id_blocklink'; - $helper->submit_action = 'submit'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form_1, $fields_form_2, $fields_form_3)); - } - - public function getConfigFieldsValues() - { - $fields_values = array( - 'id_blocklink' => Tools::getValue('id_blocklink'), - 'url' => Tools::getValue('url'), - 'newWindow' => Tools::getValue('newWindow'), - 'orderWay' => Tools::getValue('orderWay', Configuration::get('PS_BLOCKLINK_ORDERWAY')), - 'title_url' => Tools::getValue('title_url', Configuration::get('PS_BLOCKLINK_URL')), - ); - - - $languages = Language::getLanguages(false); - - foreach ($languages as $lang) - { - $fields_values['text'][$lang['id_lang']] = Tools::getValue('text_'.(int)$lang['id_lang']); - $fields_values['title'][$lang['id_lang']] = Tools::getValue('title', Configuration::get('PS_BLOCKLINK_TITLE', $lang['id_lang'])); - } - - if (Tools::getIsset('updateblocklink') && (int)Tools::getValue('id') > 0) - $fields_values = array_merge($fields_values, $this->getLinkById((int)Tools::getValue('id'))); - - return $fields_values; - } -} diff --git a/modules/blocklink/blocklink.tpl b/modules/blocklink/blocklink.tpl deleted file mode 100644 index 771e2b507..000000000 --- a/modules/blocklink/blocklink.tpl +++ /dev/null @@ -1,44 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @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/modules/blocklink/img/arrow_right_2.png b/modules/blocklink/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f..000000000 Binary files a/modules/blocklink/img/arrow_right_2.png and /dev/null differ diff --git a/modules/blocklink/img/index.php b/modules/blocklink/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklink/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocklink/index.php b/modules/blocklink/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklink/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocklink/logo.gif b/modules/blocklink/logo.gif deleted file mode 100644 index 9ea90ffbe..000000000 Binary files a/modules/blocklink/logo.gif and /dev/null differ diff --git a/modules/blocklink/logo.png b/modules/blocklink/logo.png deleted file mode 100644 index 355906457..000000000 Binary files a/modules/blocklink/logo.png and /dev/null differ diff --git a/modules/blocklink/prefs.gif b/modules/blocklink/prefs.gif deleted file mode 100644 index 1a1f43562..000000000 Binary files a/modules/blocklink/prefs.gif and /dev/null differ diff --git a/modules/blocklink/translations/index.php b/modules/blocklink/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklink/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockmanufacturer/CHANGELOG.txt b/modules/blockmanufacturer/CHANGELOG.txt deleted file mode 100644 index 7c302302a..000000000 --- a/modules/blockmanufacturer/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:21 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockmanufacturer : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:41 +0100 / MO blockmanufacturer : ps_versions_compliancy added -2014-03-20 14:22:51 +0100 Initial commit diff --git a/modules/blockmanufacturer/blockmanufacturer.php b/modules/blockmanufacturer/blockmanufacturer.php deleted file mode 100644 index 2c01da1c3..000000000 --- a/modules/blockmanufacturer/blockmanufacturer.php +++ /dev/null @@ -1,235 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockManufacturer extends Module -{ - public function __construct() - { - $this->name = 'blockmanufacturer'; - $this->tab = 'front_office_features'; - $this->version = '1.4.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Manufacturers block'); - $this->description = $this->l('Displays a block listing product manufacturers and/or brands.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - Configuration::updateValue('MANUFACTURER_DISPLAY_TEXT', true); - Configuration::updateValue('MANUFACTURER_DISPLAY_TEXT_NB', 5); - Configuration::updateValue('MANUFACTURER_DISPLAY_FORM', false); - $success = (parent::install() && - $this->registerHook('header') && $this->registerHook('leftColumn') && - $this->registerHook('actionObjectManufacturerDeleteAfter') && - $this->registerHook('actionObjectManufacturerAddAfter') && - $this->registerHook('actionObjectManufacturerUpdateAfter') - ); - - return $success; - } - - public function uninstall() - { - if (!parent::uninstall() || - !Configuration::deleteByName('MANUFACTURER_DISPLAY_TEXT') || - !Configuration::deleteByName('MANUFACTURER_DISPLAY_TEXT_NB') || - !Configuration::deleteByName('MANUFACTURER_DISPLAY_FORM') - ) - return false; - - return true; - } - - public function hookLeftColumn($params) - { - if (!$this->isCached('blockmanufacturer.tpl', $this->getCacheId())) - { - $manufacturers = Manufacturer::getManufacturers(); - foreach ($manufacturers as &$manufacturer) - { - $manufacturer['image'] = $this->context->language->iso_code.'-default'; - if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium').'.jpg')) - $manufacturer['image'] = $manufacturer['id_manufacturer']; - } - - $this->smarty->assign(array( - 'manufacturers' => $manufacturers, - 'text_list' => Configuration::get('MANUFACTURER_DISPLAY_TEXT'), - 'text_list_nb' => Configuration::get('MANUFACTURER_DISPLAY_TEXT_NB'), - 'form_list' => Configuration::get('MANUFACTURER_DISPLAY_FORM'), - 'display_link_manufacturer' => Configuration::get('PS_DISPLAY_SUPPLIERS'), - )); - } - return $this->display(__FILE__, 'blockmanufacturer.tpl', $this->getCacheId()); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function getContent() - { - $output = ''; - if (Tools::isSubmit('submitBlockManufacturers')) - { - $text_list = (int)(Tools::getValue('MANUFACTURER_DISPLAY_TEXT')); - $text_nb = (int)(Tools::getValue('MANUFACTURER_DISPLAY_TEXT_NB')); - $form_list = (int)(Tools::getValue('MANUFACTURER_DISPLAY_FORM')); - if ($text_list && !Validate::isUnsignedInt($text_nb)) - $errors[] = $this->l('There is an invalid number of elements.'); - elseif (!$text_list && !$form_list) - $errors[] = $this->l('Please activate at least one system list.'); - else - { - Configuration::updateValue('MANUFACTURER_DISPLAY_TEXT', $text_list); - Configuration::updateValue('MANUFACTURER_DISPLAY_TEXT_NB', $text_nb); - Configuration::updateValue('MANUFACTURER_DISPLAY_FORM', $form_list); - $this->_clearCache('blockmanufacturer.tpl'); - } - if (isset($errors) && count($errors)) - $output .= $this->displayError(implode('
    ', $errors)); - else - $output .= $this->displayConfirmation($this->l('Settings updated.')); - } - return $output.$this->renderForm(); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockmanufacturer.css', 'all'); - } - - public function hookActionObjectManufacturerUpdateAfter($params) - { - $this->_clearCache('blockmanufacturer.tpl'); - } - - public function hookActionObjectManufacturerAddAfter($params) - { - $this->_clearCache('blockmanufacturer.tpl'); - } - - public function hookActionObjectManufacturerDeleteAfter($params) - { - $this->_clearCache('blockmanufacturer.tpl'); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'switch', - 'label' => $this->l('Use a plain-text list'), - 'name' => 'MANUFACTURER_DISPLAY_TEXT', - 'desc' => $this->l('Display manufacturers in a plain-text list.'), - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ), - array( - 'type' => 'text', - 'label' => $this->l('Number of elements to display'), - 'name' => 'MANUFACTURER_DISPLAY_TEXT_NB', - 'class' => 'fixed-width-xs' - ), - array( - 'type' => 'switch', - 'label' => $this->l('Use a drop-down list'), - 'name' => 'MANUFACTURER_DISPLAY_FORM', - 'desc' => $this->l('Display manufacturers in a drop-down list.'), - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ) - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitBlockManufacturers'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'MANUFACTURER_DISPLAY_TEXT' => Tools::getValue('MANUFACTURER_DISPLAY_TEXT', Configuration::get('MANUFACTURER_DISPLAY_TEXT')), - 'MANUFACTURER_DISPLAY_TEXT_NB' => Tools::getValue('MANUFACTURER_DISPLAY_TEXT_NB', Configuration::get('MANUFACTURER_DISPLAY_TEXT_NB')), - 'MANUFACTURER_DISPLAY_FORM' => Tools::getValue('MANUFACTURER_DISPLAY_FORM', Configuration::get('MANUFACTURER_DISPLAY_FORM')), - ); - } -} diff --git a/modules/blockmanufacturer/blockmanufacturer.tpl b/modules/blockmanufacturer/blockmanufacturer.tpl deleted file mode 100644 index a543b0b76..000000000 --- a/modules/blockmanufacturer/blockmanufacturer.tpl +++ /dev/null @@ -1,57 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
    -

    {if $display_link_manufacturer}{/if}{l s='Manufacturers' mod='blockmanufacturer'}{if $display_link_manufacturer}{/if}

    -
    -{if $manufacturers} - {if $text_list} -
      - {foreach from=$manufacturers item=manufacturer name=manufacturer_list} - {if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb} -
    • {$manufacturer.name|escape:'html':'UTF-8'}
    • - {/if} - {/foreach} -
    - {/if} - {if $form_list} -
    -

    - -

    -
    - {/if} -{else} -

    {l s='No manufacturer' mod='blockmanufacturer'}

    -{/if} -
    -
    - diff --git a/modules/blockmanufacturer/img/arrow_right_2.png b/modules/blockmanufacturer/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f..000000000 Binary files a/modules/blockmanufacturer/img/arrow_right_2.png and /dev/null differ diff --git a/modules/blockmanufacturer/img/index.php b/modules/blockmanufacturer/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockmanufacturer/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockmanufacturer/index.php b/modules/blockmanufacturer/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockmanufacturer/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockmanufacturer/logo.gif b/modules/blockmanufacturer/logo.gif deleted file mode 100644 index 659aace81..000000000 Binary files a/modules/blockmanufacturer/logo.gif and /dev/null differ diff --git a/modules/blockmanufacturer/logo.png b/modules/blockmanufacturer/logo.png deleted file mode 100644 index debbc734a..000000000 Binary files a/modules/blockmanufacturer/logo.png and /dev/null differ diff --git a/modules/blockmanufacturer/translations/index.php b/modules/blockmanufacturer/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockmanufacturer/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockmyaccountfooter/CHANGELOG.txt b/modules/blockmyaccountfooter/CHANGELOG.txt deleted file mode 100644 index 3e6d6037b..000000000 --- a/modules/blockmyaccountfooter/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:26 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockmyaccountfooter : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:54 +0100 / MO blockmyaccountfooter : ps_versions_compliancy added -2014-03-20 14:22:57 +0100 Initial commit diff --git a/modules/blockmyaccountfooter/blockmyaccount.css b/modules/blockmyaccountfooter/blockmyaccount.css deleted file mode 100644 index 38720d562..000000000 --- a/modules/blockmyaccountfooter/blockmyaccount.css +++ /dev/null @@ -1,31 +0,0 @@ -/* block myaccount */ -.myaccount ul {margin-bottom:10px;} -.myaccount .bullet .icon {display: none;} -.myaccount li {border-bottom: 1px solid #eee;} -.myaccount li a { - display: block; - padding: 7px 11px 5px 22px; - color: #333; - background: url("../blockcms/img/arrow_right_2.png") no-repeat 10px 10px transparent; -} -.myaccount p.logout { - padding-bottom:0; - font-weight:bold; - text-align:right; -} -/* block myaccount in footer */ -#footer .myaccount .title_block, #footer .myaccount h4 {background: none;} -#footer .myaccount .logout {display:none;} -#footer .myaccount .title_block, #footer .myaccount h4 { - padding:0 0 10px 0; - background:none; -} -#footer .myaccount ul {margin-bottom:0} -#footer .myaccount li {border-bottom:none} -#footer .myaccount li a { - display: block; - padding:0; - color: #fff; - background: none; -} -#footer .myaccount li.lnk_wishlist img {display:none;} \ No newline at end of file diff --git a/modules/blockmyaccountfooter/blockmyaccountfooter.php b/modules/blockmyaccountfooter/blockmyaccountfooter.php deleted file mode 100644 index 7159388c8..000000000 --- a/modules/blockmyaccountfooter/blockmyaccountfooter.php +++ /dev/null @@ -1,118 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockMyAccountFooter extends Module -{ - public function __construct() - { - $this->name = 'blockmyaccountfooter'; - $this->tab = 'front_office_features'; - $this->version = '1.6.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - parent::__construct(); - - $this->displayName = $this->l('My account block for your website\'s footer'); - $this->description = $this->l('Displays a block with links relative to user accounts.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - if (!$this->addMyAccountBlockHook() - || !parent::install() - || !$this->registerHook('footer') - || !$this->registerHook('header') - || !$this->registerHook('actionModuleRegisterHookAfter') - || !$this->registerHook('actionModuleUnRegisterHookAfter') - ) - return false; - return true; - } - - public function hookActionModuleUnRegisterHookAfter($params) - { - return $this->hookActionModuleRegisterHookAfter($params); - } - - public function uninstall() - { - return parent::uninstall() && $this->removeMyAccountBlockHook(); - } - - public function hookActionModuleRegisterHookAfter($params) - { - if ($params['hook_name'] == 'displayMyAccountBlock') - $this->_clearCache('blockmyaccountfooter.tpl'); - } - - public function hookLeftColumn($params) - { - if (!$params['cookie']->isLogged()) - return false; - $this->smarty->assign(array( - 'voucherAllowed' => CartRule::isFeatureActive(), - 'returnAllowed' => (int)Configuration::get('PS_ORDER_RETURN'), - 'HOOK_BLOCK_MY_ACCOUNT' => Hook::exec('displayMyAccountBlock') - )); - return $this->display(__FILE__, $this->name.'.tpl'); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - private function addMyAccountBlockHook() - { - return Db::getInstance()->execute('INSERT IGNORE INTO `'._DB_PREFIX_.'hook` (`name`, `title`, `description`, `position`) VALUES (\'displayMyAccountBlockfooter\', \'My account block\', \'Display extra informations inside the "my account" block\', 1)'); - } - - private function removeMyAccountBlockHook() - { - return Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'hook` WHERE `name` = \'displayMyAccountBlockfooter\''); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockmyaccount.css', 'all'); - } - - public function hookFooter($params) - { - if (!$this->isCached('blockmyaccountfooter.tpl', $this->getCacheId())) - $this->smarty->assign(array( - 'voucherAllowed' => CartRule::isFeatureActive(), - 'returnAllowed' => (int)Configuration::get('PS_ORDER_RETURN'), - 'HOOK_BLOCK_MY_ACCOUNT' => Hook::exec('displayMyAccountBlockfooter') - )); - return $this->display(__FILE__, 'blockmyaccountfooter.tpl', $this->getCacheId()); - } -} diff --git a/modules/blockmyaccountfooter/blockmyaccountfooter.tpl b/modules/blockmyaccountfooter/blockmyaccountfooter.tpl deleted file mode 100644 index b4195d60d..000000000 --- a/modules/blockmyaccountfooter/blockmyaccountfooter.tpl +++ /dev/null @@ -1,42 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @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/modules/blockmyaccountfooter/index.php b/modules/blockmyaccountfooter/index.php deleted file mode 100644 index e69de29bb..000000000 diff --git a/modules/blockmyaccountfooter/logo.gif b/modules/blockmyaccountfooter/logo.gif deleted file mode 100644 index bd22d009b..000000000 Binary files a/modules/blockmyaccountfooter/logo.gif and /dev/null differ diff --git a/modules/blockmyaccountfooter/logo.png b/modules/blockmyaccountfooter/logo.png deleted file mode 100644 index c435b44aa..000000000 Binary files a/modules/blockmyaccountfooter/logo.png and /dev/null differ diff --git a/modules/blockmyaccountfooter/translations/index.php b/modules/blockmyaccountfooter/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockmyaccountfooter/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocknewproducts/CHANGELOG.txt b/modules/blocknewproducts/CHANGELOG.txt deleted file mode 100644 index 2cc93753f..000000000 --- a/modules/blocknewproducts/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:28 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blocknewproducts : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:01 +0100 // MO blocknewproducts/ : ps_versions_compliancy added -2014-03-20 14:22:59 +0100 Initial commit diff --git a/modules/blocknewproducts/blocknewproducts.php b/modules/blocknewproducts/blocknewproducts.php deleted file mode 100644 index 0cfc40f1a..000000000 --- a/modules/blocknewproducts/blocknewproducts.php +++ /dev/null @@ -1,273 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockNewProducts extends Module -{ - protected static $cache_new_products; - - public function __construct() - { - $this->name = 'blocknewproducts'; - $this->tab = 'front_office_features'; - $this->version = '1.10.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('New products block'); - $this->description = $this->l('Displays a block featuring your store\'s newest products.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - $success = (parent::install() - && $this->registerHook('header') - && $this->registerHook('leftColumn') - && $this->registerHook('addproduct') - && $this->registerHook('updateproduct') - && $this->registerHook('deleteproduct') - && Configuration::updateValue('NEW_PRODUCTS_NBR', 5) - && $this->registerHook('displayHomeTab') - && $this->registerHook('displayHomeTabContent') - ); - - $this->_clearCache('*'); - - return $success; - } - - public function uninstall() - { - $this->_clearCache('*'); - - return parent::uninstall(); - } - - public function getContent() - { - $output = ''; - if (Tools::isSubmit('submitBlockNewProducts')) - { - if (!($productNbr = Tools::getValue('NEW_PRODUCTS_NBR')) || empty($productNbr)) - $output .= $this->displayError($this->l('Please complete the "products to display" field.')); - elseif ((int)($productNbr) == 0) - $output .= $this->displayError($this->l('Invalid number.')); - else - { - Configuration::updateValue('PS_NB_DAYS_NEW_PRODUCT', (int)(Tools::getValue('PS_NB_DAYS_NEW_PRODUCT'))); - Configuration::updateValue('PS_BLOCK_NEWPRODUCTS_DISPLAY', (int)(Tools::getValue('PS_BLOCK_NEWPRODUCTS_DISPLAY'))); - Configuration::updateValue('NEW_PRODUCTS_NBR', (int)($productNbr)); - $this->_clearCache('*'); - $output .= $this->displayConfirmation($this->l('Settings updated')); - } - } - return $output.$this->renderForm(); - } - - protected function getNewProducts() - { - if (!Configuration::get('NEW_PRODUCTS_NBR')) - return; - $newProducts = false; - if (Configuration::get('PS_NB_DAYS_NEW_PRODUCT')) - $newProducts = Product::getNewProducts((int) $this->context->language->id, 0, (int)Configuration::get('NEW_PRODUCTS_NBR')); - - if (!$newProducts && Configuration::get('PS_BLOCK_NEWPRODUCTS_DISPLAY')) - return; - return $newProducts; - } - - public function hookRightColumn($params) - { - if (!$this->isCached('blocknewproducts.tpl', $this->getCacheId())) - { - if (!isset(BlockNewProducts::$cache_new_products)) - BlockNewProducts::$cache_new_products = $this->getNewProducts(); - - $this->smarty->assign(array( - 'new_products' => BlockNewProducts::$cache_new_products, - 'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')), - 'homeSize' => Image::getSize(ImageType::getFormatedName('home')) - )); - } - - if (BlockNewProducts::$cache_new_products === false) - return false; - - return $this->display(__FILE__, 'blocknewproducts.tpl', $this->getCacheId()); - } - - protected function getCacheId($name = null) - { - if ($name === null) - $name = 'blocknewproducts'; - return parent::getCacheId($name.'|'.date('Ymd')); - } - - public function hookLeftColumn($params) - { - return $this->hookRightColumn($params); - } - - public function hookdisplayHomeTab($params) - { - if (!$this->isCached('tab.tpl', $this->getCacheId('blocknewproducts-tab'))) - BlockNewProducts::$cache_new_products = $this->getNewProducts(); - - if (BlockNewProducts::$cache_new_products === false) - return false; - - return $this->display(__FILE__, 'tab.tpl', $this->getCacheId('blocknewproducts-tab')); - } - - public function hookdisplayHomeTabContent($params) - { - if (!$this->isCached('blocknewproducts_home.tpl', $this->getCacheId('blocknewproducts-home'))) - { - $this->smarty->assign(array( - 'new_products' => BlockNewProducts::$cache_new_products, - 'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')), - 'homeSize' => Image::getSize(ImageType::getFormatedName('home')) - )); - } - - if (BlockNewProducts::$cache_new_products === false) - return false; - - return $this->display(__FILE__, 'blocknewproducts_home.tpl', $this->getCacheId('blocknewproducts-home')); - } - - public function hookHeader($params) - { - if (isset($this->context->controller->php_self) && $this->context->controller->php_self == 'index') - $this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css'); - - $this->context->controller->addCSS($this->_path.'blocknewproducts.css', 'all'); - } - - public function hookAddProduct($params) - { - $this->_clearCache('*'); - } - - public function hookUpdateProduct($params) - { - $this->_clearCache('*'); - } - - public function hookDeleteProduct($params) - { - $this->_clearCache('*'); - } - - public function _clearCache($template, $cache_id = NULL, $compile_id = NULL) - { - parent::_clearCache('blocknewproducts.tpl'); - parent::_clearCache('blocknewproducts_home.tpl', 'blocknewproducts-home'); - parent::_clearCache('tab.tpl', 'blocknewproducts-tab'); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Products to display'), - 'name' => 'NEW_PRODUCTS_NBR', - 'class' => 'fixed-width-xs', - 'desc' => $this->l('Define the number of products to be displayed in this block.') - ), - array( - 'type' => 'text', - 'label' => $this->l('Number of days for which the product is considered \'new\''), - 'name' => 'PS_NB_DAYS_NEW_PRODUCT', - 'class' => 'fixed-width-xs', - ), - array( - 'type' => 'switch', - 'label' => $this->l('Always display this block'), - 'name' => 'PS_BLOCK_NEWPRODUCTS_DISPLAY', - 'desc' => $this->l('Show the block even if no new products are available.'), - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ) - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitBlockNewProducts'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'PS_NB_DAYS_NEW_PRODUCT' => Tools::getValue('PS_NB_DAYS_NEW_PRODUCT', Configuration::get('PS_NB_DAYS_NEW_PRODUCT')), - 'PS_BLOCK_NEWPRODUCTS_DISPLAY' => Tools::getValue('PS_BLOCK_NEWPRODUCTS_DISPLAY', Configuration::get('PS_BLOCK_NEWPRODUCTS_DISPLAY')), - 'NEW_PRODUCTS_NBR' => Tools::getValue('NEW_PRODUCTS_NBR', Configuration::get('NEW_PRODUCTS_NBR')), - ); - } -} diff --git a/modules/blocknewproducts/css/blocknewproducts.css b/modules/blocknewproducts/css/blocknewproducts.css deleted file mode 100644 index e7bdc5cbc..000000000 --- a/modules/blocknewproducts/css/blocknewproducts.css +++ /dev/null @@ -1,51 +0,0 @@ -/* Block new products */ -#new-products_block_right ul {list-style-type:none;} -#new-products_block_right li { - float:left; - margin-right:20px; - padding:10px 0; -} -#new-products_block_right li.first {margin-left:30px;} - -#new-products_block_right dl { - list-style-type:none; -} -#new-products_block_right dt { - padding:10px 0 0 0; - font-weight:bold; - font-size:12px; - color:#333; -} -#new-products_block_right dd, -#new-products_block_right dd a { - color:#666; -} -#new-products_block_right dd { - padding:0 0 10px 0; - border-bottom:1px dotted #ccc; - -} -#new-products_block_right dd.last_item {border:none;} -#new-products_block_right dd a.lnk_more { - padding-right: 10px; - font-weight:bold; - color:#0088cc; - background:url(../img/arrow_right_1.png) no-repeat 100% 4px; -} - -#new-products_block_right p { - padding:0; - text-align:right; -} - -#new-products_block_right p.title_block, #new-products_block_right h4 { - padding:6px 11px; - text-align:left; -} -#new-products_block_right .button_large { - padding:0; - border:none; - background:none; - color:#333; -} -#new-products_block_right .button_large:hover {text-decoration:underline} diff --git a/modules/blocknewproducts/img/arrow_right_1.png b/modules/blocknewproducts/img/arrow_right_1.png deleted file mode 100644 index 2429b2281..000000000 Binary files a/modules/blocknewproducts/img/arrow_right_1.png and /dev/null differ diff --git a/modules/blocknewproducts/img/index.php b/modules/blocknewproducts/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocknewproducts/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocknewproducts/index.php b/modules/blocknewproducts/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocknewproducts/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocknewproducts/logo.gif b/modules/blocknewproducts/logo.gif deleted file mode 100644 index f310c6b40..000000000 Binary files a/modules/blocknewproducts/logo.gif and /dev/null differ diff --git a/modules/blocknewproducts/logo.png b/modules/blocknewproducts/logo.png deleted file mode 100644 index 36828cd4c..000000000 Binary files a/modules/blocknewproducts/logo.png and /dev/null differ diff --git a/modules/blocknewproducts/translations/index.php b/modules/blocknewproducts/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocknewproducts/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocknewproducts/upgrade/install-1.4.php b/modules/blocknewproducts/upgrade/install-1.4.php deleted file mode 100644 index f20e47235..000000000 --- a/modules/blocknewproducts/upgrade/install-1.4.php +++ /dev/null @@ -1,9 +0,0 @@ -registerHook('addproduct') && $object->registerHook('updateproduct') && $object->registerHook('deleteproduct')); -} diff --git a/modules/blocknewproducts/upgrade/install-1.5.php b/modules/blocknewproducts/upgrade/install-1.5.php deleted file mode 100644 index c21256a2f..000000000 --- a/modules/blocknewproducts/upgrade/install-1.5.php +++ /dev/null @@ -1,9 +0,0 @@ -unregisterHook('rightColumn') && $object->registerHook('displayHomeTab') && $object->registerHook('displayHomeTabContent')); -} diff --git a/modules/blocknewproducts/views/index.php b/modules/blocknewproducts/views/index.php deleted file mode 100644 index 8761a003e..000000000 --- a/modules/blocknewproducts/views/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocknewproducts/views/templates/hook/blocknewproducts.tpl b/modules/blocknewproducts/views/templates/hook/blocknewproducts.tpl deleted file mode 100644 index 0a940e475..000000000 --- a/modules/blocknewproducts/views/templates/hook/blocknewproducts.tpl +++ /dev/null @@ -1,50 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
    -

    {l s='New products' mod='blocknewproducts'}

    -
    - {if $new_products !== false} -
      - {foreach from=$new_products item='product' name='newProducts'} - {if $smarty.foreach.newProducts.index < 2} - {$product.legend|escape:html:'UTF-8'} - {/if} - {/foreach} -
    -
    - {foreach from=$new_products item=newproduct name=myLoop} -
    {$newproduct.name|strip_tags|escape:html:'UTF-8'}
    - {if $newproduct.description_short}
    {$newproduct.description_short|strip_tags:'UTF-8'|truncate:75:'...'}
    {l s='Read more' mod='blocknewproducts'}
    {/if} - {/foreach} -
    -

    » {l s='All new products' mod='blocknewproducts'}

    - {else} -

    » {l s='Do not allow new products at this time.' mod='blocknewproducts'}

    - {/if} -
    -
    - diff --git a/modules/blocknewproducts/views/templates/hook/blocknewproducts_home.tpl b/modules/blocknewproducts/views/templates/hook/blocknewproducts_home.tpl deleted file mode 100644 index fceb75f12..000000000 --- a/modules/blocknewproducts/views/templates/hook/blocknewproducts_home.tpl +++ /dev/null @@ -1,31 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -{if isset($new_products) && $new_products} - {include file="$tpl_dir./product-list.tpl" products=$new_products class='blocknewproducts tab-pane' id='blocknewproducts'} -{else} -
      -
    • {l s='No new products at this time.' mod='blocknewproducts'}
    • -
    -{/if} diff --git a/modules/blocknewproducts/views/templates/hook/index.php b/modules/blocknewproducts/views/templates/hook/index.php deleted file mode 100644 index 8761a003e..000000000 --- a/modules/blocknewproducts/views/templates/hook/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blocknewproducts/views/templates/hook/tab.tpl b/modules/blocknewproducts/views/templates/hook/tab.tpl deleted file mode 100644 index 61232733c..000000000 --- a/modules/blocknewproducts/views/templates/hook/tab.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -
  • {l s='New arrivals' mod='blocknewproducts'}
  • diff --git a/modules/blocknewproducts/views/templates/index.php b/modules/blocknewproducts/views/templates/index.php deleted file mode 100644 index 8761a003e..000000000 --- a/modules/blocknewproducts/views/templates/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockpaymentlogo/CHANGELOG.txt b/modules/blockpaymentlogo/CHANGELOG.txt deleted file mode 100644 index d0647fc5f..000000000 --- a/modules/blockpaymentlogo/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:32 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockpaymentlogo : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:15 +0100 / MO blockpaymentlogo : ps_versions_compliancy added -2014-03-20 14:23:14 +0100 Initial commit diff --git a/modules/blockpaymentlogo/blockpaymentlogo.php b/modules/blockpaymentlogo/blockpaymentlogo.php deleted file mode 100644 index d230eacd5..000000000 --- a/modules/blockpaymentlogo/blockpaymentlogo.php +++ /dev/null @@ -1,178 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockPaymentLogo extends Module -{ - public function __construct() - { - $this->name = 'blockpaymentlogo'; - $this->tab = 'front_office_features'; - $this->version = '0.4.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Payment logos block'); - $this->description = $this->l('Adds a block which displays all of your payment logos.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - Configuration::updateValue('PS_PAYMENT_LOGO_CMS_ID', 0); - return (parent::install() && $this->registerHook('header') && $this->registerHook('leftColumn')); - } - - public function uninstall() - { - Configuration::deleteByName('PS_PAYMENT_LOGO_CMS_ID'); - return parent::uninstall(); - } - - public function getContent() - { - $html = ''; - - if (Tools::isSubmit('submitConfiguration')) - if (Validate::isUnsignedInt(Tools::getValue('PS_PAYMENT_LOGO_CMS_ID'))) - { - Configuration::updateValue('PS_PAYMENT_LOGO_CMS_ID', (int)(Tools::getValue('PS_PAYMENT_LOGO_CMS_ID'))); - $this->_clearCache('blockpaymentlogo.tpl'); - $html .= $this->displayConfirmation($this->l('The settings have been updated.')); - } - - $cmss = CMS::listCms($this->context->language->id); - - if (!count($cmss)) - $html .= $this->displayError($this->l('No CMS page is available.')); - else - $html .= $this->renderForm(); - - return $html; - } - - /** - * Returns module content - * - * @param array $params Parameters - * @return string Content - */ - public function hookLeftColumn($params) - { - if (Configuration::get('PS_CATALOG_MODE')) - return; - - if (!$this->isCached('blockpaymentlogo.tpl', $this->getCacheId())) - { - if (!Configuration::get('PS_PAYMENT_LOGO_CMS_ID')) - return; - $cms = new CMS(Configuration::get('PS_PAYMENT_LOGO_CMS_ID'), $this->context->language->id); - if (!Validate::isLoadedObject($cms)) - return; - $this->smarty->assign('cms_payement_logo', $cms); - } - - return $this->display(__FILE__, 'blockpaymentlogo.tpl', $this->getCacheId()); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookFooter($params) - { - return $this->hookLeftColumn($params); - } - public function hookHeader($params) - { - if (Configuration::get('PS_CATALOG_MODE')) - return; - $this->context->controller->addCSS(($this->_path).'blockpaymentlogo.css', 'all'); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'select', - 'label' => $this->l('Destination page for the block\'s link'), - 'name' => 'PS_PAYMENT_LOGO_CMS_ID', - 'required' => false, - 'default_value' => (int)$this->context->country->id, - 'options' => array( - 'query' => CMS::listCms($this->context->language->id), - 'id' => 'id_cms', - 'name' => 'meta_title' - ) - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitConfiguration'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'PS_PAYMENT_LOGO_CMS_ID' => Tools::getValue('PS_PAYMENT_LOGO_CMS_ID', Configuration::get('PS_PAYMENT_LOGO_CMS_ID')), - ); - } - -} - - diff --git a/modules/blockpaymentlogo/blockpaymentlogo.tpl b/modules/blockpaymentlogo/blockpaymentlogo.tpl deleted file mode 100644 index ba8201562..000000000 --- a/modules/blockpaymentlogo/blockpaymentlogo.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - \ No newline at end of file diff --git a/modules/blockpaymentlogo/index.php b/modules/blockpaymentlogo/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockpaymentlogo/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockpaymentlogo/logo.gif b/modules/blockpaymentlogo/logo.gif deleted file mode 100644 index 22c8df5a8..000000000 Binary files a/modules/blockpaymentlogo/logo.gif and /dev/null differ diff --git a/modules/blockpaymentlogo/logo.png b/modules/blockpaymentlogo/logo.png deleted file mode 100644 index d94d19760..000000000 Binary files a/modules/blockpaymentlogo/logo.png and /dev/null differ diff --git a/modules/blockpaymentlogo/translations/index.php b/modules/blockpaymentlogo/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockpaymentlogo/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockpermanentlinks/CHANGELOG.txt b/modules/blockpermanentlinks/CHANGELOG.txt deleted file mode 100644 index 4015d4cee..000000000 --- a/modules/blockpermanentlinks/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:34 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockpermanentlinks : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:21 +0100 / MO blockpermanentlinks : ps_versions_compliancy added -2014-03-20 14:23:25 +0100 Initial commit diff --git a/modules/blockpermanentlinks/blockpermanentlinks-footer.tpl b/modules/blockpermanentlinks/blockpermanentlinks-footer.tpl deleted file mode 100644 index fe8f1b0b5..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks-footer.tpl +++ /dev/null @@ -1,44 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @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/modules/blockpermanentlinks/blockpermanentlinks-header.tpl b/modules/blockpermanentlinks/blockpermanentlinks-header.tpl deleted file mode 100644 index 6f8fc38f0..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks-header.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @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/modules/blockpermanentlinks/blockpermanentlinks.css b/modules/blockpermanentlinks/blockpermanentlinks.css deleted file mode 100644 index 7dccbbe6f..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks.css +++ /dev/null @@ -1,35 +0,0 @@ -/* block top links */ -ul#header_links { - list-style-type: none; - float: right; - margin-top:5px -} -#header_links li { - float: left; - padding: 0 8px; - border-left:1px solid #333; - line-height:11px; -} -#header_links li:first-child {border:none;} -#header_links a {text-decoration: none} -#header_links a:hover {text-decoration:underline} - -/*block permanent links right and left columns*/ -#permanent_links div {border-bottom: 1px dotted #eee} -#permanent_links div a { - display: block; - padding: 7px 11px 5px 22px; - color: #333; - background:url(img/arrow_right_2.png) no-repeat 10px 10px; -} - -/* block footer links */ -ul#footer_links{ - clear:both; - text-align: center; - padding-bottom:6px -} -ul#footer_links li{ - display: inline; - padding:0 10px -} diff --git a/modules/blockpermanentlinks/blockpermanentlinks.php b/modules/blockpermanentlinks/blockpermanentlinks.php deleted file mode 100644 index 90dcb419e..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks.php +++ /dev/null @@ -1,93 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockPermanentLinks extends Module -{ - public function __construct() - { - $this->name = 'blockpermanentlinks'; - $this->tab = 'front_office_features'; - $this->version = '0.3.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - parent::__construct(); - - $this->displayName = $this->l('Permanent links block'); - $this->description = $this->l('Adds a block which displays permanent links such as sitemap, contact, etc.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - return (parent::install() && $this->registerHook('top') && $this->registerHook('header')); - } - - /** - * Returns module content for header - * - * @param array $params Parameters - * @return string Content - */ - public function hookTop($params) - { - return $this->display(__FILE__, 'blockpermanentlinks-header.tpl', $this->getCacheId('blockpermanentlinks-header')); - } - - public function hookDisplayNav($params) - { - return $this->hookTop($params); - } - - /** - * Returns module content for left column - * - * @param array $params Parameters - * @return string Content - */ - public function hookLeftColumn($params) - { - return $this->display(__FILE__, 'blockpermanentlinks.tpl', $this->getCacheId()); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookFooter($params) - { - return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl', $this->getCacheId('blockpermanentlinks-footer')); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockpermanentlinks.css', 'all'); - } -} diff --git a/modules/blockpermanentlinks/blockpermanentlinks.tpl b/modules/blockpermanentlinks/blockpermanentlinks.tpl deleted file mode 100644 index 91bfab245..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks.tpl +++ /dev/null @@ -1,42 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - \ No newline at end of file diff --git a/modules/blockpermanentlinks/img/arrow_right_2.png b/modules/blockpermanentlinks/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f..000000000 Binary files a/modules/blockpermanentlinks/img/arrow_right_2.png and /dev/null differ diff --git a/modules/blockpermanentlinks/img/index.php b/modules/blockpermanentlinks/img/index.php deleted file mode 100644 index 19a328b3b..000000000 --- a/modules/blockpermanentlinks/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockpermanentlinks/index.php b/modules/blockpermanentlinks/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockpermanentlinks/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockpermanentlinks/logo.gif b/modules/blockpermanentlinks/logo.gif deleted file mode 100644 index d1e8373fc..000000000 Binary files a/modules/blockpermanentlinks/logo.gif and /dev/null differ diff --git a/modules/blockpermanentlinks/logo.png b/modules/blockpermanentlinks/logo.png deleted file mode 100644 index 553eb21f5..000000000 Binary files a/modules/blockpermanentlinks/logo.png and /dev/null differ diff --git a/modules/blockpermanentlinks/translations/index.php b/modules/blockpermanentlinks/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockpermanentlinks/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockreinsurance/CHANGELOG.txt b/modules/blockreinsurance/CHANGELOG.txt deleted file mode 100644 index 2d747ab8f..000000000 --- a/modules/blockreinsurance/CHANGELOG.txt +++ /dev/null @@ -1,15 +0,0 @@ ------------------------------- -# V2.2.1 to V2.2.2 ------------------------------- - -## Improved/Changed Features: - -* [CO] :Images link are now generated dynamically - -_____________________________________________________________________________ - -2014-04-22 18:57:37 +0200 // Changelog updated -2014-03-24 14:40:18 +0100 // fix configuration layout -2014-03-24 11:43:28 +0100 / MO blockreinsurance : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:28 +0100 / MO blockreinsurance : ps_versions_compliancy added -2014-03-20 14:23:28 +0100 Initial commit diff --git a/modules/blockreinsurance/blockreinsurance.php b/modules/blockreinsurance/blockreinsurance.php deleted file mode 100644 index c10237621..000000000 --- a/modules/blockreinsurance/blockreinsurance.php +++ /dev/null @@ -1,364 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA - -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_CAN_LOAD_FILES_')) - exit; - -include_once _PS_MODULE_DIR_.'blockreinsurance/reinsuranceClass.php'; - -class Blockreinsurance extends Module -{ - public function __construct() - { - $this->name = 'blockreinsurance'; - if (version_compare(_PS_VERSION_, '1.4.0.0') >= 0) - $this->tab = 'front_office_features'; - else - $this->tab = 'Blocks'; - $this->version = '2.2.2'; - $this->author = 'PrestaShop'; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Customer reassurance block'); - $this->description = $this->l('Adds an information block aimed at offering helpful information to reassure customers that your store is trustworthy.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_); - } - - public function install() - { - return parent::install() && - $this->installDB() && - Configuration::updateValue('BLOCKREINSURANCE_NBBLOCKS', 5) && - $this->registerHook('footer') && $this->installFixtures() && - // Disable on mobiles and tablets - $this->disableDevice(Context::DEVICE_TABLET | Context::DEVICE_MOBILE); - } - - public function installDB() - { - $return = true; - $return &= Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'reinsurance` ( - `id_reinsurance` INT UNSIGNED NOT NULL AUTO_INCREMENT, - `id_shop` int(10) unsigned NOT NULL , - `file_name` VARCHAR(100) NOT NULL, - PRIMARY KEY (`id_reinsurance`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 ;'); - - $return &= Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'reinsurance_lang` ( - `id_reinsurance` INT UNSIGNED NOT NULL AUTO_INCREMENT, - `id_lang` int(10) unsigned NOT NULL , - `text` VARCHAR(300) NOT NULL, - PRIMARY KEY (`id_reinsurance`, `id_lang`) - ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 ;'); - - return $return; - } - - public function uninstall() - { - // Delete configuration - return Configuration::deleteByName('BLOCKREINSURANCE_NBBLOCKS') && - $this->uninstallDB() && - parent::uninstall(); - } - - public function uninstallDB() - { - return Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'reinsurance`') && Db::getInstance()->execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'reinsurance_lang`'); - } - - public function addToDB() - { - if (isset($_POST['nbblocks'])) - { - for ($i = 1; $i <= (int)$_POST['nbblocks']; $i++) - { - $filename = explode('.', $_FILES['info'.$i.'_file']['name']); - if (isset($_FILES['info'.$i.'_file']) && isset($_FILES['info'.$i.'_file']['tmp_name']) && !empty($_FILES['info'.$i.'_file']['tmp_name'])) - { - if ($error = ImageManager::validateUpload($_FILES['info'.$i.'_file'])) - return false; - elseif (!($tmpName = tempnam(_PS_TMP_IMG_DIR_, 'PS')) || !move_uploaded_file($_FILES['info'.$i.'_file']['tmp_name'], $tmpName)) - return false; - elseif (!ImageManager::resize($tmpName, dirname(__FILE__).'/img/'.$filename[0].'.jpg')) - return false; - unlink($tmpName); - } - Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'reinsurance` (`filename`,`text`) - VALUES ("'.((isset($filename[0]) && $filename[0] != '') ? pSQL($filename[0]) : ''). - '", "'.((isset($_POST['info'.$i.'_text']) && $_POST['info'.$i.'_text'] != '') ? pSQL($_POST['info'.$i.'_text']) : '').'")'); - } - return true; - } else - return false; - } - - public function removeFromDB() - { - $dir = opendir(dirname(__FILE__).'/img'); - while (false !== ($file = readdir($dir))) - { - $path = dirname(__FILE__).'/img/'.$file; - if ($file != '..' && $file != '.' && !is_dir($file)) - unlink($path); - } - closedir($dir); - - return Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'reinsurance`'); - } - - public function getContent() - { - $html = ''; - $id_reinsurance = (int)Tools::getValue('id_reinsurance'); - - if (Tools::isSubmit('saveblockreinsurance')) - { - if ($id_reinsurance = Tools::getValue('id_reinsurance')) - $reinsurance = new reinsuranceClass((int)$id_reinsurance); - else - $reinsurance = new reinsuranceClass(); - $reinsurance->copyFromPost(); - $reinsurance->id_shop = $this->context->shop->id; - - if ($reinsurance->validateFields(false) && $reinsurance->validateFieldsLang(false)) - { - $reinsurance->save(); - if (isset($_FILES['image']) && isset($_FILES['image']['tmp_name']) && !empty($_FILES['image']['tmp_name'])) - { - if ($error = ImageManager::validateUpload($_FILES['image'])) - return false; - elseif (!($tmpName = tempnam(_PS_TMP_IMG_DIR_, 'PS')) || !move_uploaded_file($_FILES['image']['tmp_name'], $tmpName)) - return false; - elseif (!ImageManager::resize($tmpName, dirname(__FILE__).'/img/reinsurance-'.(int)$reinsurance->id.'-'.(int)$reinsurance->id_shop.'.jpg')) - return false; - Tools::deleteImage($tmpName); // by webkul - $reinsurance->file_name = 'reinsurance-'.(int)$reinsurance->id.'-'.(int)$reinsurance->id_shop.'.jpg'; - $reinsurance->save(); - } - $this->_clearCache('blockreinsurance.tpl'); - } - else - $html .= '
    '.$this->l('An error occurred while attempting to save.').'
    '; - } - - if (Tools::isSubmit('updateblockreinsurance') || Tools::isSubmit('addblockreinsurance')) - { - $helper = $this->initForm(); - foreach (Language::getLanguages(false) as $lang) - if ($id_reinsurance) - { - $reinsurance = new reinsuranceClass((int)$id_reinsurance); - $helper->fields_value['text'][(int)$lang['id_lang']] = $reinsurance->text[(int)$lang['id_lang']]; - } - else - $helper->fields_value['text'][(int)$lang['id_lang']] = Tools::getValue('text_'.(int)$lang['id_lang'], ''); - if ($id_reinsurance = Tools::getValue('id_reinsurance')) - { - $this->fields_form[0]['form']['input'][] = array('type' => 'hidden', 'name' => 'id_reinsurance'); - $helper->fields_value['id_reinsurance'] = (int)$id_reinsurance; - } - - return $html.$helper->generateForm($this->fields_form); - } - else if (Tools::isSubmit('deleteblockreinsurance')) - { - $reinsurance = new reinsuranceClass((int)$id_reinsurance); - $reinsurance->delete(); - $this->_clearCache('blockreinsurance.tpl'); - Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules')); - } - else - { - $helper = $this->initList(); - return $html.$helper->generateList($this->getListContent((int)Configuration::get('PS_LANG_DEFAULT')), $this->fields_list); - } - - if (isset($_POST['submitModule'])) - { - Configuration::updateValue('BLOCKREINSURANCE_NBBLOCKS', ((isset($_POST['nbblocks']) && $_POST['nbblocks'] != '') ? (int)$_POST['nbblocks'] : '')); - if ($this->removeFromDB() && $this->addToDB()) - { - $this->_clearCache('blockreinsurance.tpl'); - $output = '
    '.$this->l('The block configuration has been updated.').'
    '; - } - else - $output = '
    '.$this->l('An error occurred while attempting to save.').'
    '; - } - } - - protected function getListContent($id_lang) - { - return Db::getInstance()->executeS(' - SELECT r.`id_reinsurance`, r.`id_shop`, r.`file_name`, rl.`text` - FROM `'._DB_PREFIX_.'reinsurance` r - LEFT JOIN `'._DB_PREFIX_.'reinsurance_lang` rl ON (r.`id_reinsurance` = rl.`id_reinsurance`) - WHERE `id_lang` = '.(int)$id_lang.' '.Shop::addSqlRestrictionOnLang()); - } - - protected function initForm() - { - $default_lang = (int)Configuration::get('PS_LANG_DEFAULT'); - - $this->fields_form[0]['form'] = array( - 'legend' => array( - 'title' => $this->l('New reassurance block'), - ), - 'input' => array( - array( - 'type' => 'file', - 'label' => $this->l('Image'), - 'name' => 'image', - 'value' => true - ), - array( - 'type' => 'textarea', - 'label' => $this->l('Text'), - 'lang' => true, - 'name' => 'text', - 'cols' => 40, - 'rows' => 10 - ) - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ); - - $helper = new HelperForm(); - $helper->module = $this; - $helper->name_controller = 'blockreinsurance'; - $helper->identifier = $this->identifier; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - foreach (Language::getLanguages(false) as $lang) - $helper->languages[] = array( - 'id_lang' => $lang['id_lang'], - 'iso_code' => $lang['iso_code'], - 'name' => $lang['name'], - 'is_default' => ($default_lang == $lang['id_lang'] ? 1 : 0) - ); - - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - $helper->default_form_language = $default_lang; - $helper->allow_employee_form_lang = $default_lang; - $helper->toolbar_scroll = true; - $helper->title = $this->displayName; - $helper->submit_action = 'saveblockreinsurance'; - $helper->toolbar_btn = array( - 'save' => - array( - 'desc' => $this->l('Save'), - 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&save'.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), - ), - 'back' => - array( - 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), - 'desc' => $this->l('Back to list') - ) - ); - return $helper; - } - - protected function initList() - { - $this->fields_list = array( - 'id_reinsurance' => array( - 'title' => $this->l('ID'), - 'width' => 120, - 'type' => 'text', - 'search' => false, - 'orderby' => false - ), - 'text' => array( - 'title' => $this->l('Text'), - 'width' => 140, - 'type' => 'text', - 'search' => false, - 'orderby' => false - ), - ); - - if (Shop::isFeatureActive()) - $this->fields_list['id_shop'] = array('title' => $this->l('ID Shop'), 'align' => 'center', 'width' => 25, 'type' => 'int'); - - $helper = new HelperList(); - $helper->shopLinkType = ''; - $helper->simple_header = false; - $helper->identifier = 'id_reinsurance'; - $helper->actions = array('edit', 'delete'); - $helper->show_toolbar = true; - $helper->imageType = 'jpg'; - $helper->toolbar_btn['new'] = array( - 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&add'.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), - 'desc' => $this->l('Add new') - ); - - $helper->title = $this->displayName; - $helper->table = $this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - return $helper; - } - - public function hookFooter($params) - { - $this->context->controller->addCSS($this->_path.'style.css', 'all'); - if (!$this->isCached('blockreinsurance.tpl', $this->getCacheId())) - { - $infos = $this->getListContent($this->context->language->id); - $this->context->smarty->assign(array('infos' => $infos, 'nbblocks' => count($infos))); - } - return $this->display(__FILE__, 'blockreinsurance.tpl', $this->getCacheId()); - } - - public function installFixtures() - { - $return = true; - $tab_texts = array( - array('text' => $this->l('Money back guarantee.'), 'file_name' => 'reinsurance-1-1.jpg'), - array('text' => $this->l('In-store exchange.'), 'file_name' => 'reinsurance-2-1.jpg'), - array('text' => $this->l('Payment upon shipment.'), 'file_name' => 'reinsurance-3-1.jpg'), - array('text' => $this->l('Free Shipping.'), 'file_name' => 'reinsurance-4-1.jpg'), - array('text' => $this->l('100% secure payment processing.'), 'file_name' => 'reinsurance-5-1.jpg') - ); - - foreach($tab_texts as $tab) - { - $reinsurance = new reinsuranceClass(); - foreach (Language::getLanguages(false) as $lang) - $reinsurance->text[$lang['id_lang']] = $tab['text']; - $reinsurance->file_name = $tab['file_name']; - $reinsurance->id_shop = $this->context->shop->id; - $return &= $reinsurance->save(); - } - return $return; - } -} diff --git a/modules/blockreinsurance/blockreinsurance.tpl b/modules/blockreinsurance/blockreinsurance.tpl deleted file mode 100644 index 49065356b..000000000 --- a/modules/blockreinsurance/blockreinsurance.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} -{if $infos|@count > 0} - -
    -
      - {foreach from=$infos item=info} -
    • {$info.text|escape:html:'UTF-8'} {$info.text|escape:html:'UTF-8'}
    • - {/foreach} -
    -
    - -{/if} \ No newline at end of file diff --git a/modules/blockreinsurance/img/bg_reinsurance_block.gif b/modules/blockreinsurance/img/bg_reinsurance_block.gif deleted file mode 100644 index 0894d2a0a..000000000 Binary files a/modules/blockreinsurance/img/bg_reinsurance_block.gif and /dev/null differ diff --git a/modules/blockreinsurance/img/index.php b/modules/blockreinsurance/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockreinsurance/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockreinsurance/img/reinsurance-1-1.jpg b/modules/blockreinsurance/img/reinsurance-1-1.jpg deleted file mode 100644 index 41eb81f65..000000000 Binary files a/modules/blockreinsurance/img/reinsurance-1-1.jpg and /dev/null differ diff --git a/modules/blockreinsurance/img/reinsurance-2-1.jpg b/modules/blockreinsurance/img/reinsurance-2-1.jpg deleted file mode 100644 index 2ed294051..000000000 Binary files a/modules/blockreinsurance/img/reinsurance-2-1.jpg and /dev/null differ diff --git a/modules/blockreinsurance/img/reinsurance-3-1.jpg b/modules/blockreinsurance/img/reinsurance-3-1.jpg deleted file mode 100644 index f57854647..000000000 Binary files a/modules/blockreinsurance/img/reinsurance-3-1.jpg and /dev/null differ diff --git a/modules/blockreinsurance/img/reinsurance-4-1.jpg b/modules/blockreinsurance/img/reinsurance-4-1.jpg deleted file mode 100644 index d8cd7beff..000000000 Binary files a/modules/blockreinsurance/img/reinsurance-4-1.jpg and /dev/null differ diff --git a/modules/blockreinsurance/img/reinsurance-5-1.jpg b/modules/blockreinsurance/img/reinsurance-5-1.jpg deleted file mode 100644 index 6706ce5ff..000000000 Binary files a/modules/blockreinsurance/img/reinsurance-5-1.jpg and /dev/null differ diff --git a/modules/blockreinsurance/index.php b/modules/blockreinsurance/index.php deleted file mode 100644 index da793c6b5..000000000 --- a/modules/blockreinsurance/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockreinsurance/logo.gif b/modules/blockreinsurance/logo.gif deleted file mode 100644 index 15471afd4..000000000 Binary files a/modules/blockreinsurance/logo.gif and /dev/null differ diff --git a/modules/blockreinsurance/logo.png b/modules/blockreinsurance/logo.png deleted file mode 100644 index 438622bb5..000000000 Binary files a/modules/blockreinsurance/logo.png and /dev/null differ diff --git a/modules/blockreinsurance/reinsuranceClass.php b/modules/blockreinsurance/reinsuranceClass.php deleted file mode 100644 index 1994ed683..000000000 --- a/modules/blockreinsurance/reinsuranceClass.php +++ /dev/null @@ -1,92 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -class reinsuranceClass extends ObjectModel -{ - /** @var integer reinsurance id*/ - public $id; - - /** @var integer reinsurance id shop*/ - public $id_shop; - - /** @var string reinsurance file name icon*/ - public $file_name; - - /** @var string reinsurance text*/ - public $text; - - - /** - * @see ObjectModel::$definition - */ - public static $definition = array( - 'table' => 'reinsurance', - 'primary' => 'id_reinsurance', - 'multilang' => true, - 'fields' => array( - 'id_shop' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true), - 'file_name' => array('type' => self::TYPE_STRING, 'validate' => 'isFileName'), - // Lang fields - 'text' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true), - ) - ); - - public function __construct($id = null, $id_lang = null, $id_shop = null) // by webkul for object deletiom with image - { - parent::__construct($id, $id_lang, $id_shop); - - $this->image_dir = _PS_MODULE_DIR_.'blockreinsurance/img/'; - $this->image_name = explode('.', $this->file_name)[0]; - } - - public function delete() // by webkul for object deletion with image - { - if (!parent::delete() - || !$this->deleteImage(true) - ) { - return false; - } - return true; - } - - public function copyFromPost() - { - /* Classical fields */ - foreach ($_POST AS $key => $value) - if (array_key_exists($key, $this) AND $key != 'id_'.$this->table) - $this->{$key} = $value; - - /* Multilingual fields */ - if (sizeof($this->fieldsValidateLang)) - { - $languages = Language::getLanguages(false); - foreach ($languages AS $language) - foreach ($this->fieldsValidateLang AS $field => $validation) - if (isset($_POST[$field.'_'.(int)($language['id_lang'])])) - $this->{$field}[(int)($language['id_lang'])] = $_POST[$field.'_'.(int)($language['id_lang'])]; - } - } -} diff --git a/modules/blockreinsurance/style.css b/modules/blockreinsurance/style.css deleted file mode 100644 index fc08e480e..000000000 --- a/modules/blockreinsurance/style.css +++ /dev/null @@ -1,24 +0,0 @@ -/* BLOCK #reinsurance_block ******************************************************************** */ -#reinsurance_block {background:url(../blockreinsurance/img/bg_reinsurance_block.gif) repeat-x 0 0 #c3c7cb} -#reinsurance_block li { - float:left; - padding:15px 10px !important; - font-size:13px; - color:#333; - text-transform:uppercase; - text-shadow:0 1px 0 #fff -} -#reinsurance_block .width1 li {width:960px} -#reinsurance_block .width2 li {width:470px} -#reinsurance_block .width3 li {width:305px} -#reinsurance_block .width4 li {width:224px} -#reinsurance_block .width5 li {width:175px} -#reinsurance_block li img{ - float:left; - margin-right:10px; -} -#reinsurance_block li span { - float:left; - padding-top:12px; - width:65%; -} \ No newline at end of file diff --git a/modules/blockreinsurance/translations/index.php b/modules/blockreinsurance/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockreinsurance/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockrss/CHANGELOG.txt b/modules/blockrss/CHANGELOG.txt deleted file mode 100644 index b35122501..000000000 --- a/modules/blockrss/CHANGELOG.txt +++ /dev/null @@ -1,13 +0,0 @@ ------------------------------ -# V1.3.2 to V1.3.3 ------------------------------ - -## Improved/Changed Features: - -* [CO] : [#268] Added xml parser library in module. - - -2014-04-22 18:57:39 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockrss : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:34 +0100 // MO blockrss/ : ps_versions_compliancy added -2014-03-20 14:24:52 +0100 Initial commit diff --git a/modules/blockrss/blockrss.php b/modules/blockrss/blockrss.php deleted file mode 100644 index 3bd70482d..000000000 --- a/modules/blockrss/blockrss.php +++ /dev/null @@ -1,252 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -include_once _PS_CLASS_DIR_.'../tools/pear/PEAR.php'; -require_once dirname(__FILE__).'/vendor/autoload.php'; - - -class Blockrss extends Module -{ - - private static $xmlFields = array('title', 'guid', 'description', 'author', 'comments', 'pubDate', 'source', 'link', 'content'); - - function __construct() - { - $this->name = 'blockrss'; - $this->tab = 'front_office_features'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('RSS feed block'); - $this->description = $this->l('Adds a block displaying a RSS feed.'); - - $this->version = '1.3.3'; - $this->author = 'PrestaShop'; - $this->error = false; - $this->valid = false; - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - function install() - { - if (!parent::install()) - return false; - - Configuration::updateValue('RSS_FEED_TITLE', $this->l('RSS feed')); - Configuration::updateValue('RSS_FEED_NBR', 5); - - return ($this->registerHook('header') && $this->registerHook('leftColumn')); - } - - public function getContent() - { - $output = ''; - - if (Tools::isSubmit('submitBlockRss')) - { - $errors = array(); - $urlfeed = Tools::getValue('RSS_FEED_URL'); - $title = Tools::getValue('RSS_FEED_TITLE'); - $nbr = (int)Tools::getValue('RSS_FEED_NBR'); - - if ($urlfeed AND !Validate::isAbsoluteUrl($urlfeed)) - $errors[] = $this->l('Invalid feed URL'); - elseif (!$title OR empty($title) OR !Validate::isGenericName($title)) - $errors[] = $this->l('Invalid title'); - elseif (!$nbr OR $nbr <= 0 OR !Validate::isInt($nbr)) - $errors[] = $this->l('Invalid number of feeds'); - elseif (stristr($urlfeed, $_SERVER['HTTP_HOST'].__PS_BASE_URI__)) - $errors[] = $this->l('You have selected a feed URL from your own website. Please choose another URL.'); - elseif (!($contents = Tools::file_get_contents($urlfeed))) - $errors[] = $this->l('Feed is unreachable, check your URL'); - /* Even if the feed was reachable, We need to make sure that the feed is well formated */ - else - { - try - { - $xmlFeed = new XML_Feed_Parser($contents); - } - catch (XML_Feed_Parser_Exception $e) - { - $errors[] = $this->l('Invalid feed:').' '.$e->getMessage(); - } - } - - if (!sizeof($errors)) - { - Configuration::updateValue('RSS_FEED_URL', $urlfeed); - Configuration::updateValue('RSS_FEED_TITLE', $title); - Configuration::updateValue('RSS_FEED_NBR', $nbr); - - $output .= $this->displayConfirmation($this->l('Settings updated')); - } - else - $output .= $this->displayError(implode('
    ', $errors)); - } - else - { - $errors = array(); - if (stristr(Configuration::get('RSS_FEED_URL'), $_SERVER['HTTP_HOST'].__PS_BASE_URI__)) - $errors[] = $this->l('You have selected a feed URL from your own website. Please choose another URL.'); - - if (sizeof($errors)) - $output .= $this->displayError(implode('
    ', $errors)); - } - return $output.$this->renderForm(); - } - - function hookLeftColumn($params) - { - // Conf - $title = strval(Configuration::get('RSS_FEED_TITLE')); - $url = strval(Configuration::get('RSS_FEED_URL')); - $nb = (int)(Configuration::get('RSS_FEED_NBR')); - - $cacheId = $this->getCacheId($this->name.'-'.date("YmdH")); - if (!$this->isCached('blockrss.tpl', $cacheId)) - { - // Getting data - $rss_links = array(); - if ($url && ($contents = Tools::file_get_contents($url))) - try - { - if (@$src = new XML_Feed_Parser($contents)) - for ($i = 0; $i < ($nb ? $nb : 5); $i++) - if (@$item = $src->getEntryByOffset($i)) - { - $xmlValues = array(); - foreach (self::$xmlFields as $xmlField) - $xmlValues[$xmlField] = $item->__get($xmlField); - $xmlValues['enclosure'] = $item->getEnclosure(); - - // First image - if (isset($xmlValues['content']) && $xmlValues['content']) - { - preg_match('/< *img[^>]*src *= *["\']?([^"\']*)/', $xmlValues['content'], $image); - if (array_key_exists(1, $image) && $image[1]) - { - if ($image[1][0] == '/') - $image[1] = 'http:'.$image[1]; - // Try if distant image exist : timeout 0.3s - $context = stream_context_create(array('http' => array('timeout' => 0.3))); - if (file_get_contents($image[1], false, $context, -1, 1) !== false) - $xmlValues['image'] = $image[1]; - } - } - - // Compatibility - $xmlValues['url'] = $xmlValues['link']; - $rss_links[] = $xmlValues; - } - } - catch (XML_Feed_Parser_Exception $e) - { - Tools::dieOrLog(sprintf($this->l('Error: invalid RSS feed in "blockrss" module: %s'), $e->getMessage()), false); - } - // Display smarty - $this->smarty->assign(array('title' => ($title ? $title : $this->l('RSS feed')), 'rss_links' => $rss_links)); - } - return $this->display(__FILE__, 'blockrss.tpl', $cacheId); - } - - function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockrss.css', 'all'); - } - - public function renderForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Block title'), - 'name' => 'RSS_FEED_TITLE', - 'desc' => $this->l('Create a title for the block (default: \'RSS feed\').'), - ), - array( - 'type' => 'text', - 'label' => $this->l('Add a feed URL'), - 'name' => 'RSS_FEED_URL', - 'desc' => $this->l('Add the URL of the feed you want to use (sample: http://news.google.com/?output=rss).'), - ), - array( - 'type' => 'text', - 'label' => $this->l('Number of threads displayed'), - 'name' => 'RSS_FEED_NBR', - 'class' => 'fixed-width-sm', - 'desc' => $this->l('Number of threads displayed in the block (default value: 5).'), - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $helper->identifier = $this->identifier; - $helper->submit_action = 'submitBlockRss'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form)); - } - - public function getConfigFieldsValues() - { - return array( - 'RSS_FEED_TITLE' => Tools::getValue('RSS_FEED_TITLE', Configuration::get('RSS_FEED_TITLE')), - 'RSS_FEED_URL' => Tools::getValue('RSS_FEED_URL', Configuration::get('RSS_FEED_URL')), - 'RSS_FEED_NBR' => Tools::getValue('RSS_FEED_NBR', Configuration::get('RSS_FEED_NBR')), - ); - } -} diff --git a/modules/blockrss/blockrss.tpl b/modules/blockrss/blockrss.tpl deleted file mode 100644 index 0fe1d2c15..000000000 --- a/modules/blockrss/blockrss.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{* -* 2007-2016 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-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
    -

    {$title}

    -
    - {if $rss_links} - - {else} -

    {l s='No RSS feed added' mod='blockrss'}

    - {/if} -
    -
    - diff --git a/modules/blockrss/img/arrow_right_2.png b/modules/blockrss/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f..000000000 Binary files a/modules/blockrss/img/arrow_right_2.png and /dev/null differ diff --git a/modules/blockrss/img/index.php b/modules/blockrss/img/index.php deleted file mode 100644 index 19a328b3b..000000000 --- a/modules/blockrss/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockrss/index.php b/modules/blockrss/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockrss/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockrss/logo.gif b/modules/blockrss/logo.gif deleted file mode 100644 index 7a5e0099f..000000000 Binary files a/modules/blockrss/logo.gif and /dev/null differ diff --git a/modules/blockrss/logo.png b/modules/blockrss/logo.png deleted file mode 100644 index 519118125..000000000 Binary files a/modules/blockrss/logo.png and /dev/null differ diff --git a/modules/blockrss/translations/index.php b/modules/blockrss/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockrss/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @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/modules/blockrss/vendor/autoload.php b/modules/blockrss/vendor/autoload.php deleted file mode 100644 index f3772b7aa..000000000 --- a/modules/blockrss/vendor/autoload.php +++ /dev/null @@ -1,7 +0,0 @@ - - * Jordi Boggiano - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Composer\Autoload; - -/** - * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. - * - * $loader = new \Composer\Autoload\ClassLoader(); - * - * // register classes with namespaces - * $loader->add('Symfony\Component', __DIR__.'/component'); - * $loader->add('Symfony', __DIR__.'/framework'); - * - * // activate the autoloader - * $loader->register(); - * - * // to enable searching the include path (eg. for PEAR packages) - * $loader->setUseIncludePath(true); - * - * In this example, if you try to use a class in the Symfony\Component - * namespace or one of its children (Symfony\Component\Console for instance), - * the autoloader will first look for the class under the component/ - * directory, and it will then fallback to the framework/ directory if not - * found before giving up. - * - * This class is loosely based on the Symfony UniversalClassLoader. - * - * @author Fabien Potencier - * @author Jordi Boggiano - * @see http://www.php-fig.org/psr/psr-0/ - * @see http://www.php-fig.org/psr/psr-4/ - */ -class ClassLoader -{ - // PSR-4 - private $prefixLengthsPsr4 = array(); - private $prefixDirsPsr4 = array(); - private $fallbackDirsPsr4 = array(); - - // PSR-0 - private $prefixesPsr0 = array(); - private $fallbackDirsPsr0 = array(); - - private $useIncludePath = false; - private $classMap = array(); - private $classMapAuthoritative = false; - private $missingClasses = array(); - private $apcuPrefix; - - public function getPrefixes() - { - if (!empty($this->prefixesPsr0)) { - return call_user_func_array('array_merge', $this->prefixesPsr0); - } - - return array(); - } - - public function getPrefixesPsr4() - { - return $this->prefixDirsPsr4; - } - - public function getFallbackDirs() - { - return $this->fallbackDirsPsr0; - } - - public function getFallbackDirsPsr4() - { - return $this->fallbackDirsPsr4; - } - - public function getClassMap() - { - return $this->classMap; - } - - /** - * @param array $classMap Class to filename map - */ - public function addClassMap(array $classMap) - { - if ($this->classMap) { - $this->classMap = array_merge($this->classMap, $classMap); - } else { - $this->classMap = $classMap; - } - } - - /** - * Registers a set of PSR-0 directories for a given prefix, either - * appending or prepending to the ones previously set for this prefix. - * - * @param string $prefix The prefix - * @param array|string $paths The PSR-0 root directories - * @param bool $prepend Whether to prepend the directories - */ - public function add($prefix, $paths, $prepend = false) - { - if (!$prefix) { - if ($prepend) { - $this->fallbackDirsPsr0 = array_merge( - (array) $paths, - $this->fallbackDirsPsr0 - ); - } else { - $this->fallbackDirsPsr0 = array_merge( - $this->fallbackDirsPsr0, - (array) $paths - ); - } - - return; - } - - $first = $prefix[0]; - if (!isset($this->prefixesPsr0[$first][$prefix])) { - $this->prefixesPsr0[$first][$prefix] = (array) $paths; - - return; - } - if ($prepend) { - $this->prefixesPsr0[$first][$prefix] = array_merge( - (array) $paths, - $this->prefixesPsr0[$first][$prefix] - ); - } else { - $this->prefixesPsr0[$first][$prefix] = array_merge( - $this->prefixesPsr0[$first][$prefix], - (array) $paths - ); - } - } - - /** - * Registers a set of PSR-4 directories for a given namespace, either - * appending or prepending to the ones previously set for this namespace. - * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param array|string $paths The PSR-4 base directories - * @param bool $prepend Whether to prepend the directories - * - * @throws \InvalidArgumentException - */ - public function addPsr4($prefix, $paths, $prepend = false) - { - if (!$prefix) { - // Register directories for the root namespace. - if ($prepend) { - $this->fallbackDirsPsr4 = array_merge( - (array) $paths, - $this->fallbackDirsPsr4 - ); - } else { - $this->fallbackDirsPsr4 = array_merge( - $this->fallbackDirsPsr4, - (array) $paths - ); - } - } elseif (!isset($this->prefixDirsPsr4[$prefix])) { - // Register directories for a new namespace. - $length = strlen($prefix); - if ('\\' !== $prefix[$length - 1]) { - throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); - } - $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - $this->prefixDirsPsr4[$prefix] = (array) $paths; - } elseif ($prepend) { - // Prepend directories for an already registered namespace. - $this->prefixDirsPsr4[$prefix] = array_merge( - (array) $paths, - $this->prefixDirsPsr4[$prefix] - ); - } else { - // Append directories for an already registered namespace. - $this->prefixDirsPsr4[$prefix] = array_merge( - $this->prefixDirsPsr4[$prefix], - (array) $paths - ); - } - } - - /** - * Registers a set of PSR-0 directories for a given prefix, - * replacing any others previously set for this prefix. - * - * @param string $prefix The prefix - * @param array|string $paths The PSR-0 base directories - */ - public function set($prefix, $paths) - { - if (!$prefix) { - $this->fallbackDirsPsr0 = (array) $paths; - } else { - $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; - } - } - - /** - * Registers a set of PSR-4 directories for a given namespace, - * replacing any others previously set for this namespace. - * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param array|string $paths The PSR-4 base directories - * - * @throws \InvalidArgumentException - */ - public function setPsr4($prefix, $paths) - { - if (!$prefix) { - $this->fallbackDirsPsr4 = (array) $paths; - } else { - $length = strlen($prefix); - if ('\\' !== $prefix[$length - 1]) { - throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); - } - $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - $this->prefixDirsPsr4[$prefix] = (array) $paths; - } - } - - /** - * Turns on searching the include path for class files. - * - * @param bool $useIncludePath - */ - public function setUseIncludePath($useIncludePath) - { - $this->useIncludePath = $useIncludePath; - } - - /** - * Can be used to check if the autoloader uses the include path to check - * for classes. - * - * @return bool - */ - public function getUseIncludePath() - { - return $this->useIncludePath; - } - - /** - * Turns off searching the prefix and fallback directories for classes - * that have not been registered with the class map. - * - * @param bool $classMapAuthoritative - */ - public function setClassMapAuthoritative($classMapAuthoritative) - { - $this->classMapAuthoritative = $classMapAuthoritative; - } - - /** - * Should class lookup fail if not found in the current class map? - * - * @return bool - */ - public function isClassMapAuthoritative() - { - return $this->classMapAuthoritative; - } - - /** - * APCu prefix to use to cache found/not-found classes, if the extension is enabled. - * - * @param string|null $apcuPrefix - */ - public function setApcuPrefix($apcuPrefix) - { - $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; - } - - /** - * The APCu prefix in use, or null if APCu caching is not enabled. - * - * @return string|null - */ - public function getApcuPrefix() - { - return $this->apcuPrefix; - } - - /** - * Registers this instance as an autoloader. - * - * @param bool $prepend Whether to prepend the autoloader or not - */ - public function register($prepend = false) - { - spl_autoload_register(array($this, 'loadClass'), true, $prepend); - } - - /** - * Unregisters this instance as an autoloader. - */ - public function unregister() - { - spl_autoload_unregister(array($this, 'loadClass')); - } - - /** - * Loads the given class or interface. - * - * @param string $class The name of the class - * @return bool|null True if loaded, null otherwise - */ - public function loadClass($class) - { - if ($file = $this->findFile($class)) { - includeFile($file); - - return true; - } - } - - /** - * Finds the path to the file where the class is defined. - * - * @param string $class The name of the class - * - * @return string|false The path if found, false otherwise - */ - public function findFile($class) - { - // class map lookup - if (isset($this->classMap[$class])) { - return $this->classMap[$class]; - } - if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { - return false; - } - if (null !== $this->apcuPrefix) { - $file = apcu_fetch($this->apcuPrefix.$class, $hit); - if ($hit) { - return $file; - } - } - - $file = $this->findFileWithExtension($class, '.php'); - - // Search for Hack files if we are running on HHVM - if (false === $file && defined('HHVM_VERSION')) { - $file = $this->findFileWithExtension($class, '.hh'); - } - - if (null !== $this->apcuPrefix) { - apcu_add($this->apcuPrefix.$class, $file); - } - - if (false === $file) { - // Remember that this class does not exist. - $this->missingClasses[$class] = true; - } - - return $file; - } - - private function findFileWithExtension($class, $ext) - { - // PSR-4 lookup - $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; - - $first = $class[0]; - if (isset($this->prefixLengthsPsr4[$first])) { - $subPath = $class; - while (false !== $lastPos = strrpos($subPath, '\\')) { - $subPath = substr($subPath, 0, $lastPos); - $search = $subPath . '\\'; - if (isset($this->prefixDirsPsr4[$search])) { - $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); - foreach ($this->prefixDirsPsr4[$search] as $dir) { - if (file_exists($file = $dir . $pathEnd)) { - return $file; - } - } - } - } - } - - // PSR-4 fallback dirs - foreach ($this->fallbackDirsPsr4 as $dir) { - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { - return $file; - } - } - - // PSR-0 lookup - if (false !== $pos = strrpos($class, '\\')) { - // namespaced class name - $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) - . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); - } else { - // PEAR-like class name - $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; - } - - if (isset($this->prefixesPsr0[$first])) { - foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { - if (0 === strpos($class, $prefix)) { - foreach ($dirs as $dir) { - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { - return $file; - } - } - } - } - } - - // PSR-0 fallback dirs - foreach ($this->fallbackDirsPsr0 as $dir) { - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { - return $file; - } - } - - // PSR-0 include paths. - if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { - return $file; - } - - return false; - } -} - -/** - * Scope isolated include. - * - * Prevents access to $this/self from included files. - */ -function includeFile($file) -{ - include $file; -} diff --git a/modules/blockrss/vendor/composer/LICENSE b/modules/blockrss/vendor/composer/LICENSE deleted file mode 100644 index f27399a04..000000000 --- a/modules/blockrss/vendor/composer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - -Copyright (c) Nils Adermann, Jordi Boggiano - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/modules/blockrss/vendor/composer/autoload_classmap.php b/modules/blockrss/vendor/composer/autoload_classmap.php deleted file mode 100644 index 8b46d5171..000000000 --- a/modules/blockrss/vendor/composer/autoload_classmap.php +++ /dev/null @@ -1,10 +0,0 @@ - $vendorDir . '/pear/pear_exception/PEAR/Exception.php', -); diff --git a/modules/blockrss/vendor/composer/autoload_namespaces.php b/modules/blockrss/vendor/composer/autoload_namespaces.php deleted file mode 100644 index f3dc5248f..000000000 --- a/modules/blockrss/vendor/composer/autoload_namespaces.php +++ /dev/null @@ -1,11 +0,0 @@ - array($vendorDir . '/pear/xml_feed_parser'), - 'Log' => array($vendorDir . '/pear/log'), -); diff --git a/modules/blockrss/vendor/composer/autoload_psr4.php b/modules/blockrss/vendor/composer/autoload_psr4.php deleted file mode 100644 index b265c64a2..000000000 --- a/modules/blockrss/vendor/composer/autoload_psr4.php +++ /dev/null @@ -1,9 +0,0 @@ -= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); - if ($useStaticLoader) { - require_once __DIR__ . '/autoload_static.php'; - - call_user_func(\Composer\Autoload\ComposerStaticInit573edf418ff486f71fdaa7e03e5841ca::getInitializer($loader)); - } else { - $map = require __DIR__ . '/autoload_namespaces.php'; - foreach ($map as $namespace => $path) { - $loader->set($namespace, $path); - } - - $map = require __DIR__ . '/autoload_psr4.php'; - foreach ($map as $namespace => $path) { - $loader->setPsr4($namespace, $path); - } - - $classMap = require __DIR__ . '/autoload_classmap.php'; - if ($classMap) { - $loader->addClassMap($classMap); - } - } - - $loader->register(true); - - return $loader; - } -} diff --git a/modules/blockrss/vendor/composer/autoload_static.php b/modules/blockrss/vendor/composer/autoload_static.php deleted file mode 100644 index d4f3a4a4d..000000000 --- a/modules/blockrss/vendor/composer/autoload_static.php +++ /dev/null @@ -1,38 +0,0 @@ - - array ( - 'XML' => - array ( - 0 => __DIR__ . '/..' . '/pear/xml_feed_parser', - ), - ), - 'L' => - array ( - 'Log' => - array ( - 0 => __DIR__ . '/..' . '/pear/log', - ), - ), - ); - - public static $classMap = array ( - 'PEAR_Exception' => __DIR__ . '/..' . '/pear/pear_exception/PEAR/Exception.php', - ); - - public static function getInitializer(ClassLoader $loader) - { - return \Closure::bind(function () use ($loader) { - $loader->prefixesPsr0 = ComposerStaticInit573edf418ff486f71fdaa7e03e5841ca::$prefixesPsr0; - $loader->classMap = ComposerStaticInit573edf418ff486f71fdaa7e03e5841ca::$classMap; - - }, null, ClassLoader::class); - } -} diff --git a/modules/blockrss/vendor/composer/include_paths.php b/modules/blockrss/vendor/composer/include_paths.php deleted file mode 100644 index abbc02ccf..000000000 --- a/modules/blockrss/vendor/composer/include_paths.php +++ /dev/null @@ -1,12 +0,0 @@ -5.2" - }, - "require-dev": { - "phpunit/phpunit": "*" - }, - "suggest": { - "pear/db": "Install optionally via your project's composer.json" - }, - "time": "2021-05-04T23:51:30+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Log": "./" - }, - "exclude-from-classmap": [ - "/examples/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jon Parise", - "email": "jon@php.net", - "homepage": "http://www.indelible.org", - "role": "Developer" - } - ], - "description": "PEAR Logging Framework", - "homepage": "http://pear.github.io/Log/", - "keywords": [ - "log", - "logging" - ] - }, - { - "name": "pear/pear_exception", - "version": "v1.0.2", - "version_normalized": "1.0.2.0", - "source": { - "type": "git", - "url": "https://github.com/pear/PEAR_Exception.git", - "reference": "b14fbe2ddb0b9f94f5b24cf08783d599f776fff0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/b14fbe2ddb0b9f94f5b24cf08783d599f776fff0", - "reference": "b14fbe2ddb0b9f94f5b24cf08783d599f776fff0", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "<9" - }, - "time": "2021-03-21T15:43:46+00:00", - "type": "class", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "classmap": [ - "PEAR/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "." - ], - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Helgi Thormar", - "email": "dufuz@php.net" - }, - { - "name": "Greg Beaver", - "email": "cellog@php.net" - } - ], - "description": "The PEAR Exception base class.", - "homepage": "https://github.com/pear/PEAR_Exception", - "keywords": [ - "exception" - ] - }, - { - "name": "pear/xml_feed_parser", - "version": "v1.0.5", - "version_normalized": "1.0.5.0", - "source": { - "type": "git", - "url": "https://github.com/pear/XML_Feed_Parser.git", - "reference": "d8ad454742acba786738b39cbcc7c10f7b57adbe" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pear/XML_Feed_Parser/zipball/d8ad454742acba786738b39cbcc7c10f7b57adbe", - "reference": "d8ad454742acba786738b39cbcc7c10f7b57adbe", - "shasum": "" - }, - "require": { - "pear/log": "*", - "pear/pear_exception": "*" - }, - "require-dev": { - "phpunit/phpunit": "*" - }, - "suggest": { - "ext-tidy": "May require the tidy PHP extension" - }, - "time": "2019-02-11T14:09:14+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "XML": "./" - } - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "./" - ], - "license": [ - "LGPL" - ], - "authors": [ - { - "name": "James Stewart", - "email": "james@jystewart.net", - "role": "Lead" - } - ], - "description": "More info available on: http://pear.php.net/package/XML_Feed_Parser" - } -] diff --git a/modules/blockrss/vendor/pear/log/.github/workflows/ci.yml b/modules/blockrss/vendor/pear/log/.github/workflows/ci.yml deleted file mode 100644 index 5c17cfef6..000000000 --- a/modules/blockrss/vendor/pear/log/.github/workflows/ci.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: CI - -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - php-version: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] - - steps: - - uses: actions/checkout@v2 - - name: Set up PHP ${{ matrix.php-version }} - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-version }} - extensions: sqlite - ini-values: include_path=.:/usr/share/php - - name: Run tests - run: | - pear run-tests -d tests/ diff --git a/modules/blockrss/vendor/pear/log/.gitignore b/modules/blockrss/vendor/pear/log/.gitignore deleted file mode 100644 index 1cb564d81..000000000 --- a/modules/blockrss/vendor/pear/log/.gitignore +++ /dev/null @@ -1,18 +0,0 @@ - -# / -/*.tgz - -# /docs/ -/docs/api - -# /tests/ -/tests/*.diff -/tests/*.exp -/tests/*.log -/tests/*.out -/tests/sqlite-log.db - -# composer related -composer.lock -composer.phar -vendor diff --git a/modules/blockrss/vendor/pear/log/LICENSE b/modules/blockrss/vendor/pear/log/LICENSE deleted file mode 100644 index 18847aa36..000000000 --- a/modules/blockrss/vendor/pear/log/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2001-2016 Jon Parise, Chuck Hagenbuch, and Jan Schneider. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/modules/blockrss/vendor/pear/log/Log.php b/modules/blockrss/vendor/pear/log/Log.php deleted file mode 100644 index b1c67a4da..000000000 --- a/modules/blockrss/vendor/pear/log/Log.php +++ /dev/null @@ -1,872 +0,0 @@ - - * @author Jon Parise - * @since Horde 1.3 - * @package Log - */ -class Log -{ - /** - * Indicates whether or not the log can been opened / connected. - * - * @var boolean - * @access protected - */ - var $_opened = false; - - /** - * Instance-specific unique identification number. - * - * @var integer - * @access protected - */ - var $_id = 0; - - /** - * The label that uniquely identifies this set of log messages. - * - * @var string - * @access protected - */ - var $_ident = ''; - - /** - * The default priority to use when logging an event. - * - * @var integer - * @access protected - */ - var $_priority = PEAR_LOG_INFO; - - /** - * The bitmask of allowed log levels. - * - * @var integer - * @access protected - */ - var $_mask = PEAR_LOG_ALL; - - /** - * Holds all Log_observer objects that wish to be notified of new messages. - * - * @var array - * @access protected - */ - var $_listeners = array(); - - /** - * Starting depth to use when walking a backtrace in search of the - * function that invoked the log system. - * - * @var integer - * @access protected - */ - var $_backtrace_depth = 0; - - /** - * Maps canonical format keys to position arguments for use in building - * "line format" strings. - * - * @var array - * @access protected - */ - var $_formatMap = array('%{timestamp}' => '%1$s', - '%{ident}' => '%2$s', - '%{priority}' => '%3$s', - '%{message}' => '%4$s', - '%{file}' => '%5$s', - '%{line}' => '%6$s', - '%{function}' => '%7$s', - '%{class}' => '%8$s', - '%\{' => '%%{'); - - public function __construct() - { - } - - /** - * Attempts to return a concrete Log instance of type $handler. - * - * @param string $handler The type of concrete Log subclass to return. - * Attempt to dynamically include the code for - * this subclass. Currently, valid values are - * 'console', 'syslog', 'sql', 'file', and 'mcal'. - * - * @param string $name The name of the actually log file, table, or - * other specific store to use. Defaults to an - * empty string, with which the subclass will - * attempt to do something intelligent. - * - * @param string $ident The identity reported to the log system. - * - * @param array $conf A hash containing any additional configuration - * information that a subclass might need. - * - * @param int $level Log messages up to and including this level. - * - * @return object Log The newly created concrete Log instance, or - * null on an error. - * @access public - * @since Log 1.0 - */ - public static function factory($handler, $name = '', $ident = '', - $conf = array(), $level = PEAR_LOG_DEBUG) - { - $handler = strtolower($handler); - $class = 'Log_' . $handler; - $classfile = 'Log/' . $handler . '.php'; - - /* - * Attempt to include our version of the named class, but don't treat - * a failure as fatal. The caller may have already included their own - * version of the named class. - */ - if (!class_exists($class, false)) { - include_once $classfile; - } - - /* If the class exists, return a new instance of it. */ - if (class_exists($class, false)) { - $obj = new $class($name, $ident, $conf, $level); - return $obj; - } - - $null = null; - return $null; - } - - /** - * Attempts to return a reference to a concrete Log instance of type - * $handler, only creating a new instance if no log instance with the same - * parameters currently exists. - * - * You should use this if there are multiple places you might create a - * logger, you don't want to create multiple loggers, and you don't want to - * check for the existance of one each time. The singleton pattern does all - * the checking work for you. - * - * You MUST call this method with the $var = &Log::singleton() syntax. - * Without the ampersand (&) in front of the method name, you will not get - * a reference, you will get a copy. - * - * @param string $handler The type of concrete Log subclass to return. - * Attempt to dynamically include the code for - * this subclass. Currently, valid values are - * 'console', 'syslog', 'sql', 'file', and 'mcal'. - * - * @param string $name The name of the actually log file, table, or - * other specific store to use. Defaults to an - * empty string, with which the subclass will - * attempt to do something intelligent. - * - * @param string $ident The identity reported to the log system. - * - * @param array $conf A hash containing any additional configuration - * information that a subclass might need. - * - * @param int $level Log messages up to and including this level. - * - * @return object Log The newly created concrete Log instance, or - * null on an error. - * @access public - * @since Log 1.0 - */ - public static function singleton($handler, $name = '', $ident = '', - $conf = array(), $level = PEAR_LOG_DEBUG) - { - static $instances; - if (!isset($instances)) $instances = array(); - - $signature = serialize(array($handler, $name, $ident, $conf, $level)); - if (!isset($instances[$signature])) { - $instances[$signature] = Log::factory($handler, $name, $ident, - $conf, $level); - } - - return $instances[$signature]; - } - - /** - * Abstract implementation of the open() method. - * @since Log 1.0 - */ - function open() - { - return false; - } - - /** - * Abstract implementation of the close() method. - * @since Log 1.0 - */ - function close() - { - return false; - } - - /** - * Abstract implementation of the flush() method. - * @since Log 1.8.2 - */ - function flush() - { - return false; - } - - /** - * Abstract implementation of the log() method. - * @since Log 1.0 - */ - function log($message, $priority = null) - { - return false; - } - - /** - * A convenience function for logging a emergency event. It will log a - * message at the PEAR_LOG_EMERG log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function emerg($message) - { - return $this->log($message, PEAR_LOG_EMERG); - } - - /** - * A convenience function for logging an alert event. It will log a - * message at the PEAR_LOG_ALERT log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function alert($message) - { - return $this->log($message, PEAR_LOG_ALERT); - } - - /** - * A convenience function for logging a critical event. It will log a - * message at the PEAR_LOG_CRIT log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function crit($message) - { - return $this->log($message, PEAR_LOG_CRIT); - } - - /** - * A convenience function for logging a error event. It will log a - * message at the PEAR_LOG_ERR log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function err($message) - { - return $this->log($message, PEAR_LOG_ERR); - } - - /** - * A convenience function for logging a warning event. It will log a - * message at the PEAR_LOG_WARNING log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function warning($message) - { - return $this->log($message, PEAR_LOG_WARNING); - } - - /** - * A convenience function for logging a notice event. It will log a - * message at the PEAR_LOG_NOTICE log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function notice($message) - { - return $this->log($message, PEAR_LOG_NOTICE); - } - - /** - * A convenience function for logging a information event. It will log a - * message at the PEAR_LOG_INFO log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function info($message) - { - return $this->log($message, PEAR_LOG_INFO); - } - - /** - * A convenience function for logging a debug event. It will log a - * message at the PEAR_LOG_DEBUG log level. - * - * @param mixed $message String or object containing the message - * to log. - * - * @return boolean True if the message was successfully logged. - * - * @access public - * @since Log 1.7.0 - */ - function debug($message) - { - return $this->log($message, PEAR_LOG_DEBUG); - } - - /** - * Returns the string representation of the message data. - * - * If $message is an object, _extractMessage() will attempt to extract - * the message text using a known method (such as a PEAR_Error object's - * getMessage() method). If a known method, cannot be found, the - * serialized representation of the object will be returned. - * - * If the message data is already a string, it will be returned unchanged. - * - * @param mixed $message The original message data. This may be a - * string or any object. - * - * @return string The string representation of the message. - * - * @access protected - */ - function _extractMessage($message) - { - /* - * If we've been given an object, attempt to extract the message using - * a known method. If we can't find such a method, default to the - * "human-readable" version of the object. - * - * We also use the human-readable format for arrays. - */ - if (is_object($message)) { - if (method_exists($message, 'getmessage')) { - $message = $message->getMessage(); - } else if (method_exists($message, 'tostring')) { - $message = $message->toString(); - } else if (method_exists($message, '__tostring')) { - $message = (string)$message; - } else { - $message = var_export($message, true); - } - } else if (is_array($message)) { - if (isset($message['message'])) { - if (is_scalar($message['message'])) { - $message = $message['message']; - } else { - $message = var_export($message['message'], true); - } - } else { - $message = var_export($message, true); - } - } else if (is_bool($message) || $message === NULL) { - $message = var_export($message, true); - } - - /* Otherwise, we assume the message is a string. */ - return $message; - } - - /** - * Using debug_backtrace(), returns the file, line, and enclosing function - * name of the source code context from which log() was invoked. - * - * @param int $depth The initial number of frames we should step - * back into the trace. - * - * @return array Array containing four strings: the filename, the line, - * the function name, and the class name from which log() - * was called. - * - * @access private - * @since Log 1.9.4 - */ - function _getBacktraceVars($depth) - { - /* Start by generating a backtrace from the current call (here). */ - $bt = debug_backtrace(); - - /* Store some handy shortcuts to our previous frames. */ - $bt0 = isset($bt[$depth]) ? $bt[$depth] : null; - $bt1 = isset($bt[$depth + 1]) ? $bt[$depth + 1] : null; - - /* - * If we were ultimately invoked by the composite handler, we need to - * increase our depth one additional level to compensate. - */ - $class = isset($bt1['class']) ? $bt1['class'] : null; - if ($class !== null && strcasecmp($class, 'Log_composite') == 0) { - $depth++; - $bt0 = isset($bt[$depth]) ? $bt[$depth] : null; - $bt1 = isset($bt[$depth + 1]) ? $bt[$depth + 1] : null; - $class = isset($bt1['class']) ? $bt1['class'] : null; - } - - /* - * We're interested in the frame which invoked the log() function, so - * we need to walk back some number of frames into the backtrace. The - * $depth parameter tells us where to start looking. We go one step - * further back to find the name of the encapsulating function from - * which log() was called. - */ - $file = isset($bt0) ? $bt0['file'] : null; - $line = isset($bt0) ? $bt0['line'] : 0; - $func = isset($bt1) ? $bt1['function'] : null; - - /* - * However, if log() was called from one of our "shortcut" functions, - * we're going to need to go back an additional step. - */ - if (in_array($func, array('emerg', 'alert', 'crit', 'err', 'warning', - 'notice', 'info', 'debug'))) { - $bt2 = isset($bt[$depth + 2]) ? $bt[$depth + 2] : null; - - $file = is_array($bt1) ? $bt1['file'] : null; - $line = is_array($bt1) ? $bt1['line'] : 0; - $func = is_array($bt2) ? $bt2['function'] : null; - $class = isset($bt2['class']) ? $bt2['class'] : null; - } - - /* - * If we couldn't extract a function name (perhaps because we were - * executed from the "main" context), provide a default value. - */ - if ($func === null) { - $func = '(none)'; - } - - /* Return a 4-tuple containing (file, line, function, class). */ - return array($file, $line, $func, $class); - } - - /** - * Sets the starting depth to use when walking a backtrace in search of - * the function that invoked the log system. This is used on conjunction - * with the 'file', 'line', 'function', and 'class' formatters. - * - * @param int $depth The new backtrace depth. - * - * @access public - * @since Log 1.12.7 - */ - public function setBacktraceDepth($depth) - { - $this->_backtrace_depth = $depth; - } - - /** - * Produces a formatted log line based on a format string and a set of - * variables representing the current log record and state. - * - * @return string Formatted log string. - * - * @access protected - * @since Log 1.9.4 - */ - function _format($format, $timestamp, $priority, $message) - { - /* - * If the format string references any of the backtrace-driven - * variables (%5 %6,%7,%8), generate the backtrace and fetch them. - */ - if (preg_match('/%[5678]/', $format)) { - /* Plus 2 to account for our internal function calls. */ - $d = $this->_backtrace_depth + 2; - list($file, $line, $func, $class) = $this->_getBacktraceVars($d); - } - - /* - * Build the formatted string. We use the sprintf() function's - * "argument swapping" capability to dynamically select and position - * the variables which will ultimately appear in the log string. - */ - return sprintf($format, - $timestamp, - $this->_ident, - $this->priorityToString($priority), - $message, - isset($file) ? $file : '', - isset($line) ? $line : '', - isset($func) ? $func : '', - isset($class) ? $class : ''); - } - - /** - * Returns the string representation of a PEAR_LOG_* integer constant. - * - * @param int $priority A PEAR_LOG_* integer constant. - * - * @return string The string representation of $level. - * - * @access public - * @since Log 1.0 - */ - function priorityToString($priority) - { - $levels = array( - PEAR_LOG_EMERG => 'emergency', - PEAR_LOG_ALERT => 'alert', - PEAR_LOG_CRIT => 'critical', - PEAR_LOG_ERR => 'error', - PEAR_LOG_WARNING => 'warning', - PEAR_LOG_NOTICE => 'notice', - PEAR_LOG_INFO => 'info', - PEAR_LOG_DEBUG => 'debug' - ); - - return $levels[$priority]; - } - - /** - * Returns the the PEAR_LOG_* integer constant for the given string - * representation of a priority name. This function performs a - * case-insensitive search. - * - * @param string $name String containing a priority name. - * - * @return string The PEAR_LOG_* integer contstant corresponding - * the the specified priority name. - * - * @access public - * @since Log 1.9.0 - */ - function stringToPriority($name) - { - $levels = array( - 'emergency' => PEAR_LOG_EMERG, - 'alert' => PEAR_LOG_ALERT, - 'critical' => PEAR_LOG_CRIT, - 'error' => PEAR_LOG_ERR, - 'warning' => PEAR_LOG_WARNING, - 'notice' => PEAR_LOG_NOTICE, - 'info' => PEAR_LOG_INFO, - 'debug' => PEAR_LOG_DEBUG - ); - - return $levels[strtolower($name)]; - } - - /** - * Calculate the log mask for the given priority. - * - * This method may be called statically. - * - * @param integer $priority The priority whose mask will be calculated. - * - * @return integer The calculated log mask. - * - * @access public - * @since Log 1.7.0 - */ - public static function MASK($priority) - { - return (1 << $priority); - } - - /** - * Calculate the log mask for all priorities up to the given priority. - * - * This method may be called statically. - * - * @param integer $priority The maximum priority covered by this mask. - * - * @return integer The resulting log mask. - * - * @access public - * @since Log 1.7.0 - * - * @deprecated deprecated since Log 1.9.4; use Log::MAX() instead - */ - public static function UPTO($priority) - { - return Log::MAX($priority); - } - - /** - * Calculate the log mask for all priorities greater than or equal to the - * given priority. In other words, $priority will be the lowest priority - * matched by the resulting mask. - * - * This method may be called statically. - * - * @param integer $priority The minimum priority covered by this mask. - * - * @return integer The resulting log mask. - * - * @access public - * @since Log 1.9.4 - */ - public static function MIN($priority) - { - return PEAR_LOG_ALL ^ ((1 << $priority) - 1); - } - - /** - * Calculate the log mask for all priorities less than or equal to the - * given priority. In other words, $priority will be the highests priority - * matched by the resulting mask. - * - * This method may be called statically. - * - * @param integer $priority The maximum priority covered by this mask. - * - * @return integer The resulting log mask. - * - * @access public - * @since Log 1.9.4 - */ - public static function MAX($priority) - { - return ((1 << ($priority + 1)) - 1); - } - - /** - * Set and return the level mask for the current Log instance. - * - * @param integer $mask A bitwise mask of log levels. - * - * @return integer The current level mask. - * - * @access public - * @since Log 1.7.0 - */ - function setMask($mask) - { - $this->_mask = $mask; - - return $this->_mask; - } - - /** - * Returns the current level mask. - * - * @return integer The current level mask. - * - * @access public - * @since Log 1.7.0 - */ - function getMask() - { - return $this->_mask; - } - - /** - * Check if the given priority is included in the current level mask. - * - * @param integer $priority The priority to check. - * - * @return boolean True if the given priority is included in the current - * log mask. - * - * @access protected - * @since Log 1.7.0 - */ - function _isMasked($priority) - { - return (Log::MASK($priority) & $this->_mask); - } - - /** - * Returns the current default priority. - * - * @return integer The current default priority. - * - * @access public - * @since Log 1.8.4 - */ - function getPriority() - { - return $this->_priority; - } - - /** - * Sets the default priority to the specified value. - * - * @param integer $priority The new default priority. - * - * @access public - * @since Log 1.8.4 - */ - function setPriority($priority) - { - $this->_priority = $priority; - } - - /** - * Adds a Log_observer instance to the list of observers that are listening - * for messages emitted by this Log instance. - * - * @param object $observer The Log_observer instance to attach as a - * listener. - * - * @return boolean True if the observer is successfully attached. - * - * @access public - * @since Log 1.0 - */ - function attach(&$observer) - { - if (!is_a($observer, 'Log_observer')) { - return false; - } - - $this->_listeners[$observer->_id] = &$observer; - - return true; - } - - /** - * Removes a Log_observer instance from the list of observers. - * - * @param object $observer The Log_observer instance to detach from - * the list of listeners. - * - * @return boolean True if the observer is successfully detached. - * - * @access public - * @since Log 1.0 - */ - function detach($observer) - { - if (!is_a($observer, 'Log_observer') || - !isset($this->_listeners[$observer->_id])) { - return false; - } - - unset($this->_listeners[$observer->_id]); - - return true; - } - - /** - * Informs each registered observer instance that a new message has been - * logged. - * - * @param array $event A hash describing the log event. - * - * @access protected - */ - function _announce($event) - { - foreach ($this->_listeners as $id => $listener) { - if ($event['priority'] <= $this->_listeners[$id]->_priority) { - $this->_listeners[$id]->notify($event); - } - } - } - - /** - * Indicates whether this is a composite class. - * - * @return boolean True if this is a composite class. - * - * @access public - * @since Log 1.0 - */ - function isComposite() - { - return false; - } - - /** - * Sets this Log instance's identification string. - * - * @param string $ident The new identification string. - * - * @access public - * @since Log 1.6.3 - */ - function setIdent($ident) - { - $this->_ident = $ident; - } - - /** - * Returns the current identification string. - * - * @return string The current Log instance's identification string. - * - * @access public - * @since Log 1.6.3 - */ - function getIdent() - { - return $this->_ident; - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/composite.php b/modules/blockrss/vendor/pear/log/Log/composite.php deleted file mode 100644 index 41fcd943a..000000000 --- a/modules/blockrss/vendor/pear/log/Log/composite.php +++ /dev/null @@ -1,274 +0,0 @@ - - * @author Jon Parise - * - * @since Horde 1.3 - * @since Log 1.0 - * @package Log - * - * @example composite.php Using the composite handler. - */ -class Log_composite extends Log -{ - /** - * Array holding all of the Log instances to which log events should be - * sent. - * - * @var array - * @access private - */ - var $_children = array(); - - - /** - * Constructs a new composite Log object. - * - * @param string $name This parameter is ignored. - * @param string $ident This parameter is ignored. - * @param array $conf This parameter is ignored. - * @param int $level This parameter is ignored. - * - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_ident = $ident; - } - - /** - * Opens all of the child instances. - * - * @return True if all of the child instances were successfully opened. - * - * @access public - */ - function open() - { - /* Attempt to open each of our children. */ - $this->_opened = true; - foreach ($this->_children as $child) { - $this->_opened &= $child->open(); - } - - /* If all children were opened, return success. */ - return $this->_opened; - } - - /** - * Closes all open child instances. - * - * @return True if all of the opened child instances were successfully - * closed. - * - * @access public - */ - function close() - { - /* If we haven't been opened, there's nothing more to do. */ - if (!$this->_opened) { - return true; - } - - /* Attempt to close each of our children. */ - $closed = true; - foreach ($this->_children as $child) { - if ($child->_opened) { - $closed &= $child->close(); - } - } - - /* Clear the opened state for consistency. */ - $this->_opened = false; - - /* If all children were closed, return success. */ - return $closed; - } - - /** - * Flushes all child instances. It is assumed that all of the children - * have been successfully opened. - * - * @return True if all of the child instances were successfully flushed. - * - * @access public - * @since Log 1.8.2 - */ - function flush() - { - /* Attempt to flush each of our children. */ - $flushed = true; - foreach ($this->_children as $child) { - $flushed &= $child->flush(); - } - - /* If all children were flushed, return success. */ - return $flushed; - } - - /** - * Sends $message and $priority to each child of this composite. If the - * appropriate children aren't already open, they will be opened here. - * - * @param mixed $message String or object containing the message - * to log. - * @param string $priority (optional) The priority of the message. - * Valid values are: PEAR_LOG_EMERG, - * PEAR_LOG_ALERT, PEAR_LOG_CRIT, - * PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and - * PEAR_LOG_DEBUG. - * - * @return boolean True if the entry is successfully logged. - * - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* - * Abort early if the priority is above the composite handler's - * maximum logging level. - * - * XXX: Consider whether or not introducing this change would break - * backwards compatibility. Some users may be expecting composite - * handlers to pass on all events to their children regardless of - * their own priority. - */ - #if (!$this->_isMasked($priority)) { - # return false; - #} - - /* - * Iterate over all of our children. If a unopened child will respond - * to this log event, we attempt to open it immediately. The composite - * handler's opened state will be enabled as soon as the first child - * handler is successfully opened. - * - * We track an overall success state that indicates whether or not all - * of the relevant child handlers were opened and successfully logged - * the event. If one handler fails, we still attempt any remaining - * children, but we consider the overall result a failure. - */ - $success = true; - foreach ($this->_children as $child) { - /* If this child won't respond to this event, skip it. */ - if (!$child->_isMasked($priority)) { - continue; - } - - /* If this child has yet to be opened, attempt to do so now. */ - if (!$child->_opened) { - $success &= $child->open(); - - /* - * If we've successfully opened our first handler, the - * composite handler itself is considered to be opened. - */ - if (!$this->_opened && $success) { - $this->_opened = true; - } - } - - /* Finally, attempt to log the message to the child handler. */ - if ($child->_opened) { - $success &= $child->log($message, $priority); - } - } - - /* Notify the observers. */ - $this->_announce(array('priority' => $priority, 'message' => $message)); - - /* Return success if all of the open children logged the event. */ - return $success; - } - - /** - * Returns true if this is a composite. - * - * @return boolean True if this is a composite class. - * - * @access public - */ - function isComposite() - { - return true; - } - - /** - * Sets this identification string for all of this composite's children. - * - * @param string $ident The new identification string. - * - * @access public - * @since Log 1.6.7 - */ - function setIdent($ident) - { - /* Call our base class's setIdent() method. */ - parent::setIdent($ident); - - /* ... and then call setIdent() on all of our children. */ - foreach ($this->_children as $child) { - $child->setIdent($ident); - } - } - - /** - * Adds a Log instance to the list of children. - * - * @param object $child The Log instance to add. - * - * @return boolean True if the Log instance was successfully added. - * - * @access public - */ - function addChild(&$child) - { - /* Make sure this is a Log instance. */ - if (!is_a($child, 'Log')) { - return false; - } - - $this->_children[$child->_id] = $child; - - return true; - } - - /** - * Removes a Log instance from the list of children. - * - * @param object $child The Log instance to remove. - * - * @return boolean True if the Log instance was successfully removed. - * - * @access public - */ - function removeChild($child) - { - if (!is_a($child, 'Log') || !isset($this->_children[$child->_id])) { - return false; - } - - unset($this->_children[$child->_id]); - - return true; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/console.php b/modules/blockrss/vendor/pear/log/Log/console.php deleted file mode 100644 index 4b5ec85b4..000000000 --- a/modules/blockrss/vendor/pear/log/Log/console.php +++ /dev/null @@ -1,222 +0,0 @@ - - * @since Log 1.1 - * @package Log - * - * @example console.php Using the console handler. - */ -class Log_console extends Log -{ - /** - * Handle to the current output stream. - * @var resource - * @access private - */ - var $_stream = null; - - /** - * Is this object responsible for closing the stream resource? - * @var bool - * @access private - */ - var $_closeResource = false; - - /** - * Should the output be buffered or displayed immediately? - * @var string - * @access private - */ - var $_buffering = false; - - /** - * String holding the buffered output. - * @var string - * @access private - */ - var $_buffer = ''; - - /** - * String containing the format of a log line. - * @var string - * @access private - */ - var $_lineFormat = '%1$s %2$s [%3$s] %4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * Constructs a new Log_console object. - * - * @param string $name Ignored. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (!empty($conf['stream'])) { - $this->_stream = $conf['stream']; - } elseif (defined('STDOUT')) { - $this->_stream = STDOUT; - } else { - $this->_stream = fopen('php://output', 'a'); - $this->_closeResource = true; - } - - if (isset($conf['buffering'])) { - $this->_buffering = $conf['buffering']; - } - - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - - /* - * If output buffering has been requested, we need to register a - * shutdown function that will dump the buffer upon termination. - */ - if ($this->_buffering) { - register_shutdown_function(array(&$this, '_Log_console')); - } - } - - /** - * Destructor - */ - function _Log_console() - { - $this->close(); - } - - /** - * Open the output stream. - * - * @access public - * @since Log 1.9.7 - */ - function open() - { - $this->_opened = true; - return true; - } - - /** - * Closes the output stream. - * - * This results in a call to flush(). - * - * @access public - * @since Log 1.9.0 - */ - function close() - { - $this->flush(); - $this->_opened = false; - if ($this->_closeResource === true && is_resource($this->_stream)) { - fclose($this->_stream); - } - return true; - } - - /** - * Flushes all pending ("buffered") data to the output stream. - * - * @access public - * @since Log 1.8.2 - */ - function flush() - { - /* - * If output buffering is enabled, dump the contents of the buffer to - * the output stream. - */ - if ($this->_buffering && (strlen($this->_buffer) > 0)) { - fwrite($this->_stream, $this->_buffer); - $this->_buffer = ''; - } - - if (is_resource($this->_stream)) { - return fflush($this->_stream); - } - - return false; - } - - /** - * Writes $message to the text console. Also, passes the message - * along to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Build the string containing the complete log line. */ - $line = $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, $message) . "\n"; - - /* - * If buffering is enabled, append this line to the output buffer. - * Otherwise, print the line to the output stream immediately. - */ - if ($this->_buffering) { - $this->_buffer .= $line; - } else { - fwrite($this->_stream, $line); - } - - /* Notify observers about this log message. */ - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/daemon.php b/modules/blockrss/vendor/pear/log/Log/daemon.php deleted file mode 100644 index 6a24d2bf8..000000000 --- a/modules/blockrss/vendor/pear/log/Log/daemon.php +++ /dev/null @@ -1,234 +0,0 @@ - - * @version $Revision$ - * @package Log - */ -class Log_daemon extends Log -{ - /** - * Integer holding the log facility to use. - * @var string - */ - var $_name = LOG_DAEMON; - - /** - * Var holding the resource pointer to the socket - * @var resource - */ - var $_socket; - - /** - * The ip address or servername - * @see http://www.php.net/manual/en/transports.php - * @var string - */ - var $_ip = '127.0.0.1'; - - /** - * Protocol to use (tcp, udp, etc.) - * @see http://www.php.net/manual/en/transports.php - * @var string - */ - var $_proto = 'udp'; - - /** - * Port to connect to - * @var int - */ - var $_port = 514; - - /** - * Maximum message length in bytes - * @var int - */ - var $_maxsize = 4096; - - /** - * Socket timeout in seconds - * @var int - */ - var $_timeout = 1; - - /** - * Constructs a new syslog object. - * - * @param string $name The syslog facility. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Maximum level at which to log. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - /* Ensure we have a valid integer value for $name. */ - if (empty($name) || !is_int($name)) { - $name = LOG_SYSLOG; - } - - $this->_id = md5(microtime().rand()); - $this->_name = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (isset($conf['ip'])) { - $this->_ip = $conf['ip']; - } - if (isset($conf['proto'])) { - $this->_proto = $conf['proto']; - } - if (isset($conf['port'])) { - $this->_port = $conf['port']; - } - if (isset($conf['maxsize'])) { - $this->_maxsize = $conf['maxsize']; - } - if (isset($conf['timeout'])) { - $this->_timeout = $conf['timeout']; - } - $this->_proto = $this->_proto . '://'; - - register_shutdown_function(array(&$this, '_Log_daemon')); - } - - /** - * Destructor. - * - * @access private - */ - function _Log_daemon() - { - $this->close(); - } - - /** - * Opens a connection to the system logger, if it has not already - * been opened. This is implicitly called by log(), if necessary. - * @access public - */ - function open() - { - if (!$this->_opened) { - $this->_opened = (bool)($this->_socket = @fsockopen( - $this->_proto . $this->_ip, - $this->_port, - $errno, - $errstr, - $this->_timeout)); - } - return $this->_opened; - } - - /** - * Closes the connection to the system logger, if it is open. - * @access public - */ - function close() - { - if ($this->_opened) { - $this->_opened = false; - return fclose($this->_socket); - } - return true; - } - - /** - * Sends $message to the currently open syslog connection. Calls - * open() if necessary. Also passes the message along to any Log_observer - * instances that are observing this Log. - * - * @param string $message The textual message to be logged. - * @param int $priority (optional) The priority of the message. Valid - * values are: LOG_EMERG, LOG_ALERT, LOG_CRIT, - * LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO, - * and LOG_DEBUG. The default is LOG_INFO. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the connection isn't open and can't be opened, return failure. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Set the facility level. */ - $facility_level = intval($this->_name) + - intval($this->_toSyslog($priority)); - - /* Prepend ident info. */ - if (!empty($this->_ident)) { - $message = $this->_ident . ' ' . $message; - } - - /* Check for message length. */ - if (strlen($message) > $this->_maxsize) { - $message = substr($message, 0, ($this->_maxsize) - 10) . ' [...]'; - } - - /* Write to socket. */ - fwrite($this->_socket, '<' . $facility_level . '>' . $message . "\n"); - - $this->_announce(array('priority' => $priority, 'message' => $message)); - } - - /** - * Converts a PEAR_LOG_* constant into a syslog LOG_* constant. - * - * This function exists because, under Windows, not all of the LOG_* - * constants have unique values. Instead, the PEAR_LOG_* were introduced - * for global use, with the conversion to the LOG_* constants kept local to - * to the syslog driver. - * - * @param int $priority PEAR_LOG_* value to convert to LOG_* value. - * - * @return The LOG_* representation of $priority. - * - * @access private - */ - function _toSyslog($priority) - { - static $priorities = array( - PEAR_LOG_EMERG => LOG_EMERG, - PEAR_LOG_ALERT => LOG_ALERT, - PEAR_LOG_CRIT => LOG_CRIT, - PEAR_LOG_ERR => LOG_ERR, - PEAR_LOG_WARNING => LOG_WARNING, - PEAR_LOG_NOTICE => LOG_NOTICE, - PEAR_LOG_INFO => LOG_INFO, - PEAR_LOG_DEBUG => LOG_DEBUG - ); - - /* If we're passed an unknown priority, default to LOG_INFO. */ - if (!is_int($priority) || !in_array($priority, $priorities)) { - return LOG_INFO; - } - - return $priorities[$priority]; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/display.php b/modules/blockrss/vendor/pear/log/Log/display.php deleted file mode 100644 index 9711221ec..000000000 --- a/modules/blockrss/vendor/pear/log/Log/display.php +++ /dev/null @@ -1,181 +0,0 @@ - - * @since Log 1.8.0 - * @package Log - * - * @example display.php Using the display handler. - */ -class Log_display extends Log -{ - /** - * String containing the format of a log line. - * @var string - * @access private - */ - var $_lineFormat = '%3$s: %4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * Flag indicating whether raw message text should be passed directly to - * the log system. Otherwise, the text will be converted to an HTML-safe - * representation. - * @var boolean - * @access private - */ - var $_rawText = false; - - /** - * Constructs a new Log_display object. - * - * @param string $name Ignored. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name = '', $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - /* Start by configuring the line format. */ - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - - /* We may need to prepend a string to our line format. */ - $prepend = null; - if (isset($conf['error_prepend'])) { - $prepend = $conf['error_prepend']; - } else { - $prepend = ini_get('error_prepend_string'); - } - if (!empty($prepend)) { - $this->_lineFormat = $prepend . $this->_lineFormat; - } - - /* We may also need to append a string to our line format. */ - $append = null; - if (isset($conf['error_append'])) { - $append = $conf['error_append']; - } else { - $append = ini_get('error_append_string'); - } - if (!empty($append)) { - $this->_lineFormat .= $append; - } - - /* Lastly, the line ending sequence is also configurable. */ - if (isset($conf['linebreak'])) { - $this->_lineFormat .= $conf['linebreak']; - } else { - $this->_lineFormat .= "
    \n"; - } - - /* The user can also change the time format. */ - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - - /* Message text conversion can be disabled. */ - if (isset($conf['rawText'])) { - $this->_rawText = $conf['rawText']; - } - } - - /** - * Opens the display handler. - * - * @access public - * @since Log 1.9.6 - */ - function open() - { - $this->_opened = true; - return true; - } - - /** - * Closes the display handler. - * - * @access public - * @since Log 1.9.6 - */ - function close() - { - $this->_opened = false; - return true; - } - - /** - * Writes $message to the text browser. Also, passes the message - * along to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Convert the message to an HTML-friendly represention unless raw - * text has been requested. */ - if ($this->_rawText === false) { - $message = nl2br(htmlspecialchars($message)); - } - - /* Build and output the complete log line. */ - echo $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, - $message); - - /* Notify observers about this log message. */ - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/error_log.php b/modules/blockrss/vendor/pear/log/Log/error_log.php deleted file mode 100644 index 602d7cd3c..000000000 --- a/modules/blockrss/vendor/pear/log/Log/error_log.php +++ /dev/null @@ -1,160 +0,0 @@ - - * @since Log 1.7.0 - * @package Log - * - * @example error_log.php Using the error_log handler. - */ -class Log_error_log extends Log -{ - /** - * The error_log() log type. - * @var integer - * @access private - */ - var $_type = PEAR_LOG_TYPE_SYSTEM; - - /** - * The type-specific destination value. - * @var string - * @access private - */ - var $_destination = ''; - - /** - * Additional headers to pass to the mail() function when the - * PEAR_LOG_TYPE_MAIL type is used. - * @var string - * @access private - */ - var $_extra_headers = ''; - - /** - * String containing the format of a log line. - * @var string - * @access private - */ - var $_lineFormat = '%2$s: %4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * Constructs a new Log_error_log object. - * - * @param string $name One of the PEAR_LOG_TYPE_* constants. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_type = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (!empty($conf['destination'])) { - $this->_destination = $conf['destination']; - } - - if (!empty($conf['extra_headers'])) { - $this->_extra_headers = $conf['extra_headers']; - } - - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - } - - /** - * Opens the handler. - * - * @access public - * @since Log 1.9.6 - */ - function open() - { - $this->_opened = true; - return true; - } - - /** - * Closes the handler. - * - * @access public - * @since Log 1.9.6 - */ - function close() - { - $this->_opened = false; - return true; - } - - /** - * Logs $message using PHP's error_log() function. The message is also - * passed along to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Build the string containing the complete log line. */ - $line = $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, $message); - - /* Pass the log line and parameters to the error_log() function. */ - $success = error_log($line, $this->_type, $this->_destination, - $this->_extra_headers); - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return $success; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/file.php b/modules/blockrss/vendor/pear/log/Log/file.php deleted file mode 100644 index 3cd5fec45..000000000 --- a/modules/blockrss/vendor/pear/log/Log/file.php +++ /dev/null @@ -1,316 +0,0 @@ - - * @author Roman Neuhauser - * @since Log 1.0 - * @package Log - * - * @example file.php Using the file handler. - */ -class Log_file extends Log -{ - /** - * String containing the name of the log file. - * @var string - * @access private - */ - var $_filename = 'php.log'; - - /** - * Handle to the log file. - * @var resource - * @access private - */ - var $_fp = false; - - /** - * Should new log entries be append to an existing log file, or should the - * a new log file overwrite an existing one? - * @var boolean - * @access private - */ - var $_append = true; - - /** - * Should advisory file locking (i.e., flock()) be used? - * @var boolean - * @access private - */ - var $_locking = false; - - /** - * Integer (in octal) containing the log file's permissions mode. - * @var integer - * @access private - */ - var $_mode = 0644; - - /** - * Integer (in octal) specifying the file permission mode that will be - * used when creating directories that do not already exist. - * @var integer - * @access private - */ - var $_dirmode = 0755; - - /** - * String containing the format of a log line. - * @var string - * @access private - */ - var $_lineFormat = '%1$s %2$s [%3$s] %4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * String containing the end-on-line character sequence. - * @var string - * @access private - */ - var $_eol = "\n"; - - /** - * Constructs a new Log_file object. - * - * @param string $name Ignored. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_filename = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (isset($conf['append'])) { - $this->_append = $conf['append']; - } - - if (isset($conf['locking'])) { - $this->_locking = $conf['locking']; - } - - if (!empty($conf['mode'])) { - if (is_string($conf['mode'])) { - $this->_mode = octdec($conf['mode']); - } else { - $this->_mode = $conf['mode']; - } - } - - if (!empty($conf['dirmode'])) { - if (is_string($conf['dirmode'])) { - $this->_dirmode = octdec($conf['dirmode']); - } else { - $this->_dirmode = $conf['dirmode']; - } - } - - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - - if (!empty($conf['eol'])) { - $this->_eol = $conf['eol']; - } else { - $this->_eol = (strstr(PHP_OS, 'WIN')) ? "\r\n" : "\n"; - } - - register_shutdown_function(array(&$this, '_Log_file')); - } - - /** - * Destructor - */ - function _Log_file() - { - if ($this->_opened) { - $this->close(); - } - } - - /** - * Creates the given directory path. If the parent directories don't - * already exist, they will be created, too. - * - * This implementation is inspired by Python's os.makedirs function. - * - * @param string $path The full directory path to create. - * @param integer $mode The permissions mode with which the - * directories will be created. - * - * @return True if the full path is successfully created or already - * exists. - * - * @access private - */ - function _mkpath($path, $mode = 0700) - { - /* Separate the last pathname component from the rest of the path. */ - $head = dirname($path); - $tail = basename($path); - - /* Make sure we've split the path into two complete components. */ - if (empty($tail)) { - $head = dirname($path); - $tail = basename($path); - } - - /* Recurse up the path if our current segment does not exist. */ - if (!empty($head) && !empty($tail) && !is_dir($head)) { - $this->_mkpath($head, $mode); - } - - /* Create this segment of the path. */ - return @mkdir($head, $mode); - } - - /** - * Opens the log file for output. If the specified log file does not - * already exist, it will be created. By default, new log entries are - * appended to the end of the log file. - * - * This is implicitly called by log(), if necessary. - * - * @access public - */ - function open() - { - if (!$this->_opened) { - /* If the log file's directory doesn't exist, create it. */ - if (!is_dir(dirname($this->_filename))) { - $this->_mkpath($this->_filename, $this->_dirmode); - } - - /* Determine whether the log file needs to be created. */ - $creating = !file_exists($this->_filename); - - /* Obtain a handle to the log file. */ - $this->_fp = fopen($this->_filename, ($this->_append) ? 'a' : 'w'); - - /* We consider the file "opened" if we have a valid file pointer. */ - $this->_opened = ($this->_fp !== false); - - /* Attempt to set the file's permissions if we just created it. */ - if ($creating && $this->_opened) { - chmod($this->_filename, $this->_mode); - } - } - - return $this->_opened; - } - - /** - * Closes the log file if it is open. - * - * @access public - */ - function close() - { - /* If the log file is open, close it. */ - if ($this->_opened && fclose($this->_fp)) { - $this->_opened = false; - } - - return ($this->_opened === false); - } - - /** - * Flushes all pending data to the file handle. - * - * @access public - * @since Log 1.8.2 - */ - function flush() - { - if (is_resource($this->_fp)) { - return fflush($this->_fp); - } - - return false; - } - - /** - * Logs $message to the output window. The message is also passed along - * to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the log file isn't already open, open it now. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Build the string containing the complete log line. */ - $line = $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, $message) . $this->_eol; - - /* If locking is enabled, acquire an exclusive lock on the file. */ - if ($this->_locking) { - flock($this->_fp, LOCK_EX); - } - - /* Write the log line to the log file. */ - $success = (fwrite($this->_fp, $line) !== false); - - /* Unlock the file now that we're finished writing to it. */ - if ($this->_locking) { - flock($this->_fp, LOCK_UN); - } - - /* Notify observers about this log message. */ - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return $success; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/firebug.php b/modules/blockrss/vendor/pear/log/Log/firebug.php deleted file mode 100644 index b30cdbd86..000000000 --- a/modules/blockrss/vendor/pear/log/Log/firebug.php +++ /dev/null @@ -1,207 +0,0 @@ - - * @since Log 1.9.11 - * @package Log - * - * @example firebug.php Using the firebug handler. - */ -class Log_firebug extends Log -{ - /** - * Should the output be buffered or displayed immediately? - * @var string - * @access private - */ - var $_buffering = false; - - /** - * String holding the buffered output. - * @var string - * @access private - */ - var $_buffer = array(); - - /** - * String containing the format of a log line. - * @var string - * @access private - */ - var $_lineFormat = '%2$s [%3$s] %4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * - * Note! Default lineFormat of this driver does not display time. - * - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * Mapping of log priorities to Firebug methods. - * @var array - * @access private - */ - var $_methods = array( - PEAR_LOG_EMERG => 'error', - PEAR_LOG_ALERT => 'error', - PEAR_LOG_CRIT => 'error', - PEAR_LOG_ERR => 'error', - PEAR_LOG_WARNING => 'warn', - PEAR_LOG_NOTICE => 'info', - PEAR_LOG_INFO => 'info', - PEAR_LOG_DEBUG => 'debug' - ); - - /** - * Constructs a new Log_firebug object. - * - * @param string $name Ignored. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name = '', $ident = 'PHP', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - if (isset($conf['buffering'])) { - $this->_buffering = $conf['buffering']; - } - - if ($this->_buffering) { - register_shutdown_function(array(&$this, '_Log_firebug')); - } - - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - } - - /** - * Opens the firebug handler. - * - * @access public - */ - function open() - { - $this->_opened = true; - return true; - } - - /** - * Destructor - */ - function _Log_firebug() - { - $this->close(); - } - - /** - * Closes the firebug handler. - * - * @access public - */ - function close() - { - $this->flush(); - $this->_opened = false; - return true; - } - - /** - * Flushes all pending ("buffered") data. - * - * @access public - */ - function flush() { - if (count($this->_buffer)) { - print '\n"; - }; - $this->_buffer = array(); - } - - /** - * Writes $message to Firebug console. Also, passes the message - * along to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - $method = $this->_methods[$priority]; - - /* normalize line breaks and escape quotes*/ - $message = preg_replace("/\r?\n/", "\\n", addslashes($message)); - - /* Build the string containing the complete log line. */ - $line = $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, - $message); - - if ($this->_buffering) { - $this->_buffer[] = sprintf('console.%s("%s");', $method, $line); - } else { - print '\n"; - } - /* Notify observers about this log message. */ - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/mail.php b/modules/blockrss/vendor/pear/log/Log/mail.php deleted file mode 100644 index 5c079ee83..000000000 --- a/modules/blockrss/vendor/pear/log/Log/mail.php +++ /dev/null @@ -1,294 +0,0 @@ - - * @author Jon Parise - * @since Log 1.3 - * @package Log - * - * @example mail.php Using the mail handler. - */ -class Log_mail extends Log -{ - /** - * String holding the recipients' email addresses. Multiple addresses - * should be separated with commas. - * @var string - * @access private - */ - var $_recipients = ''; - - /** - * String holding the sender's email address. - * @var string - * @access private - */ - var $_from = ''; - - /** - * String holding the email's subject. - * @var string - * @access private - */ - var $_subject = '[Log_mail] Log message'; - - /** - * String holding an optional preamble for the log messages. - * @var string - * @access private - */ - var $_preamble = ''; - - /** - * String containing the format of a log line. - * @var string - * @access private - */ - var $_lineFormat = '%1$s %2$s [%3$s] %4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * String holding the mail message body. - * @var string - * @access private - */ - var $_message = ''; - - /** - * Flag used to indicated that log lines have been written to the message - * body and the message should be sent on close(). - * @var boolean - * @access private - */ - var $_shouldSend = false; - - /** - * String holding the backend name of PEAR::Mail - * @var string - * @access private - */ - var $_mailBackend = ''; - - /** - * Array holding the params for PEAR::Mail - * @var array - * @access private - */ - var $_mailParams = array(); - - /** - * Constructs a new Log_mail object. - * - * Here is how you can customize the mail driver with the conf[] hash : - * $conf['from']: the mail's "From" header line, - * $conf['subject']: the mail's "Subject" line. - * $conf['mailBackend']: backend name of PEAR::Mail - * $conf['mailParams']: parameters for the PEAR::Mail backend - * - * @param string $name The message's recipients. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_recipients = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (!empty($conf['from'])) { - $this->_from = $conf['from']; - } else { - $this->_from = ini_get('sendmail_from'); - } - - if (!empty($conf['subject'])) { - $this->_subject = $conf['subject']; - } - - if (!empty($conf['preamble'])) { - $this->_preamble = $conf['preamble']; - } - - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - - if (!empty($conf['mailBackend'])) { - $this->_mailBackend = $conf['mailBackend']; - } - - if (!empty($conf['mailParams'])) { - $this->_mailParams = $conf['mailParams']; - } - - /* register the destructor */ - register_shutdown_function(array(&$this, '_Log_mail')); - } - - /** - * Destructor. Calls close(). - * - * @access private - */ - function _Log_mail() - { - $this->close(); - } - - /** - * Starts a new mail message. - * This is implicitly called by log(), if necessary. - * - * @access public - */ - function open() - { - if (!$this->_opened) { - if (!empty($this->_preamble)) { - $this->_message = $this->_preamble . "\r\n\r\n"; - } - $this->_opened = true; - $_shouldSend = false; - } - - return $this->_opened; - } - - /** - * Closes the message, if it is open, and sends the mail. - * This is implicitly called by the destructor, if necessary. - * - * @access public - */ - function close() - { - if ($this->_opened) { - if ($this->_shouldSend && !empty($this->_message)) { - if ($this->_mailBackend === '') { // use mail() - $headers = "From: $this->_from\r\n"; - $headers .= 'User-Agent: PEAR Log Package'; - if (mail($this->_recipients, $this->_subject, - $this->_message, $headers) == false) { - return false; - } - } else { // use PEAR::Mail - include_once 'Mail.php'; - $headers = array('From' => $this->_from, - 'To' => $this->_recipients, - 'User-Agent' => 'PEAR Log Package', - 'Subject' => $this->_subject); - $mailer = &Mail::factory($this->_mailBackend, - $this->_mailParams); - $res = $mailer->send($this->_recipients, $headers, - $this->_message); - if (PEAR::isError($res)) { - return false; - } - } - - /* Clear the message string now that the email has been sent. */ - $this->_message = ''; - $this->_shouldSend = false; - } - $this->_opened = false; - } - - return ($this->_opened === false); - } - - /** - * Flushes the log output by forcing the email message to be sent now. - * Events that are logged after flush() is called will be appended to a - * new email message. - * - * @access public - * @since Log 1.8.2 - */ - function flush() - { - /* - * It's sufficient to simply call close() to flush the output. - * The next call to log() will cause the handler to be reopened. - */ - return $this->close(); - } - - /** - * Writes $message to the currently open mail message. - * Calls open(), if necessary. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the message isn't open and can't be opened, return failure. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Append the string containing the complete log line. */ - $this->_message .= $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, $message) . "\r\n"; - $this->_shouldSend = true; - - /* Notify observers about this log message. */ - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/mcal.php b/modules/blockrss/vendor/pear/log/Log/mcal.php deleted file mode 100644 index 57b9e6e6d..000000000 --- a/modules/blockrss/vendor/pear/log/Log/mcal.php +++ /dev/null @@ -1,169 +0,0 @@ - - * @since Horde 1.3 - * @since Log 1.0 - * @package Log - */ -class Log_mcal extends Log -{ - /** - * holding the calendar specification to connect to. - * @var string - * @access private - */ - var $_calendar = '{localhost/mstore}'; - - /** - * holding the username to use. - * @var string - * @access private - */ - var $_username = ''; - - /** - * holding the password to use. - * @var string - * @access private - */ - var $_password = ''; - - /** - * holding the options to pass to the calendar stream. - * @var integer - * @access private - */ - var $_options = 0; - - /** - * ResourceID of the MCAL stream. - * @var string - * @access private - */ - var $_stream = ''; - - /** - * Integer holding the log facility to use. - * @var string - * @access private - */ - var $_name = LOG_SYSLOG; - - /** - * Constructs a new Log_mcal object. - * - * @param string $name The category to use for our events. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_name = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - $this->_calendar = $conf['calendar']; - $this->_username = $conf['username']; - $this->_password = $conf['password']; - $this->_options = $conf['options']; - } - - /** - * Opens a calendar stream, if it has not already been - * opened. This is implicitly called by log(), if necessary. - * @access public - */ - function open() - { - if (!$this->_opened) { - $this->_stream = mcal_open($this->_calendar, $this->_username, - $this->_password, $this->_options); - $this->_opened = true; - } - - return $this->_opened; - } - - /** - * Closes the calendar stream, if it is open. - * @access public - */ - function close() - { - if ($this->_opened) { - mcal_close($this->_stream); - $this->_opened = false; - } - - return ($this->_opened === false); - } - - /** - * Logs $message and associated information to the currently open - * calendar stream. Calls open() if necessary. Also passes the - * message along to any Log_observer instances that are observing - * this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the connection isn't open and can't be opened, return failure. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - $date_str = date('Y:n:j:G:i:s'); - $dates = explode(':', $date_str); - - mcal_event_init($this->_stream); - mcal_event_set_title($this->_stream, $this->_ident); - mcal_event_set_category($this->_stream, $this->_name); - mcal_event_set_description($this->_stream, $message); - mcal_event_add_attribute($this->_stream, 'priority', $priority); - mcal_event_set_start($this->_stream, $dates[0], $dates[1], $dates[2], - $dates[3], $dates[4], $dates[5]); - mcal_event_set_end($this->_stream, $dates[0], $dates[1], $dates[2], - $dates[3], $dates[4], $dates[5]); - mcal_append_event($this->_stream); - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/mdb2.php b/modules/blockrss/vendor/pear/log/Log/mdb2.php deleted file mode 100644 index 6a0b45c7a..000000000 --- a/modules/blockrss/vendor/pear/log/Log/mdb2.php +++ /dev/null @@ -1,358 +0,0 @@ - - * @author Jon Parise - * @since Log 1.9.0 - * @package Log - */ -class Log_mdb2 extends Log -{ - /** - * Variable containing the DSN information. - * @var mixed - * @access private - */ - var $_dsn = ''; - - /** - * Array containing our set of DB configuration options. - * @var array - * @access private - */ - var $_options = array('persistent' => true); - - /** - * Object holding the database handle. - * @var object - * @access private - */ - var $_db = null; - - /** - * Resource holding the prepared statement handle. - * @var resource - * @access private - */ - var $_statement = null; - - /** - * Flag indicating that we're using an existing database connection. - * @var boolean - * @access private - */ - var $_existingConnection = false; - - /** - * String holding the database table to use. - * @var string - * @access private - */ - var $_table = 'log_table'; - - /** - * String holding the name of the ID sequence. - * @var string - * @access private - */ - var $_sequence = 'log_id'; - - /** - * Maximum length of the $ident string. This corresponds to the size of - * the 'ident' column in the SQL table. - * @var integer - * @access private - */ - var $_identLimit = 16; - - /** - * Set of field types used in the database table. - * @var array - * @access private - */ - var $_types = array( - 'id' => 'integer', - 'logtime' => 'timestamp', - 'ident' => 'text', - 'priority' => 'text', - 'message' => 'clob' - ); - - /** - * Constructs a new sql logging object. - * - * @param string $name The target SQL table. - * @param string $ident The identification field. - * @param array $conf The connection configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_table = $name; - $this->_mask = Log::UPTO($level); - - /* If an options array was provided, use it. */ - if (isset($conf['options']) && is_array($conf['options'])) { - $this->_options = $conf['options']; - } - - /* If a specific sequence name was provided, use it. */ - if (!empty($conf['sequence'])) { - $this->_sequence = $conf['sequence']; - } - - /* If a specific sequence name was provided, use it. */ - if (isset($conf['identLimit'])) { - $this->_identLimit = $conf['identLimit']; - } - - /* Now that the ident limit is confirmed, set the ident string. */ - $this->setIdent($ident); - - /* If an existing database connection was provided, use it. */ - if (isset($conf['db'])) { - $this->_db = &$conf['db']; - $this->_existingConnection = true; - $this->_opened = true; - } elseif (isset($conf['singleton'])) { - $this->_db = &MDB2::singleton($conf['singleton'], $this->_options); - $this->_existingConnection = true; - $this->_opened = true; - } else { - $this->_dsn = $conf['dsn']; - } - } - - /** - * Opens a connection to the database, if it has not already - * been opened. This is implicitly called by log(), if necessary. - * - * @return boolean True on success, false on failure. - * @access public - */ - function open() - { - if (!$this->_opened) { - /* Use the DSN and options to create a database connection. */ - $this->_db = &MDB2::connect($this->_dsn, $this->_options); - if (PEAR::isError($this->_db)) { - return false; - } - - /* Create a prepared statement for repeated use in log(). */ - if (!$this->_prepareStatement()) { - return false; - } - - /* We now consider out connection open. */ - $this->_opened = true; - } - - return $this->_opened; - } - - /** - * Closes the connection to the database if it is still open and we were - * the ones that opened it. It is the caller's responsible to close an - * existing connection that was passed to us via $conf['db']. - * - * @return boolean True on success, false on failure. - * @access public - */ - function close() - { - /* If we have a statement object, free it. */ - if (is_object($this->_statement)) { - $this->_statement->free(); - $this->_statement = null; - } - - /* If we opened the database connection, disconnect it. */ - if ($this->_opened && !$this->_existingConnection) { - $this->_opened = false; - return $this->_db->disconnect(); - } - - return ($this->_opened === false); - } - - /** - * Sets this Log instance's identification string. Note that this - * SQL-specific implementation will limit the length of the $ident string - * to sixteen (16) characters. - * - * @param string $ident The new identification string. - * - * @access public - * @since Log 1.8.5 - */ - function setIdent($ident) - { - $this->_ident = substr($ident, 0, $this->_identLimit); - } - - /** - * Inserts $message to the currently open database. Calls open(), - * if necessary. Also passes the message along to any Log_observer - * instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the connection isn't open and can't be opened, return failure. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - /* If we don't already have a statement object, create one. */ - if (!is_object($this->_statement) && !$this->_prepareStatement()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Build our set of values for this log entry. */ - $values = array( - 'id' => $this->_db->nextId($this->_sequence), - 'logtime' => MDB2_Date::mdbNow(), - 'ident' => $this->_ident, - 'priority' => $priority, - 'message' => $message - ); - - /* Execute the SQL query for this log entry insertion. */ - $this->_db->expectError(MDB2_ERROR_NOSUCHTABLE); - $result = &$this->_statement->execute($values); - $this->_db->popExpect(); - - /* Attempt to handle any errors. */ - if (PEAR::isError($result)) { - /* We can only handle MDB2_ERROR_NOSUCHTABLE errors. */ - if ($result->getCode() != MDB2_ERROR_NOSUCHTABLE) { - return false; - } - - /* Attempt to create the target table. */ - if (!$this->_createTable()) { - return false; - } - - /* Recreate our prepared statement resource. */ - $this->_statement->free(); - if (!$this->_prepareStatement()) { - return false; - } - - /* Attempt to re-execute the insertion query. */ - $result = $this->_statement->execute($values); - if (PEAR::isError($result)) { - return false; - } - } - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - - /** - * Create the log table in the database. - * - * @return boolean True on success or false on failure. - * @access private - */ - function _createTable() - { - $this->_db->loadModule('Manager', null, true); - $result = $this->_db->manager->createTable( - $this->_table, - array( - 'id' => array('type' => $this->_types['id']), - 'logtime' => array('type' => $this->_types['logtime']), - 'ident' => array('type' => $this->_types['ident']), - 'priority' => array('type' => $this->_types['priority']), - 'message' => array('type' => $this->_types['message']) - ) - ); - if (PEAR::isError($result)) { - return false; - } - - $result = $this->_db->manager->createIndex( - $this->_table, - 'unique_id', - array('fields' => array('id' => true), 'unique' => true) - ); - if (PEAR::isError($result)) { - return false; - } - - return true; - } - - /** - * Prepare the SQL insertion statement. - * - * @return boolean True if the statement was successfully created. - * - * @access private - * @since Log 1.9.0 - */ - function _prepareStatement() - { - $this->_statement = &$this->_db->prepare( - 'INSERT INTO ' . $this->_table . - ' (id, logtime, ident, priority, message)' . - ' VALUES(:id, :logtime, :ident, :priority, :message)', - $this->_types, MDB2_PREPARE_MANIP); - - /* Return success if we didn't generate an error. */ - return (PEAR::isError($this->_statement) === false); - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/null.php b/modules/blockrss/vendor/pear/log/Log/null.php deleted file mode 100644 index 6b3a0aaa4..000000000 --- a/modules/blockrss/vendor/pear/log/Log/null.php +++ /dev/null @@ -1,91 +0,0 @@ - - * @since Log 1.8.2 - * @package Log - * - * @example null.php Using the null handler. - */ -class Log_null extends Log -{ - /** - * Constructs a new Log_null object. - * - * @param string $name Ignored. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - } - - /** - * Opens the handler. - * - * @access public - * @since Log 1.9.6 - */ - function open() - { - $this->_opened = true; - return true; - } - - /** - * Closes the handler. - * - * @access public - * @since Log 1.9.6 - */ - function close() - { - $this->_opened = false; - return true; - } - - /** - * Simply consumes the log event. The message will still be passed - * along to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/observer.php b/modules/blockrss/vendor/pear/log/Log/observer.php deleted file mode 100644 index 09b01454b..000000000 --- a/modules/blockrss/vendor/pear/log/Log/observer.php +++ /dev/null @@ -1,129 +0,0 @@ - - * @since Horde 1.3 - * @since Log 1.0 - * @package Log - * - * @example observer_mail.php An example Log_observer implementation. - */ -class Log_observer -{ - /** - * Instance-specific unique identification number. - * - * @var integer - * @access private - */ - var $_id = 0; - - /** - * The minimum priority level of message that we want to hear about. - * PEAR_LOG_EMERG is the highest priority, so we will only hear messages - * with an integer priority value less than or equal to ours. It defaults - * to PEAR_LOG_INFO, which listens to everything except PEAR_LOG_DEBUG. - * - * @var string - * @access private - */ - var $_priority = PEAR_LOG_INFO; - - /** - * Creates a new basic Log_observer instance. - * - * @param integer $priority The highest priority at which to receive - * log event notifications. - * - * @access public - */ - public function __construct($priority = PEAR_LOG_INFO) - { - $this->_id = md5(microtime().rand()); - $this->_priority = $priority; - } - - /** - * Attempts to return a new concrete Log_observer instance of the requested - * type. - * - * @param string $type The type of concreate Log_observer subclass - * to return. - * @param integer $priority The highest priority at which to receive - * log event notifications. - * @param array $conf Optional associative array of additional - * configuration values. - * - * @return object The newly created concrete Log_observer - * instance, or null on an error. - */ - function &factory($type, $priority = PEAR_LOG_INFO, $conf = array()) - { - $type = strtolower($type); - $class = 'Log_observer_' . $type; - - /* - * If the desired class already exists (because the caller has supplied - * it from some custom location), simply instantiate and return a new - * instance. - */ - if (class_exists($class)) { - $object = new $class($priority, $conf); - return $object; - } - - /* Support both the new-style and old-style file naming conventions. */ - $newstyle = true; - $classfile = dirname(__FILE__) . '/observer_' . $type . '.php'; - - if (!file_exists($classfile)) { - $classfile = 'Log/' . $type . '.php'; - $newstyle = false; - } - - /* - * Attempt to include our version of the named class, but don't treat - * a failure as fatal. The caller may have already included their own - * version of the named class. - */ - @include_once $classfile; - - /* If the class exists, return a new instance of it. */ - if (class_exists($class)) { - /* Support both new-style and old-style construction. */ - if ($newstyle) { - $object = new $class($priority, $conf); - } else { - $object = new $class($priority); - } - return $object; - } - - $null = null; - return $null; - } - - /** - * This is a stub method to make sure that Log_Observer classes do - * something when they are notified of a message. The default behavior - * is to just print the message, which is obviously not desireable in - * practically any situation - which is why you need to override this - * method. :) - * - * @param array $event A hash describing the log event. - */ - function notify($event) - { - print_r($event); - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/sql.php b/modules/blockrss/vendor/pear/log/Log/sql.php deleted file mode 100644 index a235d09f5..000000000 --- a/modules/blockrss/vendor/pear/log/Log/sql.php +++ /dev/null @@ -1,293 +0,0 @@ - - * @since Horde 1.3 - * @since Log 1.0 - * @package Log - * - * @example sql.php Using the SQL handler. - */ -class Log_sql extends Log -{ - /** - * Variable containing the DSN information. - * @var mixed - * @access private - */ - var $_dsn = ''; - - /** - * String containing the SQL insertion statement. - * - * @var string - * @access private - */ - var $_sql = ''; - - /** - * Array containing our set of DB configuration options. - * @var array - * @access private - */ - var $_options = array('persistent' => true); - - /** - * Object holding the database handle. - * @var object - * @access private - */ - var $_db = null; - - /** - * Resource holding the prepared statement handle. - * @var resource - * @access private - */ - var $_statement = null; - - /** - * Flag indicating that we're using an existing database connection. - * @var boolean - * @access private - */ - var $_existingConnection = false; - - /** - * String holding the database table to use. - * @var string - * @access private - */ - var $_table = 'log_table'; - - /** - * String holding the name of the ID sequence. - * @var string - * @access private - */ - var $_sequence = 'log_id'; - - /** - * Maximum length of the $ident string. This corresponds to the size of - * the 'ident' column in the SQL table. - * @var integer - * @access private - */ - var $_identLimit = 16; - - /** - * Constructs a new sql logging object. - * - * @param string $name The target SQL table. - * @param string $ident The identification field. - * @param array $conf The connection configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_table = $name; - $this->_mask = Log::UPTO($level); - - /* Now that we have a table name, assign our SQL statement. */ - if (!empty($conf['sql'])) { - $this->_sql = $conf['sql']; - } else { - $this->_sql = 'INSERT INTO ' . $this->_table . - ' (id, logtime, ident, priority, message)' . - ' VALUES(?, CURRENT_TIMESTAMP, ?, ?, ?)'; - } - - /* If an options array was provided, use it. */ - if (isset($conf['options']) && is_array($conf['options'])) { - $this->_options = $conf['options']; - } - - /* If a specific sequence name was provided, use it. */ - if (!empty($conf['sequence'])) { - $this->_sequence = $conf['sequence']; - } - - /* If a specific sequence name was provided, use it. */ - if (isset($conf['identLimit'])) { - $this->_identLimit = $conf['identLimit']; - } - - /* Now that the ident limit is confirmed, set the ident string. */ - $this->setIdent($ident); - - /* If an existing database connection was provided, use it. */ - if (isset($conf['db'])) { - $this->_db = &$conf['db']; - $this->_existingConnection = true; - $this->_opened = true; - } else { - $this->_dsn = $conf['dsn']; - } - } - - /** - * Opens a connection to the database, if it has not already - * been opened. This is implicitly called by log(), if necessary. - * - * @return boolean True on success, false on failure. - * @access public - */ - function open() - { - if (!$this->_opened) { - /* Use the DSN and options to create a database connection. */ - $this->_db = &DB::connect($this->_dsn, $this->_options); - if (DB::isError($this->_db)) { - return false; - } - - /* Create a prepared statement for repeated use in log(). */ - if (!$this->_prepareStatement()) { - return false; - } - - /* We now consider out connection open. */ - $this->_opened = true; - } - - return $this->_opened; - } - - /** - * Closes the connection to the database if it is still open and we were - * the ones that opened it. It is the caller's responsible to close an - * existing connection that was passed to us via $conf['db']. - * - * @return boolean True on success, false on failure. - * @access public - */ - function close() - { - if ($this->_opened && !$this->_existingConnection) { - $this->_opened = false; - $this->_db->freePrepared($this->_statement); - return $this->_db->disconnect(); - } - - return ($this->_opened === false); - } - - /** - * Sets this Log instance's identification string. Note that this - * SQL-specific implementation will limit the length of the $ident string - * to sixteen (16) characters. - * - * @param string $ident The new identification string. - * - * @access public - * @since Log 1.8.5 - */ - function setIdent($ident) - { - $this->_ident = substr($ident, 0, $this->_identLimit); - } - - /** - * Inserts $message to the currently open database. Calls open(), - * if necessary. Also passes the message along to any Log_observer - * instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the connection isn't open and can't be opened, return failure. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - /* If we don't already have our statement object yet, create it. */ - if (!is_object($this->_statement) && !$this->_prepareStatement()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Build our set of values for this log entry. */ - $id = $this->_db->nextId($this->_sequence); - $values = array($id, $this->_ident, $priority, $message); - - /* Execute the SQL query for this log entry insertion. */ - $result =& $this->_db->execute($this->_statement, $values); - if (DB::isError($result)) { - return false; - } - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - - /** - * Prepare the SQL insertion statement. - * - * @return boolean True if the statement was successfully created. - * - * @access private - * @since Log 1.9.1 - */ - function _prepareStatement() - { - $this->_statement = $this->_db->prepare($this->_sql); - - /* Return success if we didn't generate an error. */ - return (DB::isError($this->_statement) === false); - } -} diff --git a/modules/blockrss/vendor/pear/log/Log/sqlite.php b/modules/blockrss/vendor/pear/log/Log/sqlite.php deleted file mode 100644 index ec7ac27e7..000000000 --- a/modules/blockrss/vendor/pear/log/Log/sqlite.php +++ /dev/null @@ -1,224 +0,0 @@ - - * @author Jon Parise - * @since Log 1.8.3 - * @package Log - * - * @example sqlite.php Using the Sqlite handler. - */ -class Log_sqlite extends Log -{ - /** - * Array containing the connection defaults - * @var array - * @access private - */ - var $_options = array('mode' => 0666, - 'persistent' => false); - - /** - * Object holding the database handle. - * @var object - * @access private - */ - var $_db = null; - - /** - * Flag indicating that we're using an existing database connection. - * @var boolean - * @access private - */ - var $_existingConnection = false; - - /** - * String holding the database table to use. - * @var string - * @access private - */ - var $_table = 'log_table'; - - /** - * Constructs a new sql logging object. - * - * @param string $name The target SQL table. - * @param string $ident The identification field. - * @param mixed $conf Can be an array of configuration options used - * to open a new database connection - * or an already opened sqlite connection. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', &$conf, $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_table = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (is_array($conf)) { - foreach ($conf as $k => $opt) { - $this->_options[$k] = $opt; - } - } else { - // If an existing database connection was provided, use it. - $this->_db =& $conf; - $this->_existingConnection = true; - } - } - - /** - * Opens a connection to the database, if it has not already - * been opened. This is implicitly called by log(), if necessary. - * - * @return boolean True on success, false on failure. - * @access public - */ - function open() - { - if (is_resource($this->_db)) { - $this->_opened = true; - return $this->_createTable(); - } else { - /* Set the connection function based on the 'persistent' option. */ - if (empty($this->_options['persistent'])) { - $connectFunction = 'sqlite_open'; - } else { - $connectFunction = 'sqlite_popen'; - } - - /* Attempt to connect to the database. */ - if ($this->_db = $connectFunction($this->_options['filename'], - (int)$this->_options['mode'], - $error)) { - $this->_opened = true; - return $this->_createTable(); - } - } - - return $this->_opened; - } - - /** - * Closes the connection to the database if it is still open and we were - * the ones that opened it. It is the caller's responsible to close an - * existing connection that was passed to us via $conf['db']. - * - * @return boolean True on success, false on failure. - * @access public - */ - function close() - { - /* We never close existing connections. */ - if ($this->_existingConnection) { - return false; - } - - if ($this->_opened) { - $this->_opened = false; - sqlite_close($this->_db); - } - - return ($this->_opened === false); - } - - /** - * Inserts $message to the currently open database. Calls open(), - * if necessary. Also passes the message along to any Log_observer - * instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If the connection isn't open and can't be opened, return failure. */ - if (!$this->_opened && !$this->open()) { - return false; - } - - // Extract the string representation of the message. - $message = $this->_extractMessage($message); - - // Build the SQL query for this log entry insertion. - $q = sprintf('INSERT INTO [%s] (logtime, ident, priority, message) ' . - "VALUES ('%s', '%s', %d, '%s')", - $this->_table, - strftime('%Y-%m-%d %H:%M:%S', time()), - sqlite_escape_string($this->_ident), - $priority, - sqlite_escape_string($message)); - if (!($res = @sqlite_unbuffered_query($this->_db, $q))) { - return false; - } - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - - /** - * Checks whether the log table exists and creates it if necessary. - * - * @return boolean True on success or false on failure. - * @access private - */ - function _createTable() - { - $q = "SELECT name FROM sqlite_master WHERE name='" . $this->_table . - "' AND type='table'"; - - $res = sqlite_query($this->_db, $q); - - if (sqlite_num_rows($res) == 0) { - $q = 'CREATE TABLE [' . $this->_table . '] (' . - 'id INTEGER PRIMARY KEY NOT NULL, ' . - 'logtime NOT NULL, ' . - 'ident CHAR(16) NOT NULL, ' . - 'priority INT NOT NULL, ' . - 'message)'; - - if (!($res = sqlite_unbuffered_query($this->_db, $q))) { - return false; - } - } - - return true; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/syslog.php b/modules/blockrss/vendor/pear/log/Log/syslog.php deleted file mode 100644 index 59c27fdd9..000000000 --- a/modules/blockrss/vendor/pear/log/Log/syslog.php +++ /dev/null @@ -1,238 +0,0 @@ - - * @author Jon Parise - * @since Horde 1.3 - * @since Log 1.0 - * @package Log - * - * @example syslog.php Using the syslog handler. - */ -class Log_syslog extends Log -{ - /** - * Integer holding the log facility to use. - * @var integer - * @access private - */ - var $_name = LOG_SYSLOG; - - /** - * Should we inherit the current syslog connection for this process, or - * should we call openlog() to start a new syslog connection? - * @var boolean - * @access private - */ - var $_inherit = false; - - /** - * Should we re-open the syslog connection for each log event? - * @var boolean - * @access private - */ - var $_reopen = false; - - /** - * Maximum message length that will be sent to syslog(). If the handler - * receives a message longer than this length limit, it will be split into - * multiple syslog() calls. - * @var integer - * @access private - */ - var $_maxLength = 500; - - /** - * String containing the format of a message. - * @var string - * @access private - */ - var $_lineFormat = '%4$s'; - - /** - * String containing the timestamp format. It will be passed directly to - * strftime(). Note that the timestamp string will generated using the - * current locale. - * @var string - * @access private - */ - var $_timeFormat = '%b %d %H:%M:%S'; - - /** - * Constructs a new syslog object. - * - * @param string $name The syslog facility. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - /* Ensure we have a valid integer value for $name. */ - if (empty($name) || !is_int($name)) { - $name = LOG_SYSLOG; - } - - if (isset($conf['inherit'])) { - $this->_inherit = $conf['inherit']; - $this->_opened = $this->_inherit; - } - if (isset($conf['reopen'])) { - $this->_reopen = $conf['reopen']; - } - if (isset($conf['maxLength'])) { - $this->_maxLength = $conf['maxLength']; - } - if (!empty($conf['lineFormat'])) { - $this->_lineFormat = str_replace(array_keys($this->_formatMap), - array_values($this->_formatMap), - $conf['lineFormat']); - } - if (!empty($conf['timeFormat'])) { - $this->_timeFormat = $conf['timeFormat']; - } - - $this->_id = md5(microtime().rand()); - $this->_name = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - } - - /** - * Opens a connection to the system logger, if it has not already - * been opened. This is implicitly called by log(), if necessary. - * @access public - */ - function open() - { - if (!$this->_opened || $this->_reopen) { - $this->_opened = openlog($this->_ident, LOG_PID, $this->_name); - } - - return $this->_opened; - } - - /** - * Closes the connection to the system logger, if it is open. - * @access public - */ - function close() - { - if ($this->_opened && !$this->_inherit) { - closelog(); - $this->_opened = false; - } - - return true; - } - - /** - * Sends $message to the currently open syslog connection. Calls - * open() if necessary. Also passes the message along to any Log_observer - * instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param int $priority (optional) The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* If we need to (re)open the connection and open() fails, abort. */ - if ((!$this->_opened || $this->_reopen) && !$this->open()) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - - /* Build a syslog priority value based on our current configuration. */ - $syslogPriority = $this->_toSyslog($priority); - if ($this->_inherit) { - $syslogPriority |= $this->_name; - } - - /* Apply the configured line format to the message string. */ - $message = $this->_format($this->_lineFormat, - strftime($this->_timeFormat), - $priority, $message); - - /* Split the string into parts based on our maximum length setting. */ - $parts = str_split($message, $this->_maxLength); - if ($parts === false) { - return false; - } - - foreach ($parts as $part) { - if (!syslog($syslogPriority, $part)) { - return false; - } - } - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - - /** - * Converts a PEAR_LOG_* constant into a syslog LOG_* constant. - * - * This function exists because, under Windows, not all of the LOG_* - * constants have unique values. Instead, the PEAR_LOG_* were introduced - * for global use, with the conversion to the LOG_* constants kept local to - * to the syslog driver. - * - * @param int $priority PEAR_LOG_* value to convert to LOG_* value. - * - * @return The LOG_* representation of $priority. - * - * @access private - */ - function _toSyslog($priority) - { - static $priorities = array( - PEAR_LOG_EMERG => LOG_EMERG, - PEAR_LOG_ALERT => LOG_ALERT, - PEAR_LOG_CRIT => LOG_CRIT, - PEAR_LOG_ERR => LOG_ERR, - PEAR_LOG_WARNING => LOG_WARNING, - PEAR_LOG_NOTICE => LOG_NOTICE, - PEAR_LOG_INFO => LOG_INFO, - PEAR_LOG_DEBUG => LOG_DEBUG - ); - - /* If we're passed an unknown priority, default to LOG_INFO. */ - if (!is_int($priority) || !in_array($priority, $priorities)) { - return LOG_INFO; - } - - return $priorities[$priority]; - } - -} diff --git a/modules/blockrss/vendor/pear/log/Log/win.php b/modules/blockrss/vendor/pear/log/Log/win.php deleted file mode 100644 index 43d9c4a3d..000000000 --- a/modules/blockrss/vendor/pear/log/Log/win.php +++ /dev/null @@ -1,286 +0,0 @@ - - * @since Log 1.7.0 - * @package Log - * - * @example win.php Using the window handler. - */ -class Log_win extends Log -{ - /** - * The name of the output window. - * @var string - * @access private - */ - var $_name = 'LogWindow'; - - /** - * The title of the output window. - * @var string - * @access private - */ - var $_title = 'Log Output Window'; - - /** - * Mapping of log priorities to styles. - * @var array - * @access private - */ - var $_styles = array( - PEAR_LOG_EMERG => 'color: red;', - PEAR_LOG_ALERT => 'color: orange;', - PEAR_LOG_CRIT => 'color: yellow;', - PEAR_LOG_ERR => 'color: green;', - PEAR_LOG_WARNING => 'color: blue;', - PEAR_LOG_NOTICE => 'color: indigo;', - PEAR_LOG_INFO => 'color: violet;', - PEAR_LOG_DEBUG => 'color: black;' - ); - - /** - * String buffer that holds line that are pending output. - * @var array - * @access private - */ - var $_buffer = array(); - - /** - * Constructs a new Log_win object. - * - * @param string $name Ignored. - * @param string $ident The identity string. - * @param array $conf The configuration array. - * @param int $level Log messages up to and including this level. - * @access public - */ - public function __construct($name, $ident = '', $conf = array(), - $level = PEAR_LOG_DEBUG) - { - $this->_id = md5(microtime().rand()); - $this->_name = str_replace(' ', '_', $name); - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - - if (isset($conf['title'])) { - $this->_title = $conf['title']; - } - if (isset($conf['styles']) && is_array($conf['styles'])) { - $this->_styles = $conf['styles']; - } - if (isset($conf['colors']) && is_array($conf['colors'])) { - foreach ($conf['colors'] as $level => $color) { - $this->_styles[$level] .= "color: $color;"; - } - } - - register_shutdown_function(array(&$this, '_Log_win')); - } - - /** - * Destructor - */ - function _Log_win() - { - if ($this->_opened || (count($this->_buffer) > 0)) { - $this->close(); - } - } - - /** - * The first time open() is called, it will open a new browser window and - * prepare it for output. - * - * This is implicitly called by log(), if necessary. - * - * @access public - */ - function open() - { - if (!$this->_opened) { - $win = $this->_name; - $styles = $this->_styles; - - if (!empty($this->_ident)) { - $identHeader = "$win.document.writeln('Ident')"; - } else { - $identHeader = ''; - } - - echo <<< EOT - -EOT; - $this->_opened = true; - } - - return $this->_opened; - } - - /** - * Closes the output stream if it is open. If there are still pending - * lines in the output buffer, the output window will be opened so that - * the buffer can be drained. - * - * @access public - */ - function close() - { - /* - * If there are still lines waiting to be written, open the output - * window so that we can drain the buffer. - */ - if (!$this->_opened && (count($this->_buffer) > 0)) { - $this->open(); - } - - if ($this->_opened) { - $this->_writeln(''); - $this->_writeln(''); - $this->_drainBuffer(); - $this->_opened = false; - } - - return ($this->_opened === false); - } - - /** - * Writes the contents of the output buffer to the output window. - * - * @access private - */ - function _drainBuffer() - { - $win = $this->_name; - foreach ($this->_buffer as $line) { - echo "\n"; - } - - /* Now that the buffer has been drained, clear it. */ - $this->_buffer = array(); - } - - /** - * Writes a single line of text to the output buffer. - * - * @param string $line The line of text to write. - * - * @access private - */ - function _writeln($line) - { - /* Add this line to our output buffer. */ - $this->_buffer[] = $line; - - /* Buffer the output until this page's headers have been sent. */ - if (!headers_sent()) { - return; - } - - /* If we haven't already opened the output window, do so now. */ - if (!$this->_opened && !$this->open()) { - return; - } - - /* Drain the buffer to the output window. */ - $this->_drainBuffer(); - } - - /** - * Logs $message to the output window. The message is also passed along - * to any Log_observer instances that are observing this Log. - * - * @param mixed $message String or object containing the message to log. - * @param string $priority The priority of the message. Valid - * values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, - * PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, - * PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG. - * @return boolean True on success or false on failure. - * @access public - */ - function log($message, $priority = null) - { - /* If a priority hasn't been specified, use the default value. */ - if ($priority === null) { - $priority = $this->_priority; - } - - /* Abort early if the priority is above the maximum logging level. */ - if (!$this->_isMasked($priority)) { - return false; - } - - /* Extract the string representation of the message. */ - $message = $this->_extractMessage($message); - $message = preg_replace('/\r\n|\n|\r/', '
    ', $message); - - list($usec, $sec) = explode(' ', microtime()); - - /* Build the output line that contains the log entry row. */ - $line = ''; - $line .= sprintf('%s.%s', - strftime('%H:%M:%S', $sec), substr($usec, 2, 2)); - if (!empty($this->_ident)) { - $line .= '' . $this->_ident . ''; - } - $line .= '' . ucfirst($this->priorityToString($priority)) . ''; - $line .= sprintf('%s', $priority, $message); - $line .= ''; - - $this->_writeln($line); - - $this->_announce(array('priority' => $priority, 'message' => $message)); - - return true; - } - -} diff --git a/modules/blockrss/vendor/pear/log/README.rst b/modules/blockrss/vendor/pear/log/README.rst deleted file mode 120000 index 753c5b5c6..000000000 --- a/modules/blockrss/vendor/pear/log/README.rst +++ /dev/null @@ -1 +0,0 @@ -docs/guide.txt \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/log/composer.json b/modules/blockrss/vendor/pear/log/composer.json deleted file mode 100644 index fcbc75903..000000000 --- a/modules/blockrss/vendor/pear/log/composer.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "pear/log", - "type": "library", - "description": "PEAR Logging Framework", - "keywords": [ - "log", - "logging" - ], - "license": "MIT", - "require": { - "php": ">5.2", - "pear/pear_exception": "1.0.1 || 1.0.2" - }, - "autoload": { - "psr-0": { - "Log": "./" - }, - "exclude-from-classmap": ["/examples/"] - }, - "include-path": [ - "" - ], - "authors": [ - { - "name": "Jon Parise", - "email": "jon@php.net", - "homepage": "http://www.indelible.org", - "role": "Developer" - } - ], - "homepage": "http://pear.github.io/Log/", - "support": { - "issues": "https://github.com/pear/Log/issues", - "source": "https://github.com/pear/Log" - }, - "require-dev": { - "phpunit/phpunit": "*" - }, - "suggest": { - "pear/db": "Install optionally via your project's composer.json" - } -} diff --git a/modules/blockrss/vendor/pear/log/docs/docutils.conf b/modules/blockrss/vendor/pear/log/docs/docutils.conf deleted file mode 100644 index 10aeab469..000000000 --- a/modules/blockrss/vendor/pear/log/docs/docutils.conf +++ /dev/null @@ -1,16 +0,0 @@ -[general] -source-link: no -no-datestamp: yes -generator: off -strip-comments: yes -toc-backlinks: no - -[standalone reader] -docinfo_xform: no - -[html4css1 writer] -stylesheet-path: docutils.css -embed-stylesheet: yes -field-name-limit: 20 -cloak-email-addresses: yes -initial-header-level: 2 diff --git a/modules/blockrss/vendor/pear/log/docs/docutils.css b/modules/blockrss/vendor/pear/log/docs/docutils.css deleted file mode 100644 index fba72b592..000000000 --- a/modules/blockrss/vendor/pear/log/docs/docutils.css +++ /dev/null @@ -1,108 +0,0 @@ -body { - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 0.8em; - letter-spacing: 0.01em; - line-height: 1.5em; - text-align: justify; - margin: 0 auto; - width: 48em; -} - -a:link, a:visited { - color: #00c; - padding-bottom: 0; - text-decoration: none; - border-bottom: 1px solid #dbd5c5; -} - -a:hover { - padding-bottom: 0; - border-bottom: 2px solid #dbd5c5; -} - -h1, h2, h3 { - font-family: Georgia, "Times New Roman", Times, serif; - font-weight: normal; - line-height: normal; -} - -h1 { - font-size: 2.1em; - letter-spacing: -0.02em; - margin-top: 30px; - text-align: center; -} - -h2 { - font-size: 1.6em; - font-style: italic; - margin: 30px 0 10px 0; -} - -h3 { - font-size: 1.3em; - font-style: italic; - margin-top: 20px; -} - -li { - line-height: 135%; -} - -ul, ol { - margin: 0 0 1em 2em; - padding: 0 0 0 1em; -} - -hr { - background-color: #ccc; - border: 0px none; - color: #eee; - height: 1px; - margin: 30px 0px; -} - -blockquote, pre { - background-color: #f9f9f9; - border: 1px solid #eee; - border-left: 2px solid #ccc; - padding: 1em; -} - -blockquote { - color: #666; - line-height: 1.3em; -} - -pre { - line-height: normal; - overflow: auto; -} - -pre.code-block { - padding-bottom: 0; -} - -tt, pre, code, samp, kbd { - color: #333; - font-family: Consolas, 'Lucida Console', monospace; - font-size: 13px; -} - -label em { - font-weight: normal; -} - -form { - margin: 0; - padding: 0; -} - -.code-block .err { border: 1px solid #FF0000 } /* Error */ -.code-block .k,.kn { color: #369 } /* Keywords */ -.code-block .c,.cm,.cp,.c1 { color: #666; font-style: italic } /* Comments */ -.code-block .n { color: #000 } /* Names */ -.code-block .p { color: #000 } /* Punctuation */ -.code-block .nc,.nf,.nn { color: #333; font-weight: bold } /* Symbol Names */ -.code-block .s { color: #933 } /* Literal.String */ -.code-block .sd { color: #666 } /* Literal.String.Doc */ diff --git a/modules/blockrss/vendor/pear/log/docs/guide.txt b/modules/blockrss/vendor/pear/log/docs/guide.txt deleted file mode 100644 index 37a369a85..000000000 --- a/modules/blockrss/vendor/pear/log/docs/guide.txt +++ /dev/null @@ -1,1306 +0,0 @@ -================= - The Log Package -================= - --------------------- - User Documentation --------------------- - -:Author: Jon Parise -:Contact: jon@php.net - -.. contents:: Contents -.. section-numbering:: - -Using Log Handlers -================== - -The Log package is implemented as a framework that supports the notion of -backend-specific log handlers. The base logging object (defined by the `Log -class`_) is primarily an abstract interface to the currently configured -handler. - -A wide variety of handlers are distributed with the Log package, and, should -none of them fit your application's needs, it's easy to `write your own`__. - -.. _Log class: http://cvs.php.net/viewvc.cgi/pear/Log/Log.php -__ `Custom Handlers`_ - -Creating a Log Object ---------------------- -There are three ways to create Log objects: - - - Using the ``Log::factory()`` method - - Using the ``Log::singleton()`` method - - Direct instantiation - -The Factory Method -~~~~~~~~~~~~~~~~~~ -The ``Log::factory()`` method implements the `Factory Pattern`_. It allows -for the parameterized construction of concrete Log instances at runtime. The -first parameter to the ``Log::factory()`` method indicates the name of the -concrete handler to create. The rest of the parameters will be passed on to -the handler's constructor (see `Configuring a Handler`_ below). - -The new ``Log`` instance is returned by reference. - -:: - - require_once 'Log.php'; - - $console = Log::factory('console', '', 'TEST'); - $console->log('Logging to the console.'); - - $file = Log::factory('file', 'out.log', 'TEST'); - $file->log('Logging to out.log.'); - -.. _Factory Pattern: http://wikipedia.org/wiki/Factory_method_pattern - -The Singleton Method -~~~~~~~~~~~~~~~~~~~~ -The ``Log::singleton()`` method implements the `Singleton Pattern`_. The -singleton pattern ensures that only a single instance of a given log type and -configuration is ever created. This has two benefits: first, it prevents -duplicate ``Log`` instances from being constructed, and, second, it gives all -of your code access to the same ``Log`` instance. The latter is especially -important when logging to files because only a single file handler will need -to be managed. - -The ``Log::singleton()`` method's parameters match the ``Log::factory()`` -method. The new ``Log`` instance is returned by reference. - -:: - - require_once 'Log.php'; - - /* Same construction parameters */ - $a = Log::singleton('console', '', 'TEST'); - $b = Log::singleton('console', '', 'TEST'); - - if ($a === $b) { - echo '$a and $b point to the same Log instance.' . "\n"; - } - - /* Different construction parameters */ - $c = Log::singleton('console', '', 'TEST1'); - $d = Log::singleton('console', '', 'TEST2'); - - if ($c !== $d) { - echo '$c and $d point to different Log instances.' . "\n"; - } - -.. _Singleton Pattern: http://wikipedia.org/wiki/Singleton_pattern - -Direct Instantiation -~~~~~~~~~~~~~~~~~~~~ -It is also possible to directly instantiate concrete ``Log`` handler -instances. However, this method is **not recommended** because it creates a -tighter coupling between your application code and the Log package than is -necessary. Use of `the factory method`_ or `the singleton method`_ is -preferred. - - -Configuring a Handler ---------------------- -A log handler's configuration is determined by the arguments used in its -construction. Here's an overview of those parameters:: - - /* Using the factory method ... */ - Log::factory($handler, $name, $ident, $conf, $maxLevel); - - /* Using the singleton method ... */ - Log::singleton($handler, $name, $ident, $conf, $maxLevel); - - /* Using direct instantiation ... */ - new Log_handler($name, $ident, $conf, $maxLevel); - -+---------------+-----------+-----------------------------------------------+ -| Parameter | Type | Description | -+===============+===========+===============================================+ -| ``$handler`` | String | The type of Log handler to construct. This | -| | | parameter is only available when `the factory | -| | | method`_ or `the singleton method`_ are used. | -+---------------+-----------+-----------------------------------------------+ -| ``$name`` | String | The name of the log resource to which the | -| | | events will be logged. The use of this value | -| | | is determined by the handler's implementation.| -| | | It defaults to an empty string. | -+---------------+-----------+-----------------------------------------------+ -| ``$ident`` | String | An identification string that will be included| -| | | in all log events logged by this handler. | -| | | This value defaults to an empty string and can| -| | | be changed at runtime using the ``setIdent()``| -| | | method. | -+---------------+-----------+-----------------------------------------------+ -| ``$conf`` | Array | Associative array of key-value pairs that are | -| | | used to specify any handler-specific settings.| -+---------------+-----------+-----------------------------------------------+ -| ``$level`` | Integer | Log messages up to and including this level. | -| | | This value defaults to ``PEAR_LOG_DEBUG``. | -| | | See `Log Levels`_ and `Log Level Masks`_. | -+---------------+-----------+-----------------------------------------------+ - - -Logging an Event ----------------- -Events are logged using the ``log()`` method:: - - $logger->log('Message', PEAR_LOG_NOTICE); - -The first argument contains the log event's message. Even though the event is -always logged as a string, it is possible to pass an object to the ``log()`` -method. If the object implements a ``getString()`` method, a ``toString()`` -method or Zend Engine 2's special ``__toString()`` casting method, it will be -used to determine the object's string representation. Otherwise, the -`serialized`_ form of the object will be logged. - -The second, optional argument specifies the log event's priority. See the -`Log Levels`_ table for the complete list of priorities. The default priority -is PEAR_LOG_INFO. - -The ``log()`` method will return ``true`` if the event was successfully -logged. - -"Shortcut" methods are also available for logging an event at a specific log -level. See the `Log Levels`_ table for the complete list. - -.. _serialized: http://www.php.net/serialize - - -Log Levels ----------- -This table is ordered by highest priority (``PEAR_LOG_EMERG``) to lowest -priority (``PEAR_LOG_DEBUG``). - -+-----------------------+---------------+-----------------------------------+ -| Level | Shortcut | Description | -+=======================+===============+===================================+ -| ``PEAR_LOG_EMERG`` | ``emerg()`` | System is unusable | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_ALERT`` | ``alert()`` | Immediate action required | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_CRIT`` | ``crit()`` | Critical conditions | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_ERR`` | ``err()`` | Error conditions | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_WARNING`` | ``warning()`` | Warning conditions | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_NOTICE`` | ``notice()`` | Normal but significant | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_INFO`` | ``info()`` | Informational | -+-----------------------+---------------+-----------------------------------+ -| ``PEAR_LOG_DEBUG`` | ``debug()`` | Debug-level messages | -+-----------------------+---------------+-----------------------------------+ - - -Log Level Masks ---------------- -Defining a log level mask allows you to include and/or exclude specific levels -of events from being logged. The ``$level`` construction parameter (see -`Configuring a Handler`_) uses this mechanism to exclude log events below a -certain priority, and it's possible to define more complex masks once the Log -object has been constructed. - -Each priority has a specific mask associated with it. To compute a priority's -mask, use the static ``Log::MASK()`` method:: - - $mask = Log::MASK(PEAR_LOG_INFO); - -To compute the mask for all priorities up to, and including, a certain level, -use the ``Log::MAX()`` static method:: - - $mask = Log::MAX(PEAR_LOG_INFO); - -To compute the mask for all priorities greater than or equal to a certain -level, use the ``Log::MIN()`` static method:: - - $mask = Log::MIN(PEAR_LOG_INFO); - -The apply the mask, use the ``setMask()`` method:: - - $logger->setMask($mask); - -Masks can be be combined using bitwise operations. To restrict logging to -only those events marked as ``PEAR_LOG_NOTICE`` or ``PEAR_LOG_DEBUG``:: - - $mask = Log::MASK(PEAR_LOG_NOTICE) | Log::MASK(PEAR_LOG_DEBUG); - $logger->setMask($mask); - -For convenience, two special masks are predefined: ``PEAR_LOG_NONE`` and -``PEAR_LOG_ALL``. ``PEAR_LOG_ALL`` is especially useful for excluding only -specific priorities:: - - $mask = PEAR_LOG_ALL ^ Log::MASK(PEAR_LOG_NOTICE); - $logger->setMask($mask); - -It is also possible to retrieve and modify a Log object's existing mask:: - - $mask = $logger->getMask() | Log::MASK(PEAR_LOG_INFO); - $logger->setMask($mask); - - -Log Line Format ---------------- -Most log handlers support configurable line formats. The following is a list -of special tokens that will be expanded at runtime with contextual information -related to the log event. Each token has an alternate shorthand notation, as -well. - -+------------------+-----------+--------------------------------------------+ -| Token | Alternate | Description | -+==================+===========+============================================+ -| ``%{timestamp}`` | ``%1$s`` | Timestamp. This is often configurable. | -+------------------+-----------+--------------------------------------------+ -| ``%{ident}`` | ``%2$s`` | The log handler's identification string. | -+------------------+-----------+--------------------------------------------+ -| ``%{priority}`` | ``%3$s`` | The log event's priority. | -+------------------+-----------+--------------------------------------------+ -| ``%{message}`` | ``%4$s`` | The log event's message text. | -+------------------+-----------+--------------------------------------------+ -| ``%{file}`` | ``%5$s`` | The full filename of the logging file. | -+------------------+-----------+--------------------------------------------+ -| ``%{line}`` | ``%6$s`` | The line number on which the event occured.| -+------------------+-----------+--------------------------------------------+ -| ``%{function}`` | ``%7$s`` | The function from which the event occurred.| -+------------------+-----------+--------------------------------------------+ -| ``%{class}`` | ``%8$s`` | The class in which the event occurred. | -+------------------+-----------+--------------------------------------------+ - - -Flushing Log Events -------------------- -Some log handlers (such as `the console handler`_) support explicit -"buffering". When buffering is enabled, log events won't actually be written -to the output stream until the handler is closed. Other handlers (such as -`the file handler`_) support implicit buffering because they use the operating -system's IO routines, which may buffer the output. - -It's possible to force these handlers to flush their output, however, by -calling their ``flush()`` method:: - - $conf = array('buffering' => true); - $logger = Log::singleton('console', '', 'test', $conf); - - for ($i = 0; $i < 10; $i++) { - $logger->log('This event will be buffered.'); - } - - /* Flush all of the buffered log events. */ - $logger->flush(); - - for ($i = 0; $i < 10; $i++) { - $logger->log('This event will be buffered.'); - } - - /* Implicitly flush the buffered events on close. */ - $logger->close(); - -At this time, the ``flush()`` method is only implemented by `the console -handler`_, `the file handler`_, `the Firebug handler`_, and `the mail -handler`_. - - -Standard Log Handlers -===================== - -The Console Handler -------------------- -The Console handler outputs log events directly to the console. It supports -output buffering and configurable string formats. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``stream`` | File | STDOUT_ | The output stream to use. | -+-------------------+-----------+---------------+---------------------------+ -| ``buffering`` | Boolean | False | Should the output be | -| | | | buffered until shutdown? | -+-------------------+-----------+---------------+---------------------------+ -| ``lineFormat`` | String | ``%1$s %2$s | `Log line format`_ | -| | | [%3$s] %4$s`` | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ - -.. _STDOUT: http://www.php.net/wrappers.php -.. _strftime: http://www.php.net/strftime - -Example -~~~~~~~ -:: - - $logger = Log::singleton('console', '', 'ident'); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The Display Handler -------------------- -The Display handler simply prints the log events back to the browser. It -respects the ``error_prepend_string`` and ``error_append_string`` `error -handling values`_ and is useful when `logging from standard error handlers`_. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``lineFormat`` | String | ``%3$s:| `Log line format`_ | -| | | %4$s`` | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ -| ``error_prepend`` | String | PHP INI value | This string will be | -| | | | prepended to the line | -| | | | format. | -+-------------------+-----------+---------------+---------------------------+ -| ``error_append`` | String | PHP INI value | This string will be | -| | | | appended to the line | -| | | | format. | -+-------------------+-----------+---------------+---------------------------+ -| ``linebreak`` | String | ``
    \n`` | This string is used to | -| | | | represent a line break. | -+-------------------+-----------+---------------+---------------------------+ -| ``rawText`` | Boolean | False | Should message text be | -| | | | passed directly to the log| -| | | | system? Otherwise, it | -| | | | will be converted to an | -| | | | HTML-safe representation. | -+-------------------+-----------+---------------+---------------------------+ - -.. _error handling values: http://www.php.net/errorfunc - -Example -~~~~~~~ -:: - - $conf = array('error_prepend' => '', - 'error_append' => ''); - $logger = Log::singleton('display', '', '', $conf, PEAR_LOG_DEBUG); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The Error_Log Handler ---------------------- -The Error_Log handler sends log events to PHP's `error_log()`_ function. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``destination`` | String | '' `(empty)` | Optional destination value| -| | | | for `error_log()`_. See | -| | | | `Error_Log Types`_ for | -| | | | more details. | -+-------------------+-----------+---------------+---------------------------+ -| ``extra_headers`` | String | '' `(empty)` | Additional headers to pass| -| | | | to the `mail()`_ function | -| | | | when the | -| | | | ``PEAR_LOG_TYPE_MAIL`` | -| | | | type is specified. | -+-------------------+-----------+---------------+---------------------------+ -| ``lineFormat`` | String | ``%2$s: %4$s``| `Log line format`_ | -| | | | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ - -Error_Log Types -~~~~~~~~~~~~~~~ -All of the available log types are detailed in the `error_log()`_ section of -the PHP manual. For your convenience, the Log package also defines the -following constants that can be used for the ``$name`` handler construction -parameter. - -+---------------------------+-----------------------------------------------+ -| Constant | Description | -+===========================+===============================================+ -| ``PEAR_LOG_TYPE_SYSTEM`` | Log events are sent to PHP's system logger, | -| | which uses the operating system's logging | -| | mechanism or a file (depending on the value | -| | of the `error_log configuration directive`_). | -+---------------------------+-----------------------------------------------+ -| ``PEAR_LOG_TYPE_MAIL`` | Log events are sent via email to the address | -| | specified in the ``destination`` value. | -+---------------------------+-----------------------------------------------+ -| ``PEAR_LOG_TYPE_DEBUG`` | Log events are sent through PHP's debugging | -| | connection. This will only work if | -| | `remote debugging`_ has been enabled. The | -| | ``destination`` value is used to specify the | -| | host name or IP address of the target socket. | -+---------------------------+-----------------------------------------------+ -| ``PEAR_LOG_TYPE_FILE`` | Log events will be appended to the file named | -| | by the ``destination`` value. | -+---------------------------+-----------------------------------------------+ -| ``PEAR_LOG_TYPE_SAPI`` | Log events will be sent directly to the SAPI | -| | logging handler. | -+---------------------------+-----------------------------------------------+ - -.. _error_log(): http://www.php.net/error_log -.. _mail(): http://www.php.net/mail -.. _error_log configuration directive: http://www.php.net/errorfunc#ini.error-log -.. _remote debugging: http://www.php.net/install.configure#install.configure.enable-debugger - -Example -~~~~~~~ -:: - - $logger = Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'ident'); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The File Handler ----------------- -The File handler writes log events to a text file using configurable string -formats. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``append`` | Boolean | True | Should new log entries be | -| | | | append to an existing log | -| | | | file, or should the a new | -| | | | log file overwrite an | -| | | | existing one? | -+-------------------+-----------+---------------+---------------------------+ -| ``locking`` | Boolean | False | Should advisory file | -| | | | locking (using flock_) be | -| | | | used? | -+-------------------+-----------+---------------+---------------------------+ -| ``mode`` | Integer | 0644 | Octal representation of | -| | | | the log file's permissions| -| | | | mode. | -+-------------------+-----------+---------------+---------------------------+ -| ``dirmode`` | Integer | 0755 | Octal representation of | -| | | | the file permission mode | -| | | | that will be used when | -| | | | creating directories that | -| | | | do not already exist. | -+-------------------+-----------+---------------+---------------------------+ -| ``eol`` | String | OS default | The end-of-line character | -| | | | sequence. | -+-------------------+-----------+---------------+---------------------------+ -| ``lineFormat`` | String | ``%1$s %2$s | `Log line format`_ | -| | | [%3$s] %4$s`` | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ - -.. _flock: http://www.php.net/flock -.. _strftime: http://www.php.net/strftime - -The file handler will only attempt to set the ``mode`` value if it was -responsible for creating the file. - -Example -~~~~~~~ -:: - - $conf = array('mode' => 0600, 'timeFormat' => '%X %x'); - $logger = Log::singleton('file', 'out.log', 'ident', $conf); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The Firebug Handler -------------------- -The Firebug handler outputs log events to the Firebug_ console. It supports -output buffering and configurable string formats. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``buffering`` | Boolean | False | Should the output be | -| | | | buffered until shutdown? | -+-------------------+-----------+---------------+---------------------------+ -| ``lineFormat`` | String | ``%2$s [%3$s] | `Log line format`_ | -| | | %4$s`` | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ - -.. _Firebug: http://www.getfirebug.com/ -.. _strftime: http://www.php.net/strftime - -Example -~~~~~~~ -:: - - $logger = Log::singleton('firebug', '', 'ident'); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The Mail Handler ----------------- - -The Mail handler aggregates a session's log events and sends them in the body -of an email message using either the `PEAR Mail`_ package or PHP's native -`mail()`_ function. - -If an empty ``mailBackend`` value is specified, the `mail()`_ function will be -used instead of the `PEAR Mail`_ package. - -Multiple recipients can be specified by separating their email addresses with -commas in the ``$name`` construction parameter. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``from`` | String | sendmail_from | Value for the message's | -| | | INI value | ``From:`` header. | -+-------------------+-----------+---------------+---------------------------+ -| ``subject`` | String | ``[Log_mail] | Value for the message's | -| | | Log message`` | ``Subject:`` header. | -+-------------------+-----------+---------------+---------------------------+ -| ``preamble`` | String | `` `(empty)` | Preamble for the message. | -+-------------------+-----------+---------------+---------------------------+ -| ``lineFormat`` | String | ``%1$s %2$s | `Log line format`_ | -| | | [%3$s] %4$s`` | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ -| ``mailBackend`` | String | `` `(empty)` | Name of the Mail package | -| | | | backend to use. | -+-------------------+-----------+---------------+---------------------------+ -| ``mailParams`` | Array | `(empty)` | Array of parameters that | -| | | | will be passed to the | -| | | | Mail package backend. | -+-------------------+-----------+---------------+---------------------------+ - -.. _PEAR Mail: http://pear.php.net/package/Mail -.. _mail(): http://www.php.net/mail - -Example -~~~~~~~ -:: - - $conf = array('subject' => 'Important Log Events'); - $logger = Log::singleton('mail', 'webmaster@example.com', 'ident', $conf); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The MDB2 Handler ----------------- -The MDB2 handler is similar to `the SQL (DB) handler`_, but instead of using -the PEAR DB package, it uses the `MDB2 database abstraction package`_. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``dsn`` | Mixed | '' `(empty)` | A `Data Source Name`_. | -| | | | |required| | -+-------------------+-----------+---------------+---------------------------+ -| ``options`` | Array | ``persistent``| An array of `MDB2`_ | -| | | | options. | -+-------------------+-----------+---------------+---------------------------+ -| ``db`` | Object | NULL | An existing `MDB2`_ | -| | | | object. If specified, | -| | | | this object will be used, | -| | | | and ``dsn`` will be | -| | | | ignored. | -+-------------------+-----------+---------------+---------------------------+ -| ``sequence`` | String | ``log_id`` | The name of the sequence | -| | | | to use when generating | -| | | | unique event IDs. Under | -| | | | many databases, this will | -| | | | be used as the name of | -| | | | the sequence table. | -+-------------------+-----------+---------------+---------------------------+ -| ``identLimit`` | Integer | 16 | The maximum length of the | -| | | | ``ident`` string. | -| | | | **Changing this value may | -| | | | require updates to the SQL| -| | | | schema, as well.** | -+-------------------+-----------+---------------+---------------------------+ -| ``singleton`` | Boolean | false | Is true, use a singleton | -| | | | database object using | -| | | | `MDB2::singleton()`_. | -+-------------------+-----------+---------------+---------------------------+ - -.. _MDB2: http://pear.php.net/package/MDB2 -.. _MDB2 database abstraction package: MDB2_ -.. _MDB2::singleton(): http://pear.php.net/package/MDB2/docs/latest/MDB2/MDB2.html#methodsingleton - -The Null Handler ----------------- -The Null handler simply consumes log events (akin to sending them to -``/dev/null``). `Log level masks`_ are respected, and the event will still be -sent to any registered `log observers`_. - -Example -~~~~~~~ -:: - - $logger = Log::singleton('null'); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The SQL (DB) Handler --------------------- - -The SQL handler sends log events to a database using `PEAR's DB abstraction -layer`_. - -**Note:** Due to the constraints of the default database schema, the SQL -handler limits the length of the ``$ident`` string to sixteen (16) characters. -This limit can be adjusted using the ``identLimit`` configuration parameter. - -The Log Table -~~~~~~~~~~~~~ -The default SQL table used by this handler looks like this:: - - CREATE TABLE log_table ( - id INT NOT NULL, - logtime TIMESTAMP NOT NULL, - ident CHAR(16) NOT NULL, - priority INT NOT NULL, - message VARCHAR(200), - PRIMARY KEY (id) - ); - -This is the "lowest common denominator" that should work across all SQL -compliant database. You may want to make database- or site-specific changes -to this schema to support your specific needs, however. For example, -`PostgreSQL`_ users may prefer to use a ``TEXT`` type for the ``message`` -field. - -.. _PostgreSQL: http://www.postgresql.org/ - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``dsn`` | Mixed | '' `(empty)` | A `Data Source Name`_. | -| | | | |required| | -+-------------------+-----------+---------------+---------------------------+ -| ``sql`` | String | |sql-default| | SQL insertion statement. | -+-------------------+-----------+---------------+---------------------------+ -| ``options`` | Array | ``persistent``| An array of `DB`_ options.| -+-------------------+-----------+---------------+---------------------------+ -| ``db`` | Object | NULL | An existing `DB`_ object. | -| | | | If specified, this object | -| | | | will be used, and ``dsn`` | -| | | | will be ignored. | -+-------------------+-----------+---------------+---------------------------+ -| ``sequence`` | String | ``log_id`` | The name of the sequence | -| | | | to use when generating | -| | | | unique event IDs. Under | -| | | | many databases, this will | -| | | | be used as the name of | -| | | | the sequence table. | -+-------------------+-----------+---------------+---------------------------+ -| ``identLimit`` | Integer | 16 | The maximum length of the | -| | | | ``ident`` string. | -| | | | **Changing this value may | -| | | | require updates to the SQL| -| | | | schema, as well.** | -+-------------------+-----------+---------------+---------------------------+ - -The name of the database table to which the log entries will be written is -specified using the ``$name`` construction parameter (see `Configuring a -Handler`_). - -.. |sql-default| replace:: ``INSERT INTO $table (id, logtime, ident, priority, message) VALUES(?, CURRENT_TIMESTAMP, ?, ?, ?)`` - -.. _DB: http://pear.php.net/package/DB -.. _PEAR's DB abstraction layer: DB_ -.. _Data Source Name: http://pear.php.net/manual/en/package.database.db.intro-dsn.php - -Examples -~~~~~~~~ -Using a `Data Source Name`_ to create a new database connection:: - - $conf = array('dsn' => 'pgsql://jon@localhost+unix/logs'); - $logger = Log::singleton('sql', 'log_table', 'ident', $conf); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - -Using an existing `DB`_ object:: - - require_once 'DB.php'; - $db = &DB::connect('pgsql://jon@localhost+unix/logs'); - - $conf['db'] = $db; - $logger = Log::singleton('sql', 'log_table', 'ident', $conf); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The Sqlite Handler ------------------- -:Author: Bertrand Mansion - -The Sqlite handler sends log events to an Sqlite database using the `native -PHP sqlite functions`_. - -It is faster than `the SQL (DB) handler`_ because requests are made directly -to the database without using an abstraction layer. It is also interesting to -note that Sqlite database files can be moved, copied, and deleted on your -system just like any other files, which makes log management easier. Last but -not least, using a database to log your events allows you to use SQL queries -to create reports and statistics. - -When using a database and logging a lot of events, it is recommended to split -the database into smaller databases. This is allowed by Sqlite, and you can -later use the Sqlite `ATTACH`_ statement to query your log database files -globally. - -If the database does not exist when the log is opened, sqlite will try to -create it automatically. If the log table does not exist, it will also be -automatically created. The table creation uses the following SQL request:: - - CREATE TABLE log_table ( - id INTEGER PRIMARY KEY NOT NULL, - logtime NOT NULL, - ident CHAR(16) NOT NULL, - priority INT NOT NULL, - message - ); - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``filename`` | String | '' `(empty)` | Path to an Sqlite | -| | | | database. |required| | -+-------------------+-----------+---------------+---------------------------+ -| ``mode`` | Integer | 0666 | Octal mode used to open | -| | | | the database. | -+-------------------+-----------+---------------+---------------------------+ -| ``persistent`` | Boolean | false | Use a persistent | -| | | | connection. | -+-------------------+-----------+---------------+---------------------------+ - -An already opened database connection can also be passed as parameter instead -of the above configuration. In this case, closing the database connection is -up to the user. - -.. _native PHP sqlite functions: http://www.php.net/sqlite -.. _ATTACH: http://www.sqlite.org/lang.html#attach - -Examples -~~~~~~~~ -Using a configuration to create a new database connection:: - - $conf = array('filename' => 'log.db', 'mode' => 0666, 'persistent' => true); - $logger = Log::factory('sqlite', 'log_table', 'ident', $conf); - $logger->log('logging an event', PEAR_LOG_WARNING); - -Using an existing connection:: - - $db = sqlite_open('log.db', 0666, $error); - $logger = Log::factory('sqlite', 'log_table', 'ident', $db); - $logger->log('logging an event', PEAR_LOG_WARNING); - sqlite_close($db); - - -The Syslog Handler ------------------- -The Syslog handler sends log events to the system logging service (syslog on -Unix-like environments or the Event Log on Windows systems). The events are -sent using PHP's `syslog()`_ function. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``inherit`` | Boolean | false | Inherit the current syslog| -| | | | connection for this | -| | | | process, or start a new | -| | | | one via `openlog()`_? | -+-------------------+-----------+---------------+---------------------------+ -| ``reopen`` | Boolean | false | Reopen the syslog | -| | | | connection for each log | -| | | | event? | -+-------------------+-----------+---------------+---------------------------+ -| ``maxLength`` | Integer | 500 | Maximum message length | -| | | | that will be sent to the | -| | | | `syslog()`_ function. | -| | | | Longer messages will be | -| | | | split across multiple | -| | | | `syslog()`_ calls. | -+-------------------+-----------+---------------+---------------------------+ -| ``lineFormat`` | String | ``%4$s`` | `Log line format`_ | -| | | | specification. | -+-------------------+-----------+---------------+---------------------------+ -| ``timeFormat`` | String | ``%b %d | Time stamp format | -| | | %H:%M:%S`` | (for strftime_). | -+-------------------+-----------+---------------+---------------------------+ - -Facilities -~~~~~~~~~~ -+-------------------+-------------------------------------------------------+ -| Constant | Category Description | -+===================+=======================================================+ -| ``LOG_AUTH`` | Security / authorization messages; ``LOG_AUTHPRIV`` is| -| | preferred on systems where it is defined. | -+-------------------+-------------------------------------------------------+ -| ``LOG_AUTHPRIV`` | Private security / authorization messages | -+-------------------+-------------------------------------------------------+ -| ``LOG_CRON`` | Clock daemon (``cron`` and ``at``) | -+-------------------+-------------------------------------------------------+ -| ``LOG_DAEMON`` | System daemon processes | -+-------------------+-------------------------------------------------------+ -| ``LOG_KERN`` | Kernel messages | -+-------------------+-------------------------------------------------------+ -| ``LOG_LOCAL0`` .. | Reserved for local use; **not** available under | -| ``LOG_LOCAL7`` | Windows. | -+-------------------+-------------------------------------------------------+ -| ``LOG_LPR`` | Printer subsystem | -+-------------------+-------------------------------------------------------+ -| ``LOG_MAIL`` | Mail subsystem | -+-------------------+-------------------------------------------------------+ -| ``LOG_NEWS`` | USENET news subsystem | -+-------------------+-------------------------------------------------------+ -| ``LOG_SYSLOG`` | Internal syslog messages | -+-------------------+-------------------------------------------------------+ -| ``LOG_USER`` | Generic user-level messages | -+-------------------+-------------------------------------------------------+ -| ``LOG_UUCP`` | UUCP subsystem | -+-------------------+-------------------------------------------------------+ - -.. _syslog(): http://www.php.net/syslog -.. _openlog(): http://www.php.net/openlog - -Example -~~~~~~~ -:: - - $logger = Log::singleton('syslog', LOG_LOCAL0, 'ident'); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -The Window Handler ------------------- -The Window handler sends log events to a separate browser window. The -original idea for this handler was inspired by Craig Davis' Zend.com article -entitled `"JavaScript Power PHP Debugging"`_. - -Configuration -~~~~~~~~~~~~~ -+-------------------+-----------+---------------+---------------------------+ -| Parameter | Type | Default | Description | -+===================+===========+===============+===========================+ -| ``title`` | String | ``Log Output | The title of the output | -| | | Window`` | window. | -+-------------------+-----------+---------------+---------------------------+ -| ``styles`` | Array | `ROY G BIV`_ | Mapping of log priorities | -| | | (high to low) | to CSS styles. | -+-------------------+-----------+---------------+---------------------------+ - -**Note:** The Window handler may not work reliably when PHP's `output -buffering`_ system is enabled. - -.. _"JavaScript Power PHP Debugging": http://www.zend.com/zend/tut/tutorial-DebugLib.php -.. _ROY G BIV: http://www.cis.rit.edu/ -.. _output buffering: http://www.php.net/outcontrol - -Example -~~~~~~~ -:: - - $conf = array('title' => 'Sample Log Output'); - $logger = Log::singleton('win', 'LogWindow', 'ident', $conf); - for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); - } - - -Composite Handlers -================== -It is often useful to log events to multiple handlers. The Log package -provides a compositing system that marks this task trivial. - -Start by creating the individual log handlers:: - - $console = Log::factory('console', '', 'TEST'); - $file = Log::factory('file', 'out.log', 'TEST'); - -Then, construct a composite handler and add the individual handlers as -children of the composite:: - - $composite = Log::singleton('composite'); - $composite->addChild($console); - $composite->addChild($file); - -The composite handler implements the standard ``Log`` interface so you can use -it just like any of the other handlers:: - - $composite->log('This event will be logged to both handlers.'); - -Children can be removed from the composite when they're not longer needed:: - - $composite->removeChild($file); - - -Log Observers -============= -Log observers provide an implementation of the `observer pattern`_. In the -content of the Log package, they provide a mechanism by which you can examine -(i.e. observe) each event as it is logged. This allows the implementation of -special behavior based on the contents of a log event. For example, the -observer code could send an alert email if a log event contained the string -``PANIC``. - -Creating a log observer involves implementing a subclass of the -``Log_observer`` class. The subclass must override the base class's -``notify()`` method. This method is passed a hash containing the event's -priority and event. The subclass's implementation is free to act upon this -information in any way it likes. - -Log observers are attached to ``Log`` instances via the ``attach()`` method:: - - $observer = Log_observer::factory('yourType'); - $logger->attach($observer); - -Observers can be detached using the ``detach()`` method:: - - $logger->detach($observer); - -At this time, no concrete ``Log_observer`` implementations are distributed -with the Log package. - -.. _observer pattern: http://wikipedia.org/wiki/Observer_pattern - - -Logging From Standard Error Handlers -==================================== - -Logging PHP Errors ------------------- -PHP's default error handler can be overridden using the `set_error_handler()`_ -function. The custom error handling function can use a global Log instance to -log the PHP errors. - -**Note:** Fatal PHP errors cannot be handled by a custom error handler at this -time. - -:: - - function errorHandler($code, $message, $file, $line) - { - global $logger; - - /* Map the PHP error to a Log priority. */ - switch ($code) { - case E_WARNING: - case E_USER_WARNING: - $priority = PEAR_LOG_WARNING; - break; - case E_NOTICE: - case E_USER_NOTICE: - $priority = PEAR_LOG_NOTICE; - break; - case E_ERROR: - case E_USER_ERROR: - $priority = PEAR_LOG_ERR; - break; - default: - $priority = PEAR_LOG_INFO; - } - - $logger->log($message . ' in ' . $file . ' at line ' . $line, - $priority); - } - - set_error_handler('errorHandler'); - trigger_error('This is an information log message.', E_USER_NOTICE); - -.. _set_error_handler(): http://www.php.net/set_error_handler - -Logging PHP Assertions ----------------------- -PHP allows user-defined `assert()`_ callback handlers. The assertion callback -is configured using the `assert_options()`_ function. - -:: - - function assertCallback($file, $line, $message) - { - global $logger; - - $logger->log($message . ' in ' . $file . ' at line ' . $line, - PEAR_LOG_ALERT); - } - - assert_options(ASSERT_CALLBACK, 'assertCallback'); - assert(false); - -.. _assert(): http://www.php.net/assert -.. _assert_options(): http://www.php.net/assert_options - -Logging PHP Exceptions ----------------------- -PHP 5 and later support the concept of `exceptions`_. A custom exception -handler can be assigned using the `set_exception_handler()`_ function. - -:: - - function exceptionHandler($exception) - { - global $logger; - - $logger->log($exception->getMessage(), PEAR_LOG_ALERT); - } - - set_exception_handler('exceptionHandler'); - throw new Exception('Uncaught Exception'); - -.. _exceptions: http://www.php.net/exceptions -.. _set_exception_handler(): http://www.php.net/set_exception_handler - -Logging PEAR Errors -------------------- -The Log package can be used with `PEAR::setErrorHandling()`_'s -``PEAR_ERROR_CALLBACK`` mechanism by writing an error handling function that -uses a global Log instance. Here's an example:: - - function errorHandler($error) - { - global $logger; - - $message = $error->getMessage(); - - if (!empty($error->backtrace[1]['file'])) { - $message .= ' (' . $error->backtrace[1]['file']; - if (!empty($error->backtrace[1]['line'])) { - $message .= ' at line ' . $error->backtrace[1]['line']; - } - $message .= ')'; - } - - $logger->log($message, $error->code); - } - - PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'errorHandler'); - PEAR::raiseError('This is an information log message.', PEAR_LOG_INFO); - -.. _PEAR::setErrorHandling(): http://pear.php.net/manual/en/core.pear.pear.seterrorhandling.php - - -Custom Handlers -=============== -There are times when the standard handlers aren't a perfect match for your -needs. In those situations, the solution might be to write a custom handler. - -Using a Custom Handler ----------------------- -Using a custom Log handler is very simple. Once written (see `Writing New -Handlers`_ and `Extending Existing Handlers`_ below), you have the choice of -placing the file in your PEAR installation's main ``Log/`` directory (usually -something like ``/usr/local/lib/php/Log`` or ``C:\php\pear\Log``), where it -can be found and use by any PHP application on the system, or placing the file -somewhere in your application's local hierarchy and including it before the -the custom Log object is constructed. - -Method 1: Handler in the Standard Location -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -After copying the handler file to your PEAR installation's ``Log/`` directory, -simply treat the handler as if it were part of the standard distributed. If -your handler is named ``custom`` (and therefore implemented by a class named -``Log_custom``):: - - require_once 'Log.php'; - - $logger = Log::factory('custom', '', 'CUSTOM'); - - -Method 2: Handler in a Custom Location -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you prefer storing your handler in your application's local hierarchy, -you'll need to include that file before you can create a Log instance based on -it. - -:: - - require_once 'Log.php'; - require_once 'LocalHandlers/custom.php'; - - $logger = Log::factory('custom', '', 'CUSTOM'); - - -Writing New Handlers --------------------- -Writing a new Log handler is as simple as authoring a new class that extends -the ``Log`` class and that implements a relatively small set of standard -methods. - -Every handler's class name must start with ``Log_`` in order for it to be -recognized by the Log package. - -:: - - class Log_custom extends Log - -The handler's constructor will be called with four parameters. These values -are discussed in detail in the `Configuring a Handler`_ section. - -:: - - Log_custom($name, $ident = '', $conf = array(), $level = PEAR_LOG_DEBUG) - -The constructor is responsible for configuring the handler based on these -values. Handler-specific parameters are passed as part of the ``$conf`` -array. At a minimum, the handler's constructor must set the following values -defined by the ``Log`` base class:: - - $this->_id = md5(microtime().rand()); - $this->_name = $name; - $this->_ident = $ident; - $this->_mask = Log::UPTO($level); - -The `Handler Methods`_ section below details the various standard methods that -can be implemented by a log handler. The `Utility Methods`_ section describes -some useful utility methods provided by the ``Log`` base class which may be -useful when implementing a log handler. - - -Extending Existing Handlers ---------------------------- -Extending existing handlers is very similar to `writing new handlers`_ with -the exception that, instead of inheriting from the ``Log`` base class -directly, the handler extends an existing handler's class. This is a useful -way of adding some custom behavior to an existing handler without writing an -entirely new class (in the spirit of object-oriented programming). - -For example, `the mail handler`_ could be extended to support sending messages -with MIME-encoded attachments simply by authoring a new ``Log_mail_mime`` -class with a compliant constructor and a custom ``log()`` method. The rest of -the standard methods would fall back on the ``Log_mail`` base class's -implementations. - -Obviously, the specific details involved in extending an existing handler -require a good working understanding of that handler's implementation. - - -Handler Methods ---------------- - -bool open() -~~~~~~~~~~~ -The ``open()`` method is called to open the log resource for output. Handlers -can call ``open()`` immediately upon construction or lazily at runtime -(perhaps when the first log event is received). - -The ``Log`` base class provides a protected ``$_opened`` member variable which -should be set to ``true`` when the log handler is opened and ``false`` when it -is closed. Handler methods can inspect this value to determine whether or not -the handler is currently open and ready for output. - -If the ``open()`` method fails to ready the handler for output, it should -return ``false`` and set ``$this->_opened`` to ``false``. - -bool close() -~~~~~~~~~~~~ -The ``close()`` method is called to close the log resource. This method is -the analog of the ``open()`` method. It should be safe to call ``close()`` -even when the handler is not open for output. - -If the ``close()`` method fails to close the handler, it should return -``false``. Otherwise, it should return ``true``. The ``$this->_opened`` -flag should also be updated appropriately. - -bool flush() -~~~~~~~~~~~~ -The ``flush()`` method flushes any buffered log events, as described in -`Flushing Log Events`_. The implementation of this method will be largely -handler-specific. If the handler does not support buffered output, -implementing this method is not necessary; the ``Log`` class's ``flush()`` -method will be called instead. - -bool log($message, $priority = null) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The ``log()`` method is the core of every log handler. It is called whenever -the user wishes to log an event. The implementation of this method is very -handler-specific. It should return ``true`` or ``false``, depending on -whether or not the message was successfully logged by the handler. - -The ``log()`` implementation should be sure to call `_announce()`__ whenever -an event is successfully logged. - -.. __: `void _announce($event)`_ - -Utility Methods ---------------- -These utility methods are provided by the ``Log`` base class and provide -common, useful functionality to handler implementations. - -string _extractMessage($message) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -This method returns the string representation of the provided message data. - -If ``$message`` is an object, ``_extractMessage()`` will attempt to extract -the message text using a known method (such as a `PEAR_Error`_ object's -`getMessage()`_ method). If a known method, cannot be found, the serialized -representation of the object will be returned. - -If the message data is already a string, it will be returned unchanged. - -.. _PEAR_Error: http://pear.php.net/manual/en/core.pear.pear-error.php -.. _getMessage(): http://pear.php.net/manual/en/core.pear.pear-error.getmessage.php - -string _format($format, $timestamp, $priority, $message) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -This method produces a formatted log line based on a format string and a set -of `tokens`_ representing the current log record and state. - -.. _tokens: `Log Line Format`_ - -bool _isMasked($priority) -~~~~~~~~~~~~~~~~~~~~~~~~~ -This method checks if the given priority is included in the handler's current -level mask. This is useful for determining whether or not a log event should -be written to the handler's log. - -void _announce($event) -~~~~~~~~~~~~~~~~~~~~~~ -This method informs any registered `log observers`_ that a new event has been -logged. ``$event`` is an array containing two named elements:: - - array('priority' => $priority, 'message' => $message) - -``_announce()`` should be called from a handler's `log()`_ method whenever an -event is successfully logged. Otherwise, registered observers will never -become aware of the event. - -.. _log(): `bool log($message, $priority = null)`_ - -.. |required| replace:: **[required]** - -.. vim: tabstop=4 shiftwidth=4 softtabstop=4 expandtab textwidth=78 ft=rst: diff --git a/modules/blockrss/vendor/pear/log/docs/index.php b/modules/blockrss/vendor/pear/log/docs/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/log/docs/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/log/examples/composite.php b/modules/blockrss/vendor/pear/log/examples/composite.php deleted file mode 100644 index 08f436ea8..000000000 --- a/modules/blockrss/vendor/pear/log/examples/composite.php +++ /dev/null @@ -1,12 +0,0 @@ -addChild($console); -$composite->addChild($file); - -$composite->log('This event will be logged to both handlers.'); diff --git a/modules/blockrss/vendor/pear/log/examples/console.php b/modules/blockrss/vendor/pear/log/examples/console.php deleted file mode 100644 index 9462f9c78..000000000 --- a/modules/blockrss/vendor/pear/log/examples/console.php +++ /dev/null @@ -1,8 +0,0 @@ -log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/display.php b/modules/blockrss/vendor/pear/log/examples/display.php deleted file mode 100644 index 0453cbcf2..000000000 --- a/modules/blockrss/vendor/pear/log/examples/display.php +++ /dev/null @@ -1,10 +0,0 @@ - '', - 'error_append' => ''); -$logger = &Log::singleton('display', '', '', $conf, PEAR_LOG_DEBUG); -for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/error_log.php b/modules/blockrss/vendor/pear/log/examples/error_log.php deleted file mode 100644 index 446435bfc..000000000 --- a/modules/blockrss/vendor/pear/log/examples/error_log.php +++ /dev/null @@ -1,8 +0,0 @@ -log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/file.php b/modules/blockrss/vendor/pear/log/examples/file.php deleted file mode 100644 index 8b6fd8d5c..000000000 --- a/modules/blockrss/vendor/pear/log/examples/file.php +++ /dev/null @@ -1,9 +0,0 @@ - 0600, 'timeFormat' => '%X %x'); -$logger = &Log::singleton('file', 'out.log', 'ident', $conf); -for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/firebug.php b/modules/blockrss/vendor/pear/log/examples/firebug.php deleted file mode 100644 index f86c0623e..000000000 --- a/modules/blockrss/vendor/pear/log/examples/firebug.php +++ /dev/null @@ -1,12 +0,0 @@ - true), - PEAR_LOG_DEBUG); - -for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/index.php b/modules/blockrss/vendor/pear/log/examples/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/log/examples/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/log/examples/mail.php b/modules/blockrss/vendor/pear/log/examples/mail.php deleted file mode 100644 index 8207c98ca..000000000 --- a/modules/blockrss/vendor/pear/log/examples/mail.php +++ /dev/null @@ -1,9 +0,0 @@ - 'Important Log Events'); -$logger = &Log::singleton('mail', 'webmaster@example.com', 'ident', $conf); -for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/null.php b/modules/blockrss/vendor/pear/log/examples/null.php deleted file mode 100644 index deb807653..000000000 --- a/modules/blockrss/vendor/pear/log/examples/null.php +++ /dev/null @@ -1,8 +0,0 @@ -log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/observer_mail.php b/modules/blockrss/vendor/pear/log/examples/observer_mail.php deleted file mode 100644 index 5cfb77086..000000000 --- a/modules/blockrss/vendor/pear/log/examples/observer_mail.php +++ /dev/null @@ -1,30 +0,0 @@ -Log_observer($priority); - - /* Configure the observer. */ - $this->_to = $conf['to']; - $this->_subject = $conf['subject']; - $this->_pattern = $conf['pattern']; - } - - function notify($event) - { - if (preg_match($this->_pattern, $event['message']) != 0) { - mail($this->_to, $this->_subject, $event['message']); - } - } -} - -?> diff --git a/modules/blockrss/vendor/pear/log/examples/pear_error_handler.php b/modules/blockrss/vendor/pear/log/examples/pear_error_handler.php deleted file mode 100644 index 988f95e8f..000000000 --- a/modules/blockrss/vendor/pear/log/examples/pear_error_handler.php +++ /dev/null @@ -1,25 +0,0 @@ -getMessage(); - - if (!empty($error->backtrace[1]['file'])) { - $message .= ' (' . $error->backtrace[1]['file']; - if (!empty($error->backtrace[1]['line'])) { - $message .= ' at line ' . $error->backtrace[1]['line']; - } - $message .= ')'; - } - - $logger->log($message, $error->code); -} - -$logger = &Log::singleton('console', '', 'ident'); - -PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'errorHandler'); -PEAR::raiseError('This is an information log message.', PEAR_LOG_INFO); diff --git a/modules/blockrss/vendor/pear/log/examples/php_error_handler.php b/modules/blockrss/vendor/pear/log/examples/php_error_handler.php deleted file mode 100644 index 5ee8bfb94..000000000 --- a/modules/blockrss/vendor/pear/log/examples/php_error_handler.php +++ /dev/null @@ -1,34 +0,0 @@ -log($message . ' in ' . $file . ' at line ' . $line, - $priority); -} - -$logger = &Log::singleton('console', '', 'ident'); - -set_error_handler('errorHandler'); -trigger_error('This is an information log message.', E_USER_NOTICE); diff --git a/modules/blockrss/vendor/pear/log/examples/sql.php b/modules/blockrss/vendor/pear/log/examples/sql.php deleted file mode 100644 index e78a60ccf..000000000 --- a/modules/blockrss/vendor/pear/log/examples/sql.php +++ /dev/null @@ -1,9 +0,0 @@ - 'pgsql://jon@localhost+unix/logs'); -$logger = &Log::singleton('sql', 'log_table', 'ident', $conf); -for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/sqlite.php b/modules/blockrss/vendor/pear/log/examples/sqlite.php deleted file mode 100644 index cf2d9c4cd..000000000 --- a/modules/blockrss/vendor/pear/log/examples/sqlite.php +++ /dev/null @@ -1,14 +0,0 @@ - 'log.db', 'mode' => 0666, 'persistent' => true); -$logger =& Log::factory('sqlite', 'log_table', 'ident', $conf); -$logger->log('logging an event', PEAR_LOG_WARNING); - -/* Using an existing database connection. */ -$db = sqlite_open('log.db', 0666, $error); -$logger =& Log::factory('sqlite', 'log_table', 'ident', $db); -$logger->log('logging an event', PEAR_LOG_WARNING); -sqlite_close($db); diff --git a/modules/blockrss/vendor/pear/log/examples/syslog.php b/modules/blockrss/vendor/pear/log/examples/syslog.php deleted file mode 100644 index 288e81c20..000000000 --- a/modules/blockrss/vendor/pear/log/examples/syslog.php +++ /dev/null @@ -1,8 +0,0 @@ -log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/examples/win.php b/modules/blockrss/vendor/pear/log/examples/win.php deleted file mode 100644 index dba66c4d2..000000000 --- a/modules/blockrss/vendor/pear/log/examples/win.php +++ /dev/null @@ -1,9 +0,0 @@ - 'Sample Log Output'); -$logger = &Log::singleton('win', 'LogWindow', 'ident', $conf); -for ($i = 0; $i < 10; $i++) { - $logger->log("Log entry $i"); -} diff --git a/modules/blockrss/vendor/pear/log/index.php b/modules/blockrss/vendor/pear/log/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/log/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/log/misc/index.php b/modules/blockrss/vendor/pear/log/misc/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/log/misc/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/log/misc/log.sql b/modules/blockrss/vendor/pear/log/misc/log.sql deleted file mode 100644 index 9ec483c6c..000000000 --- a/modules/blockrss/vendor/pear/log/misc/log.sql +++ /dev/null @@ -1,10 +0,0 @@ --- $Id$ - -CREATE TABLE log_table ( - id INT NOT NULL, - logtime TIMESTAMP NOT NULL, - ident CHAR(16) NOT NULL, - priority INT NOT NULL, - message VARCHAR(200), - PRIMARY KEY (id) -); diff --git a/modules/blockrss/vendor/pear/log/package.xml b/modules/blockrss/vendor/pear/log/package.xml deleted file mode 100644 index 0073d4c8c..000000000 --- a/modules/blockrss/vendor/pear/log/package.xml +++ /dev/null @@ -1,611 +0,0 @@ - - - Log - pear.php.net - Logging Framework - The Log package provides an abstracted logging framework. It includes output handlers for log files, databases, syslog, email, Firebug, and the console. It also provides composite and subject-observer logging mechanisms. - - Jon Parise - jon - jon@php.net - yes - - - Chuck Hagenbuch - chagenbu - chuck@horde.org - yes - - - Jan Schneider - yunosh - jan@horde.org - yes - - 2021-05-04 - - - 1.13.3 - 1.0.0 - - - stable - stable - - MIT License - -Support versions 1.0.1 and 1.0.2 of pear/pear_exception. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5.0.0 - - - 1.4.3 - - - - - DB - pear.php.net - 1.3 - - - MDB2 - pear.php.net - 2.0.0RC1 - - - Mail - pear.php.net - - - sqlite - - - - - - - - 1.13.1 - 1.0.0 - - - stable - stable - - 2016-04-16 - MIT License - -Use rand() to make instance identifiers more unique than microtime()'s resolution. - - - - - 1.13.0 - 1.0.0 - - - stable - stable - - 2016-04-03 - MIT License - -Deprecate PHP4-style constructors. - - - - - 1.12.9 - 1.0.0 - - - stable - stable - - 2015-06-14 - MIT License - -Updating the pear/pear_exception dependency to a stable release. - - - - - 1.12.8 - 1.0.0 - - - stable - stable - - 2014-07-14 - MIT License - -- The syslog handler now emits PEAR_LOG_* priorities. (pear/Log#1) - - - - - 1.12.7 - 1.0.0 - - - stable - stable - - 2011-09-18 - MIT License - -- The 'firebug' handler is now usable with Chrome, as well. (Request 18617) -- The 'observer' code now longer generates deprecated return value reference notices. (Bug 18830) - - - - - 1.12.6 - 1.0.0 - - - stable - stable - - 2011-05-25 - MIT License - -- Improved the console handler's stream handling. (Bug 17874) -- Added a 'reopen' configuration parameter to the syslog handler. (Request 18185) -- The backtrace depth is now configurable via setBacktraceDepth(). (Request 18423) - - - - - 1.12.5 - 1.0.0 - - - stable - stable - - 2010-12-22 - MIT License - -- Corrected the "levels" unit test on 32-bit systems. (Bug 18099) -- Corrected quote handling in Firebug console output. (Bug 18141) - - - - - 1.12.4 - 1.0.0 - - - stable - stable - - 2010-12-05 - MIT License - -- The display handler now has a 'rawText' configuration option that disables HTML-safe message text conversion. -- Improved the way that the composite handler stores references its children. - - - - - 1.12.3 - 1.0.0 - - - stable - stable - - 2010-09-27 - MIT License - -- The unit tests now set the timezone. (Bug 17830) -- The composite handler now opens child handlers lazily (on demand). (Bug 17785) - - - - - 1.12.2 - 1.0.0 - - - stable - stable - - 2010-08-28 - MIT License - -- Use PHP5-specific static method notation to avoid strict warnings. (Bug: 17509) -- Fixing some potential undefined backtrace references. (Bug: 17738) -- Adding `lineFormat` and `timeFormat` configuration variables to the syslog handler. (Request: 17753) - - - - - 1.12.1 - 1.0.0 - - - stable - stable - - 2010-05-28 - MIT License - -Fixing a rare notice when extracting the class name from a backtrace involving the composite handler. (Bug 17356) - - - - - 1.12.0 - 1.0.0 - - - stable - stable - - 2010-01-24 - MIT License - -This release drops PHP4 compatibility (enforced by the package dependencies). - -There is unfortunately no way to support both PHP4 and PHP5 in the same code base when running under E_ALL. Because it appears that the majority of Log package users have moved to PHP5, the Log package now targets that audience. - -Given the fact that the Log package is now largely in maintenance mode, existing PHP4 users shouldn't feel adandoned. If necessary, important fixes, etc. can be merged back into the 1.11.* release line, which will retain PHP4 compatibility. - -Also: -- Added a PEAR_LOG_TYPE_SAPI constant for use by with error_log handler. - - - - - 1.12.0RC1 - 1.0.0 - - - beta - stable - - 2009-12-27 - MIT License - -This release drops PHP4 compatibility (enforced by the package dependencies). - -There is unfortunately no way to support both PHP4 and PHP5 in the same code base when running under E_ALL. Because it appears that the majority of Log package users have moved to PHP5, the Log package now targets that audience. - -Given the fact that the Log package is now largely in maintenance mode, existing PHP4 users shouldn't feel adandoned. If necessary, important fixes, etc. can be merged back into the 1.11.* release line, which will retain PHP4 compatibility. - - - - - 1.11.6 - 1.0.0 - - - stable - stable - - 2009-12-26 - MIT License - -The syslog handler's maximum message length is now configurable via a new 'maxLength' configuration variable. If the handler receives a message longer than this length limit, it will be split into multiple syslog() calls. - - - - - 1.11.5 - 1.0.0 - - - stable - stable - - 2009-07-23 - MIT License - -- The class name is now reported correctly when the shortcut functions are used. (Bug #16452) - - - - - 1.11.4 - 1.0.0 - - - stable - stable - - 2009-03-29 - MIT License - -- The window handler now works when output buffering is enabled. (Bug 15379) -- The window handler will now scroll to the bottom when clicked. (Kevin Wood) - - - - - 1.11.3 - 1.0.0 - - - stable - stable - - 2008-11-18 - MIT License - -- It is now possible to configure the error_log handler's line and timestamp formats. (Bug #14655) -- Added _extractMessage() support for non-scalar array('message' => ...) values. -- Spaces in 'win' handler window names are now replaced with underscores. -- Added a class name format token: %8$s - - - - - 1.11.2 - 1.0.0 - - - stable - stable - - 2008-09-04 - MIT License - -- Correcting some breakage in Log::_getBacktraceVars(). (Bug 14595) - - - - - 1.11.1 - 1.0.0 - - - stable - stable - - 2008-08-05 - MIT License - -- Log::_getBacktraceVars() no longer produces notices. (Bug 14398) -- Log::_extractMessage() now uses var_export() instead of print_r(). (Bug 14430) - - - - - 1.11.0 - 1.0.0 - - - stable - stable - - 2008-06-14 - MIT License - -Relicensing the Log package under the MIT license. - - - - - 1.10.1 - 1.0.0 - - - stable - stable - - 2008-05-03 - PHP License - -- The default value for the display handler's lineBreak configuration value wasn't being applied. (Bug 13436) - - - - - 1.10.0 - 1.0.0 - - - stable - stable - - 2008-02-10 - PHP License - -- The level masking test now passed on 64-bit platforms. (Bug 12933) -- The mail handler can now optionally use the PEAR Mail package. (Request 12839) - - - - - 1.9.16 - 1.0.0 - - - stable - stable - - 2008-01-19 - PHP License - -- Corrected some PHPDoc syntax problems. -- Correcting some spelling errors in the users guide. -- Fixed the firebug unit test. -- Simplified the PEAR_LOG_ALL and PEAR_LOG_NONE constants. - - - - - 1.9.15 - 1.0.0 - - - stable - stable - - 2008-01-19 - PHP License - -- The Firebug handler now avoids more Javascript errors in IE. (Bug 12810) - - - - - 1.9.14 - 1.0.0 - - - stable - stable - - 2008-01-01 - PHP License - -- The sql handler wasn't honoring custom SQL insertion statements. (Bug 12734) -- The display handler now has a configurable line format. (Request 12781) - - - - - 1.9.13 - 1.0.0 - - - stable - stable - - 2007-12-12 - PHP License - -- The Firebug handler's unit test now passes. (Bug 12674) -- Fixed a PHP4 compatibility problem involving class_exists(). (Bug 12675) - - - - - 1.9.12 - 1.0.0 - - - stable - stable - - 2007-12-11 - PHP License - -- The Firebug handler no longer generates Javascript errors in IE. (Bug 12607) -- The users guide has been updated with information on writing custom handlers. - - - - - 1.9.11 - 1.0.0 - - - stable - stable - - 2007-05-13 - PHP License - -A Firebug log handler has been added. - - - - - 1.9.10 - 1.0.0 - - - stable - stable - - 2007-02-04 - PHP License - -The syslog handler now has an 'inherit' configuration parameter which controls whether or openlog() is called to create a new syslog environment. (Bug 9822) -fflush() is now always called with a valid resource. (Bug 9388) -The mail handler, when composited, no longer sends empty messages. (Bug 8865) - - - - diff --git a/modules/blockrss/vendor/pear/log/tests/backtrace.phpt b/modules/blockrss/vendor/pear/log/tests/backtrace.phpt deleted file mode 100644 index 6506d258d..000000000 --- a/modules/blockrss/vendor/pear/log/tests/backtrace.phpt +++ /dev/null @@ -1,76 +0,0 @@ ---TEST-- -Log: Backtrace Vars ---INI-- -date.timezone=UTC ---FILE-- - '%6$s [%8$s::%7$s] %4$s'); -$logger = Log::singleton('console', '', 'ident', $conf); - -# Top-level Logger -# -$logger->log("Top-level Logger - log()"); -$logger->info("Top-level Logger - info()"); - -# Function Logger -# -function functionLog($logger) -{ - $logger->log("Function Logger - log()"); - $logger->info("Function Logger - info()"); -} - -functionLog($logger); - -# Class Logger -# -class ClassLogger -{ - function log($logger) - { - $logger->log("Class Logger - log()"); - $logger->info("Class Logger - info()"); - } -} - -$classLogger = new ClassLogger(); -$classLogger->log($logger); - -# Composite Logger -# -$composite = Log::singleton('composite'); -$composite->addChild($logger); - -$composite->log("Composite Logger - log()"); -$composite->info("Composite Logger - info()"); - -# Composite Logger via Class -# -$classLogger->log($composite); - -# Deeper Backtrace -function deeperLog($logger) -{ - $logger->log("Deeper Logger - log()"); - $logger->info("Deeper Logger - info()"); -} - -$logger->setBacktraceDepth(1); -deeperLog($logger); - ---EXPECT-- -10 [::(none)] Top-level Logger - log() -11 [::(none)] Top-level Logger - info() -17 [::functionLog] Function Logger - log() -18 [::functionLog] Function Logger - info() -29 [ClassLogger::log] Class Logger - log() -30 [ClassLogger::log] Class Logger - info() -42 [::(none)] Composite Logger - log() -43 [::(none)] Composite Logger - info() -29 [ClassLogger::log] Class Logger - log() -30 [ClassLogger::log] Class Logger - info() -57 [::(none)] Deeper Logger - log() -53 [::deeperLog] Deeper Logger - info() diff --git a/modules/blockrss/vendor/pear/log/tests/composite.phpt b/modules/blockrss/vendor/pear/log/tests/composite.phpt deleted file mode 100644 index 9f8a64ce8..000000000 --- a/modules/blockrss/vendor/pear/log/tests/composite.phpt +++ /dev/null @@ -1,97 +0,0 @@ ---TEST-- -Log: Composite Handler ---INI-- -date.timezone=UTC ---FILE-- -_opened) ? 'OPEN' : 'CLOSED'; - echo "$child->_ident : $state\n"; - } -} - -function printIdents($children) { - foreach ($children as $child) { - echo "$child->_ident\n"; - } -} - -function testPriority($composite, $priority) { - $log = new Log; - $name = $log->priorityToString($priority); - $success = $composite->log($name, $priority); - echo "$name : " . (($success) ? 'GOOD' : 'BAD') . "\n"; -} - -/* Create three handlers with different priority masks. */ -$conf = array('lineFormat' => '%2$s [%3$s] %4$s'); -$children = array( - Log::factory('console', '', 'CONSOLE1', $conf), - Log::factory('console', '', 'CONSOLE2', $conf), - Log::factory('console', '', 'CONSOLE3', $conf) -); - -$children[0]->setMask(Log::MASK(PEAR_LOG_DEBUG)); -$children[1]->setMask(Log::MASK(PEAR_LOG_INFO)); -$children[2]->setMask(Log::MASK(PEAR_LOG_ERR)); - -$composite = Log::singleton('composite'); -$composite->addChild($children[0]); -$composite->addChild($children[1]); -$composite->addChild($children[2]); - -/* Verify that all of the children are initially closed. */ -printOpenStates($children); - -/* Verify that the composite handler's open() opens all of the children. */ -$composite->open(); -printOpenStates($children); - -/* Verify that the composite handler's close() closes all of the children. */ -$composite->close(); -printOpenStates($children); - -/* Verify the log results at different priorities. */ -testPriority($composite, PEAR_LOG_DEBUG); -printOpenStates($children); -testPriority($composite, PEAR_LOG_INFO); -printOpenStates($children); -testPriority($composite, PEAR_LOG_ERR); -printOpenStates($children); - -/* Verify that changing the ident affects all children. */ -$composite->setIdent('IDENT'); -printIdents($children); - ---EXPECT-- -CONSOLE1 : CLOSED -CONSOLE2 : CLOSED -CONSOLE3 : CLOSED -CONSOLE1 : OPEN -CONSOLE2 : OPEN -CONSOLE3 : OPEN -CONSOLE1 : CLOSED -CONSOLE2 : CLOSED -CONSOLE3 : CLOSED -CONSOLE1 [debug] debug -debug : GOOD -CONSOLE1 : OPEN -CONSOLE2 : CLOSED -CONSOLE3 : CLOSED -CONSOLE2 [info] info -info : GOOD -CONSOLE1 : OPEN -CONSOLE2 : OPEN -CONSOLE3 : CLOSED -CONSOLE3 [error] error -error : GOOD -CONSOLE1 : OPEN -CONSOLE2 : OPEN -CONSOLE3 : OPEN -IDENT -IDENT -IDENT diff --git a/modules/blockrss/vendor/pear/log/tests/console.phpt b/modules/blockrss/vendor/pear/log/tests/console.phpt deleted file mode 100644 index dde0fd98c..000000000 --- a/modules/blockrss/vendor/pear/log/tests/console.phpt +++ /dev/null @@ -1,45 +0,0 @@ ---TEST-- -Log: Console Handler ---INI-- -date.timezone=UTC ---FILE-- - '%2$s [%3$s] %4$s'); -$logger = Log::singleton('console', '', 'ident', $conf); -for ($i = 0; $i < 3; $i++) { - $logger->log("Log entry $i"); -} - -echo "\n[Buffering / Flush Test]\n"; -$conf = array('lineFormat' => '%2$s [%3$s] %4$s', 'buffering' => true); -$buffered_logger = Log::singleton('console', '', 'buffered', $conf); -for ($i = 0; $i < 3; $i++) { - $buffered_logger->log("Pre-flush buffered log entry $i"); -} -echo "Pre-flush\n"; -$buffered_logger->flush(); -echo "Post-flush\n"; -for ($i = 0; $i < 3; $i++) { - $buffered_logger->log("Post-flush buffered log entry $i"); -} -echo "Shutdown\n"; -$buffered_logger->close(); - ---EXPECT-- -ident [info] Log entry 0 -ident [info] Log entry 1 -ident [info] Log entry 2 - -[Buffering / Flush Test] -Pre-flush -buffered [info] Pre-flush buffered log entry 0 -buffered [info] Pre-flush buffered log entry 1 -buffered [info] Pre-flush buffered log entry 2 -Post-flush -Shutdown -buffered [info] Post-flush buffered log entry 0 -buffered [info] Post-flush buffered log entry 1 -buffered [info] Post-flush buffered log entry 2 diff --git a/modules/blockrss/vendor/pear/log/tests/display.phpt b/modules/blockrss/vendor/pear/log/tests/display.phpt deleted file mode 100644 index 438949125..000000000 --- a/modules/blockrss/vendor/pear/log/tests/display.phpt +++ /dev/null @@ -1,69 +0,0 @@ ---TEST-- -Log: Display Handler ---INI-- -date.timezone=UTC ---FILE-- -log("Info", PEAR_LOG_INFO); - $logger->log("Error", PEAR_LOG_ERR); - $logger->log("Debug", PEAR_LOG_DEBUG); - $logger->log("Multi\nLine\nEntry", PEAR_LOG_INFO); - - echo "\n"; -} - -test('Default', array()); -test('Line Break', array('linebreak' => "\n")); -test('Format', array('lineFormat' => '')); -test('Prepend / Append', array('error_prepend' => '', - 'error_append' => '')); - ---EXPECT-- -Testing Default Configuration ------------------------------------------------------- -info: Info
    -error: Error
    -debug: Debug
    -info: Multi
    -Line
    -Entry
    - - -Testing Line Break Configuration ------------------------------------------------------- -info: Info -error: Error -debug: Debug -info: Multi
    -Line
    -Entry - - -Testing Format Configuration ------------------------------------------------------- -
    -
    -
    -
    - - -Testing Prepend / Append Configuration ------------------------------------------------------- -info: Info
    -error: Error
    -debug: Debug
    -info: Multi
    -Line
    -Entry

    diff --git a/modules/blockrss/vendor/pear/log/tests/error_log.phpt b/modules/blockrss/vendor/pear/log/tests/error_log.phpt deleted file mode 100644 index 0a5a1eeeb..000000000 --- a/modules/blockrss/vendor/pear/log/tests/error_log.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Log: Error_Log Handler ---SKIPIF-- - ---INI-- -date.timezone=UTC ---FILE-- -log("Log entry $i"); -} - -/* Custom line format */ -$conf = array('lineFormat' => '%2$s: [%3$s] %4$s'); -$logger2 = Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'ident', $conf); -for ($i = 0; $i < 3; $i++) { - $logger2->log("Log entry $i"); -} - ---EXPECT-- -ident: Log entry 0 -ident: Log entry 1 -ident: Log entry 2 -ident: [info] Log entry 0 -ident: [info] Log entry 1 -ident: [info] Log entry 2 diff --git a/modules/blockrss/vendor/pear/log/tests/extract-zend2.0.phpt b/modules/blockrss/vendor/pear/log/tests/extract-zend2.0.phpt deleted file mode 100644 index afdbe66fc..000000000 --- a/modules/blockrss/vendor/pear/log/tests/extract-zend2.0.phpt +++ /dev/null @@ -1,70 +0,0 @@ ---TEST-- -Log: _extractMessage() [Zend Engine 2.0] ---SKIPIF-- -=")) die('skip'); -?> ---INI-- -date.timezone=UTC ---FILE-- - '%2$s [%3$s] %4$s'); -$logger = Log::singleton('console', '', 'ident', $conf); - -/* Logging a regular string. */ -$logger->log('String'); - -/* Logging a bare object. */ -class BareObject {} -$logger->log(new BareObject()); - -/* Logging an object with a getMessage() method. */ -class GetMessageObject { function getMessage() { return "getMessage"; } } -$logger->log(new GetMessageObject()); - -/* Logging an object with a toString() method. */ -class ToStringObject { function toString() { return "toString"; } } -$logger->log(new ToStringObject()); - -/* Logging an object with a __toString() method using casting. */ -class CastableObject { function __toString() { return "__toString"; } } -$logger->log(new CastableObject()); - -/* Logging a PEAR_Error object. */ -require_once 'PEAR.php'; -$logger->log(new PEAR_Error('PEAR_Error object', 100)); - -/* Logging an array. */ -$logger->log(array(1, 2, 'three' => 3)); - -/* Logging an array with scalar 'message' keys. */ -$logger->log(array('message' => 'Message Key')); -$logger->log(array('message' => 50)); - -/* Logging an array with a non-scalar 'message' key. */ -$logger->log(array('message' => array(1, 2, 3))); - ---EXPECT-- -ident [info] String -ident [info] BareObject::__set_state(array( -)) -ident [info] getMessage -ident [info] toString -ident [info] Object id #2 -ident [info] PEAR_Error object -ident [info] array ( - 0 => 1, - 1 => 2, - 'three' => 3, -) -ident [info] Message Key -ident [info] 50 -ident [info] array ( - 0 => 1, - 1 => 2, - 2 => 3, -) diff --git a/modules/blockrss/vendor/pear/log/tests/extract-zend2.2.phpt b/modules/blockrss/vendor/pear/log/tests/extract-zend2.2.phpt deleted file mode 100644 index a498f7c2f..000000000 --- a/modules/blockrss/vendor/pear/log/tests/extract-zend2.2.phpt +++ /dev/null @@ -1,67 +0,0 @@ ---TEST-- -Log: _extractMessage() [Zend Engine 2.2] ---SKIPIF-- - ---INI-- -date.timezone=UTC ---FILE-- - '%2$s [%3$s] %4$s'); -$logger = Log::singleton('console', '', 'ident', $conf); - -/* Logging a regular string. */ -$logger->log('String'); - -/* Logging a bare object. */ -class BareObject {} -$logger->log(new BareObject()); - -/* Logging an object with a getMessage() method. */ -class GetMessageObject { function getMessage() { return "getMessage"; } } -$logger->log(new GetMessageObject()); - -/* Logging an object with a toString() method. */ -class ToStringObject { function toString() { return "toString"; } } -$logger->log(new ToStringObject()); - -/* Logging an object with a __toString() method using casting. */ -class CastableObject { function __toString() { return "__toString"; } } -$logger->log(new CastableObject()); - -/* Logging a PEAR_Error object. */ -require_once 'PEAR.php'; -$logger->log(new PEAR_Error('PEAR_Error object', 100)); - -/* Logging an array. */ -$logger->log(array(1, 2, 'three' => 3)); - -/* Logging an array with scalar 'message' keys. */ -$logger->log(array('message' => 'Message Key')); -$logger->log(array('message' => 50)); - -/* Logging an array with a non-scalar 'message' key. */ -$logger->log(array('message' => array(1, 2, 3))); - ---EXPECT-- -ident [info] String -ident [info] BareObject::__set_state(array( -)) -ident [info] getMessage -ident [info] toString -ident [info] __toString -ident [info] PEAR_Error object -ident [info] array ( - 0 => 1, - 1 => 2, - 'three' => 3, -) -ident [info] Message Key -ident [info] 50 -ident [info] array ( - 0 => 1, - 1 => 2, - 2 => 3, -) diff --git a/modules/blockrss/vendor/pear/log/tests/factory.phpt b/modules/blockrss/vendor/pear/log/tests/factory.phpt deleted file mode 100644 index f6b9f7e89..000000000 --- a/modules/blockrss/vendor/pear/log/tests/factory.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Log: Factory ---FILE-- -_id != $console2->_id) { - echo "The objects have different IDs.\n"; -} - ---EXPECT-- -Two Log_console objects. -The objects have different IDs. diff --git a/modules/blockrss/vendor/pear/log/tests/file.phpt b/modules/blockrss/vendor/pear/log/tests/file.phpt deleted file mode 100644 index 01c4c72e8..000000000 --- a/modules/blockrss/vendor/pear/log/tests/file.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Log: File Handler ---INI-- -date.timezone=UTC ---FILE-- - '%2$s [%3$s] %4$s'); -$logger = Log::singleton('file', $filename, '', $conf); - -for ($i = 0; $i < 3; $i++) { - $logger->log("Log entry $i"); -} -$logger->close(); - -/* Dump the contents of the log file. */ -echo file_get_contents($filename); - -/* Clean up. */ -if (file_exists($filename)) unlink($filename); - ---EXPECT-- - [info] Log entry 0 - [info] Log entry 1 - [info] Log entry 2 diff --git a/modules/blockrss/vendor/pear/log/tests/firebug.phpt b/modules/blockrss/vendor/pear/log/tests/firebug.phpt deleted file mode 100644 index 762689dfb..000000000 --- a/modules/blockrss/vendor/pear/log/tests/firebug.phpt +++ /dev/null @@ -1,98 +0,0 @@ ---TEST-- -Log: Firebug Handler ---INI-- -date.timezone=UTC ---FILE-- -log('Debug', PEAR_LOG_DEBUG); -$logger->log('Info', PEAR_LOG_INFO); -$logger->log('Notice', PEAR_LOG_NOTICE); -$logger->log('Warning', PEAR_LOG_WARNING); -$logger->log('Error', PEAR_LOG_ERR); -$logger->log('Critical', PEAR_LOG_CRIT); -$logger->log('Alert', PEAR_LOG_ALERT); -$logger->log('Emergency', PEAR_LOG_EMERG); -unset($logger); - -print "\n** START BUFFERING **\n"; -$conf = array('buffering' => true); -$logger = Log::singleton('firebug', '', 'PHP', $conf); -$logger->log('Debug', PEAR_LOG_DEBUG); -$logger->log('Info', PEAR_LOG_INFO); -$logger->log('Notice', PEAR_LOG_NOTICE); -$logger->log('Warning', PEAR_LOG_WARNING); -$logger->flush(); -print "** FLUSHED **\n"; -print "** REST OF BUFFERED **\n"; -$logger->log('Error', PEAR_LOG_ERR); -$logger->log('Critical', PEAR_LOG_CRIT); -$logger->log('Alert', PEAR_LOG_ALERT); -$logger->log('Emergency', PEAR_LOG_EMERG); ---EXPECT-- -** UNBUFFERED ** - - - - - - - - - -** START BUFFERING ** - -** FLUSHED ** -** REST OF BUFFERED ** - diff --git a/modules/blockrss/vendor/pear/log/tests/format.phpt b/modules/blockrss/vendor/pear/log/tests/format.phpt deleted file mode 100644 index 67e83f7d2..000000000 --- a/modules/blockrss/vendor/pear/log/tests/format.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Log: Line Format ---INI-- -date.timezone=UTC ---FILE-- - '%{timestamp} %{ident} %{priority} %{message} %{file} %{line} %{function} %{class}'); -$logger = Log::singleton('console', '', 'ident', $conf); -$logger->log('Message'); - ---EXPECTREGEX-- -^\w{3} \d+ \d{2}:\d{2}:\d{2} ident info Message .*format\.php \d+ [\(\)\w]+$ diff --git a/modules/blockrss/vendor/pear/log/tests/index.php b/modules/blockrss/vendor/pear/log/tests/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/log/tests/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/log/tests/levels.phpt b/modules/blockrss/vendor/pear/log/tests/levels.phpt deleted file mode 100755 index 9ade7b9fd..000000000 --- a/modules/blockrss/vendor/pear/log/tests/levels.phpt +++ /dev/null @@ -1,74 +0,0 @@ ---TEST-- -Log: Levels ---INI-- -date.timezone=UTC ---FILE-- - '%2$s [%3$s] %4$s'); -$logger = Log::singleton('console', '', 'ident', $conf); - -$logger->setMask(Log::MAX(PEAR_LOG_INFO)); -$logger->info('Info 1'); -$logger->setMask(Log::MAX(PEAR_LOG_ERR)); -$logger->info('Info 2'); - ---EXPECT-- -Level 0: 0x00000001, 0xffffffff, 0x00000001 -Level 1: 0x00000002, 0xfffffffe, 0x00000003 -Level 2: 0x00000004, 0xfffffffc, 0x00000007 -Level 3: 0x00000008, 0xfffffff8, 0x0000000f -Level 4: 0x00000010, 0xfffffff0, 0x0000001f -Level 5: 0x00000020, 0xffffffe0, 0x0000003f -Level 6: 0x00000040, 0xffffffc0, 0x0000007f -Level 7: 0x00000080, 0xffffff80, 0x000000ff - -ident [info] Info 1 diff --git a/modules/blockrss/vendor/pear/log/tests/null.phpt b/modules/blockrss/vendor/pear/log/tests/null.phpt deleted file mode 100644 index 24433934e..000000000 --- a/modules/blockrss/vendor/pear/log/tests/null.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Log: Null Handler ---INI-- -date.timezone=UTC ---FILE-- -log("Log entry $i"); -} - ---EXPECT-- diff --git a/modules/blockrss/vendor/pear/log/tests/priority.phpt b/modules/blockrss/vendor/pear/log/tests/priority.phpt deleted file mode 100644 index dac178a2f..000000000 --- a/modules/blockrss/vendor/pear/log/tests/priority.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -Log: Priorities ---INI-- -date.timezone=UTC ---FILE-- - '[%3$s] %4$s'); -$logger = Log::singleton('console', '', 'ident', $conf); - -/* Log at the default PEAR_LOG_INFO level. */ -$logger->log('Log message'); - -/* Set the default priority to PEAR_LOG_DEBUG. */ -$logger->setPriority(PEAR_LOG_DEBUG); -$logger->log('Log message'); - -/* Verify that the getPriority() method also things we're at PEAR_LOG_DEBUG. */ -$priority = $logger->priorityToString($logger->getPriority()); -echo "$priority\n"; - -/* Verify that stringToPriority() can convert back to a constant. */ -$priority = $logger->stringToPriority($priority); -echo "$priority\n"; - ---EXPECT-- -[info] Log message -[debug] Log message -debug -7 diff --git a/modules/blockrss/vendor/pear/log/tests/singleton.phpt b/modules/blockrss/vendor/pear/log/tests/singleton.phpt deleted file mode 100644 index 93407c975..000000000 --- a/modules/blockrss/vendor/pear/log/tests/singleton.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -Log: Singleton ---INI-- -date.timezone=UTC ---FILE-- -_id == $console2->_id) { - echo "The objects have the same ID.\n"; -} - ---EXPECT-- -Two Log_console objects. -The objects have the same ID. diff --git a/modules/blockrss/vendor/pear/log/tests/sql_ident.phpt b/modules/blockrss/vendor/pear/log/tests/sql_ident.phpt deleted file mode 100644 index 6a2fdbdf6..000000000 --- a/modules/blockrss/vendor/pear/log/tests/sql_ident.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -Log: SQL setIdent() ---SKIPIF-- -packageExists('DB')) die("skip\n"); ---INI-- -date.timezone=UTC ---FILE-- - '')); -echo $logger->getIdent() . "\n"; - -$logger->setIdent($ident); -echo $logger->getIdent() . "\n"; - ---EXPECT-- -1234567890123456 -1234567890123456 diff --git a/modules/blockrss/vendor/pear/log/tests/sqlite.phpt b/modules/blockrss/vendor/pear/log/tests/sqlite.phpt deleted file mode 100644 index 896ddbfa6..000000000 --- a/modules/blockrss/vendor/pear/log/tests/sqlite.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Log: Sqlite Handler ---SKIPIF-- - ---INI-- -date.timezone=UTC ---FILE-- -log($message, PEAR_LOG_WARNING); - -$q = "SELECT message FROM log_table WHERE ident='$ident'"; -$res = sqlite_query($db, $q); -if (sqlite_fetch_string($res) == $message) { - echo 'ok'; -} - -sqlite_close($db); -if (file_exists($filename)) unlink($filename); - ---EXPECT-- -ok diff --git a/modules/blockrss/vendor/pear/log/tests/syslog.phpt b/modules/blockrss/vendor/pear/log/tests/syslog.phpt deleted file mode 100644 index d1e91a1cf..000000000 --- a/modules/blockrss/vendor/pear/log/tests/syslog.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Log: Syslog Handler ---INI-- -date.timezone=UTC ---FILE-- -notice("Log entry $i"); -} - ---EXPECT-- diff --git a/modules/blockrss/vendor/pear/log/tests/win-ob.phpt b/modules/blockrss/vendor/pear/log/tests/win-ob.phpt deleted file mode 100644 index d416f14c1..000000000 --- a/modules/blockrss/vendor/pear/log/tests/win-ob.phpt +++ /dev/null @@ -1,70 +0,0 @@ ---TEST-- -Log: Window Handler (Output Buffering) ---INI-- -date.timezone=UTC -output_buffering=on ---FILE-- - 'Test Output'); -$logger = Log::singleton('win', 'test', 'ident', $conf); - -for ($i = 0; $i < 3; $i++) { - $logger->log("Log entry $i"); -} - ---EXPECTF-- - - - - - diff --git a/modules/blockrss/vendor/pear/log/tests/win.phpt b/modules/blockrss/vendor/pear/log/tests/win.phpt deleted file mode 100644 index a1ecc5905..000000000 --- a/modules/blockrss/vendor/pear/log/tests/win.phpt +++ /dev/null @@ -1,69 +0,0 @@ ---TEST-- -Log: Window Handler ---INI-- -date.timezone=UTC ---FILE-- - 'Test Output'); -$logger = Log::singleton('win', 'test', 'ident', $conf); - -for ($i = 0; $i < 3; $i++) { - $logger->log("Log entry $i"); -} - ---EXPECTF-- - - - - - diff --git a/modules/blockrss/vendor/pear/pear_exception/LICENSE b/modules/blockrss/vendor/pear/pear_exception/LICENSE deleted file mode 100644 index a00a2421f..000000000 --- a/modules/blockrss/vendor/pear/pear_exception/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 1997-2009, - Stig Bakken , - Gregory Beaver , - Helgi Þormar Þorbjörnsson , - Tomas V.V.Cox , - Martin Jansen . -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/modules/blockrss/vendor/pear/pear_exception/PEAR/Exception.php b/modules/blockrss/vendor/pear/pear_exception/PEAR/Exception.php deleted file mode 100644 index a8ef6e086..000000000 --- a/modules/blockrss/vendor/pear/pear_exception/PEAR/Exception.php +++ /dev/null @@ -1,456 +0,0 @@ - - * @author Hans Lellelid - * @author Bertrand Mansion - * @author Greg Beaver - * @copyright 1997-2009 The Authors - * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @link http://pear.php.net/package/PEAR_Exception - * @since File available since Release 1.0.0 - */ - - -/** - * Base PEAR_Exception Class - * - * 1) Features: - * - * - Nestable exceptions (throw new PEAR_Exception($msg, $prev_exception)) - * - Definable triggers, shot when exceptions occur - * - Pretty and informative error messages - * - Added more context info available (like class, method or cause) - * - cause can be a PEAR_Exception or an array of mixed - * PEAR_Exceptions/PEAR_ErrorStack warnings - * - callbacks for specific exception classes and their children - * - * 2) Ideas: - * - * - Maybe a way to define a 'template' for the output - * - * 3) Inherited properties from PHP Exception Class: - * - * protected $message - * protected $code - * protected $line - * protected $file - * private $trace - * - * 4) Inherited methods from PHP Exception Class: - * - * __clone - * __construct - * getMessage - * getCode - * getFile - * getLine - * getTraceSafe - * getTraceSafeAsString - * __toString - * - * 5) Usage example - * - * - * require_once 'PEAR/Exception.php'; - * - * class Test { - * function foo() { - * throw new PEAR_Exception('Error Message', ERROR_CODE); - * } - * } - * - * function myLogger($pear_exception) { - * echo $pear_exception->getMessage(); - * } - * // each time a exception is thrown the 'myLogger' will be called - * // (its use is completely optional) - * PEAR_Exception::addObserver('myLogger'); - * $test = new Test; - * try { - * $test->foo(); - * } catch (PEAR_Exception $e) { - * print $e; - * } - * - * - * @category PEAR - * @package PEAR_Exception - * @author Tomas V.V.Cox - * @author Hans Lellelid - * @author Bertrand Mansion - * @author Greg Beaver - * @copyright 1997-2009 The Authors - * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version Release: @package_version@ - * @link http://pear.php.net/package/PEAR_Exception - * @since Class available since Release 1.0.0 - */ -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 $message exception message - * @param int|Exception|PEAR_Error|array|null $p2 exception cause - * @param int|null $p3 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, (int) $code); - $this->signal(); - } - - /** - * Add an exception observer - * - * @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() - * - * @return void - */ - public static function addObserver($callback, $label = 'default') - { - self::$_observers[$label] = $callback; - } - - /** - * Remove an exception observer - * - * @param string $label Name of the observer - * - * @return void - */ - public static function removeObserver($label = 'default') - { - unset(self::$_observers[$label]); - } - - /** - * Generate a unique ID for an observer - * - * @return int unique identifier for an observer - */ - public static function getUniqueId() - { - return self::$_uniqueid++; - } - - /** - * Send a signal to all observers - * - * @return void - */ - protected 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 - * - * @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 $causes Array that gets filled. - * - * @return void - */ - 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', - ); - } - } - } - } - - /** - * Build a backtrace and return it - * - * @return array Backtrace - */ - public function getTraceSafe() - { - if (!isset($this->_trace)) { - $this->_trace = $this->getTrace(); - if (empty($this->_trace)) { - $backtrace = debug_backtrace(); - $this->_trace = array($backtrace[count($backtrace)-1]); - } - } - return $this->_trace; - } - - /** - * Gets the first class of the backtrace - * - * @return string Class name - */ - public function getErrorClass() - { - $trace = $this->getTraceSafe(); - return $trace[0]['class']; - } - - /** - * Gets the first method of the backtrace - * - * @return string Method/function name - */ - public function getErrorMethod() - { - $trace = $this->getTraceSafe(); - return $trace[0]['function']; - } - - /** - * Converts the exception to a string (HTML or plain text) - * - * @return string String representation - * - * @see toHtml() - * @see toText() - */ - public function __toString() - { - if (isset($_SERVER['REQUEST_URI'])) { - return $this->toHtml(); - } - return $this->toText(); - } - - /** - * Generates a HTML representation of the exception - * - * @return string HTML code - */ - 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'; - } else if (is_array($arg)) { - $args[] = 'Array'; - } else if (is_object($arg)) { - $args[] = 'Object('.get_class($arg).')'; - } else if (is_bool($arg)) { - $args[] = $arg ? 'true' : 'false'; - } else if (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; - } - - /** - * Generates text representation of the exception and stack trace - * - * @return string - */ - 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(); - } -} -?> diff --git a/modules/blockrss/vendor/pear/pear_exception/PEAR/index.php b/modules/blockrss/vendor/pear/pear_exception/PEAR/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/pear_exception/PEAR/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/pear_exception/composer.json b/modules/blockrss/vendor/pear/pear_exception/composer.json deleted file mode 100644 index 9ffba9b3d..000000000 --- a/modules/blockrss/vendor/pear/pear_exception/composer.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "pear/pear_exception", - "description": "The PEAR Exception base class.", - "type": "class", - "keywords": [ - "exception" - ], - "homepage": "https://github.com/pear/PEAR_Exception", - "license": "BSD-2-Clause", - "authors": [ - { - "name": "Helgi Thormar", - "email": "dufuz@php.net" - }, - { - "name": "Greg Beaver", - "email": "cellog@php.net" - } - ], - "require": { - "php": ">=5.2.0" - }, - "autoload": { - "classmap": ["PEAR/"] - }, - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "include-path": [ - "." - ], - "support": { - "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR_Exception", - "source": "https://github.com/pear/PEAR_Exception" - }, - "require-dev": { - "phpunit/phpunit": "<9" - } -} diff --git a/modules/blockrss/vendor/pear/pear_exception/index.php b/modules/blockrss/vendor/pear/pear_exception/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/pear_exception/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/.gitignore b/modules/blockrss/vendor/pear/xml_feed_parser/.gitignore deleted file mode 100644 index 869f49858..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# composer related -composer.lock -composer.phar -vendor diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/README b/modules/blockrss/vendor/pear/xml_feed_parser/README deleted file mode 100644 index 1f5fed902..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/README +++ /dev/null @@ -1,19 +0,0 @@ -This package is http://pear.php.net/package/XML_Feed_Parser and has been migrated from http://svn.php.net/repository/pear/packages/XML_Feed_Parser - -Please report all new issues via the PEAR bug tracker. - -If this package is marked as unmaintained and you have fixes, please submit your pull requests and start discussion on the pear-qa mailing list. - -To test, run either -$ phpunit tests/ - or -$ pear run-tests -r - -To build, simply -$ pear package - -To install from scratch -$ pear install package.xml - -To upgrade -$ pear upgrade -f package.xml diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser.php deleted file mode 100644 index ddc9ff63d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser.php +++ /dev/null @@ -1,285 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL - * @version CVS: $Id$ - * @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 'XML/Feed/Parser/Type.php'; - -/** - * We will throw exceptions when errors occur. - */ -require_once 'XML/Feed/Parser/Exception.php'; - -require_once 'XML/Feed/Parser/Factory.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: @package_version@ - * @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 - * @deprecated This is being moved to the factory for now. - */ - 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 - * @deprecated XML_Feed_Parser2 - */ - function __construct($feed, $strict = false, $suppressWarnings = false, $tidy = false) - { - $this->model = new DOMDocument; - $this->initialize($feed, $strict, $suppressWarnings, $tidy); - } - - /** - * 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 - * @todo No work in the constructor :( - */ - function initialize($feed, $strict = false, $suppressWarnings = false, $tidy = false) - { - $factory = new XML_Feed_Parser_Factory(); - $this->setFeed($factory->build($this->model, $feed, $strict, $suppressWarnings, $tidy)); - } - - public function setFeed($feed) { - $this->feed = $feed; - } - - /** - * 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(); - } -} -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Atom.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Atom.php deleted file mode 100644 index 0758f31e7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Atom.php +++ /dev/null @@ -1,385 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - * @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 - */ - protected $relax = 'atom.rng'; - - /** - * 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 - */ - public function __construct(DOMDocument $model, $strict = false) - { - $this->model = $model; - - if ($strict) { - if (! $this->relaxNGValidate()) { - 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'); - $this->setSanitizer(new XML_Feed_Parser_Unsafe_Sanitizer()); - } - - /** - * 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; - /** @todo Avoid instantiating classes we can't keep track of */ - $entry = new XML_Feed_Parser_AtomElement($entries->item(0), $this, $xmlBase); - $entry->setSanitizer($this->getSanitizer()); - - 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; - } - - $email = $section->item($offset)->getElementsByTagName('email'); - if ($email->length > 0 && $parameter == 'name') { - $email_sanitized = $this->sanitizer->sanitize($email->item(0)->nodeValue); - $person_sanitized = $this->sanitizer->sanitize($param->item(0)->nodeValue); - return $person_sanitized . ' (' . $email_sanitized . ')'; - } - - return $this->sanitizer->sanitize($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 (empty($attribute)) { - return $this->parseTextConstruct($content); - } - - if (! $content->hasAttribute('type')) { - $content->setAttribute('type', 'text'); - } - $type = $content->getAttribute('type'); - - - if (!($method == 'generator' && $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': - case 'html': - return $this->sanitizer->sanitize($content->textContent); - 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 $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'); - } - foreach ($links as $link) { - if ($link->hasAttribute($attribute) - && ($link->hasAttribute('rel') == false - || $link->getAttribute('rel') == 'alternate') - ) { - $value = $link->getAttribute($attribute); - if ($attribute == 'href') { - $value = $this->addBase($value, $link); - } - return $value; - } else if ($attribute == 'rel') { - return $link->getAttribute($attribute); - } - } - return false; - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/AtomElement.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/AtomElement.php deleted file mode 100644 index ed2fc4d77..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/AtomElement.php +++ /dev/null @@ -1,266 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - * @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->setSanitizer($parent->getSanitizer()); - $this->model = $element; - $this->parent = $parent; - $this->xmlBase = $xmlBase; - // $this->id is doing magic work in the constructor :( - $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(); - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Exception.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Exception.php deleted file mode 100644 index fd410a662..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Exception.php +++ /dev/null @@ -1,41 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL - * @version CVS: $Id$ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * We are extending PEAR_Exception - */ -require_once 'PEAR/Exception.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: @package_version@ - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_Exception extends PEAR_Exception -{ - -} - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Factory.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Factory.php deleted file mode 100644 index 89d5a43f2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Factory.php +++ /dev/null @@ -1,152 +0,0 @@ - array( - 'http://backend.userland.com/rss', - 'http://backend.userland.com/rss2', - 'http://blogs.law.harvard.edu/tech/rss')); - - public function __construct(Log $log = null) { - if ($log === null) { - $log = new Log_null('', '', array(), null); - } - $this->log = $log; - } - - /** - * 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 build(DOMDocument $model, $feed, $strict = false, $suppressWarnings = false, $tidy = false) - { - $options = 0; - if ($suppressWarnings) { - $options |= LIBXML_NOWARNING; - $options |= LIBXML_NOERROR; - } - - if (empty($feed)) { - throw new XML_Feed_Parser_Exception('Invalid input: file is empty'); - } - - if (! $model->loadXML($feed, $options)) { - if (extension_loaded('tidy') && $tidy) { - $tidy = new tidy; - $tidy->parseString($feed, - array('input-xml' => true, 'output-xml' => true)); - $tidy->cleanRepair(); - if (! $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 = $model->documentElement; - - - $class = $this->determineClass($doc_element, $suppressWarnings); - - /* Instantiate feed object */ - $feed = new $class($model, $strict); - $feed->setSanitizer(new XML_Feed_Parser_Unsafe_Sanitizer()); - - return $feed; - } - - public function determineClass($doc_element, $suppressWarnings = false) - { - switch (true) { - case ($doc_element->namespaceURI == 'http://www.w3.org/2005/Atom'): - require_once 'XML/Feed/Parser/Atom.php'; - require_once 'XML/Feed/Parser/AtomElement.php'; - $class = 'XML_Feed_Parser_Atom'; - break; - case ($doc_element->namespaceURI == 'http://purl.org/atom/ns#'): - require_once 'XML/Feed/Parser/Atom.php'; - require_once 'XML/Feed/Parser/AtomElement.php'; - $class = 'XML_Feed_Parser_Atom'; - - $this->log->warning('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 'XML/Feed/Parser/RSS1.php'; - require_once 'XML/Feed/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 'XML/Feed/Parser/RSS11.php'; - require_once 'XML/Feed/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 'XML/Feed/Parser/RSS09.php'; - require_once 'XML/Feed/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): - $this->log->warning('RSS 0.91 has been superceded by RSS2.0. Using RSS2.0 parser.'); - require_once 'XML/Feed/Parser/RSS2.php'; - require_once 'XML/Feed/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): - $this->log->warning('RSS 0.92 has been superceded by RSS2.0. Using RSS2.0 parser.'); - require_once 'XML/Feed/Parser/RSS2.php'; - require_once 'XML/Feed/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) { - $this->log->warning('RSS version not specified. Parsing as RSS2.0'); - } - require_once 'XML/Feed/Parser/RSS2.php'; - require_once 'XML/Feed/Parser/RSS2Element.php'; - $class = 'XML_Feed_Parser_RSS2'; - break; - default: - throw new XML_Feed_Parser_Exception('Feed type unknown'); - break; - } - - - return $class; - } -} diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS09.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS09.php deleted file mode 100644 index 69d9cf8d6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS09.php +++ /dev/null @@ -1,221 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS0.9 feeds. - * - * @author James Stewart - * @version Release: @package_version@ - * @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 - */ - protected $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->setSanitizer(new XML_Feed_Parser_Unsafe_Sanitizer()); - $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); - } - - /** - * Not implemented - no available validation. - */ - public function relaxNGValidate() { - return true; - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS09Element.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS09Element.php deleted file mode 100644 index 545763f0a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/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$ - * @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: @package_version@ - * @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; - $this->setSanitizer($parent->getSanitizer()); - } -} - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS1.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS1.php deleted file mode 100644 index 6c4984e7e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS1.php +++ /dev/null @@ -1,275 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS1.0 feeds. - * - * @author James Stewart - * @version Release: @package_version@ - * @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 - */ - protected $relax = 'rss10.rng'; - - /** - * 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) { - if (! $this->relaxNGValidate()) { - 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'); - $this->setSanitizer(new XML_Feed_Parser_Unsafe_Sanitizer()); - } - - /** - * 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) { - $entry = new XML_Feed_Parser_RSS1Element($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); - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS11.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS11.php deleted file mode 100644 index b4678f6c7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS11.php +++ /dev/null @@ -1,274 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - * @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 - */ - protected $relax = 'rss11.rng'; - - /** - * 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; - $this->setSanitizer(new XML_Feed_Parser_Unsafe_Sanitizer()); - if ($strict) { - if (! $this->relaxNGValidate()) { - 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) { - $entry = new XML_Feed_Parser_RSS1Element($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); - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS11Element.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS11Element.php deleted file mode 100644 index e1e5e6e6d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS11Element.php +++ /dev/null @@ -1,152 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - * @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('date'), - '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; - $this->setSanitizer($parent->getSanitizer()); - } - - /** - * 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; - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS1Element.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS1Element.php deleted file mode 100644 index 26046eeb0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS1Element.php +++ /dev/null @@ -1,117 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - * @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('date'), - '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; - $this->setSanitizer($parent->getSanitizer()); - } - - /** - * 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; - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS2.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS2.php deleted file mode 100644 index b26b46ac9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS2.php +++ /dev/null @@ -1,341 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS2 feeds. - * - * @author James Stewart - * @version Release: @package_version@ - * @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 - */ - protected $relax = 'rss20.rng'; - - /** - * 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; - $this->setSanitizer(new XML_Feed_Parser_Unsafe_Sanitizer()); - if ($strict) { - if (! $this->relaxNGValidate()) { - 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 XML_Feed_Parser_RSS2Element($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->xpath->query("//image"); - if ($images->length > 0) { - $image = $images->item(0); - $title = $image->getElementsByTagName('title'); - $link = $image->getElementsByTagName('link'); - $url = $image->getElementsByTagName('url'); - if (!$title->length || !$link->length || !$url->length) { - return false; - } - $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' => $title->item(0)->nodeValue, - 'link' => $link->item(0)->nodeValue, - 'url' => $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()) - { - $xPath = new DOMXPath($this->model); - $links = $xPath->query('//link'); - - if ($links->length <= $offset) { - return false; - } - $link = $links->item($offset); - return $this->addBase($link->nodeValue, $link); - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS2Element.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS2Element.php deleted file mode 100644 index 68c0cba79..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/RSS2Element.php +++ /dev/null @@ -1,172 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - * @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; - $this->setSanitizer($parent->getSanitizer()); - } - - /** - * 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; - } -} - -?> diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Sanitizer.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Sanitizer.php deleted file mode 100644 index 1ddbc9942..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Sanitizer.php +++ /dev/null @@ -1,141 +0,0 @@ -acceptable_elements as $element) { - $acceptable .= "<" . $element . ">"; - } - - return strip_tags($input, $acceptable); - } -} diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Type.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Type.php deleted file mode 100644 index c1462a395..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/Type.php +++ /dev/null @@ -1,498 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id$ - * @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: @package_version@ - */ -abstract class XML_Feed_Parser_Type -{ - protected $sanitizer; - /** - * 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(); - - /** - * Store mappings between entry IDs and their position in the feed - */ - public $idMappings = 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; - } - - public function setSanitizer(XML_Feed_Parser_Sanitizer $sanitizer) { - $this->sanitizer = $sanitizer; - - foreach ($this->entries as $entry) { - $entry->setSanizier($sanitizer); - } - } - public function getSanitizer() { - return $this->sanitizer; - } - - /** - * 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; - /** @todo Remove this behaviour - each driver should control this better */ - /** @todo Try to avoid new here */ - $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 || empty($time->item(0)->nodeValue)) { - 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 $this->sanitizer->sanitize($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, $this->sanitizer->sanitize($category->nodeValue)); - } - return $list; - } - return $this->sanitizer->sanitize($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(htmlentities($attribute->value, NULL, 'utf-8'), $attribute); - } - if ($attribute->name == 'base') { - continue; - } - $return .= $attribute->name . '="' . htmlentities($attribute->value, NULL, 'utf-8') .'" '; - } - if (! empty($return)) { - return ' ' . trim($return); - } - return ''; - } - - /** - * Convert HTML entities based on the current character set. - * - * @param String - * @return String - */ - function processEntitiesForNodeValue($node) - { - $current_encoding = $node->ownerDocument->encoding; - - // Charset left blank to trigger autodetection - $decoded = html_entity_decode($node->nodeValue); - $value = htmlentities($decoded, null, strtoupper($current_encoding)); - - if (function_exists('iconv')) { - return $this->sanitizer->sanitize( - iconv( - strtoupper($current_encoding), - 'UTF-8', - $value - ) - ); - } else if (strtoupper($current_encoding) == 'ISO-8859-1') { - return $this->sanitizer->sanitize( - utf8_encode($value) - ); - } - - return $this->sanitizer->sanitize($value); - } - - /** - * 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 .= $this->processEntitiesForNodeValue($node); - } - - /* 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 .= $this->sanitizer->sanitize($child->nodeValue); - } else { - $simple = simplexml_import_dom($child); - $value .= $simple->asXML(); - } - } - return $value; - } else if ($test->length > 0) { - return $this->sanitizer->sanitize($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'; - } - - public function relaxNGValidate() { - $dir = self::getSchemaDir(); - - $path = $dir . '/' . $this->relax; - - return $this->model->relaxNGValidate($path); - } -} diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser2.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser2.php deleted file mode 100644 index 4cd53aebb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/Parser2.php +++ /dev/null @@ -1,58 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL - * @version CVS: $Id$ - * @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 'XML/Feed/Parser/Type.php'; - -/** - * We will throw exceptions when errors occur. - */ -require_once 'XML/Feed/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: @package_version@ - * @package XML_Feed_Parser - */ -class XML_Feed_Parser2 extends XML_Feed_Parser -{ - /** - * A variant of XML_Feed_Parser which does no work in the constructor. - * - * @see initialize() - */ - function __construct() - { - $this->model = new DOMDocument; - } - - -} diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/Feed/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/XML/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/XML/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/XML/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/composer.json b/modules/blockrss/vendor/pear/xml_feed_parser/composer.json deleted file mode 100644 index dcf27b383..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "authors": [ - { - "email": "james@jystewart.net", - "name": "James Stewart", - "role": "Lead" - } - ], - "autoload": { - "psr-0": { - "XML": "./" - } - }, - "description": "More info available on: http://pear.php.net/package/XML_Feed_Parser", - "include-path": [ - "./" - ], - "license": "LGPL", - "name": "pear/xml_feed_parser", - "support": { - "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=XML_Feed_Parser", - "source": "https://github.com/pear/XML_Feed_Parser" - }, - "type": "library", - "suggest": { - "ext-tidy": "May require the tidy PHP extension" - }, - "require": { - "pear/pear_exception": "*", - "pear/log": "*" - }, - "require-dev": { - "phpunit/phpunit": "*" - } -} \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/package.xml b/modules/blockrss/vendor/pear/xml_feed_parser/package.xml deleted file mode 100644 index 0e0ea5082..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/package.xml +++ /dev/null @@ -1,2086 +0,0 @@ - - - XML_Feed_Parser - pear.php.net - Providing a unified API for handling Atom/RSS - XML_Feed_Parser is a parser for (the various) RSS and Atom format XML feeds. It attempts to provide a somewhat unified API while still allowing access to the full details of each feed type. - - James Stewart - jystewart - james@jystewart.net - yes - - 2012-01-27 - - - 1.0.5 - 1.0.0 - - - stable - stable - - LGPL - -QA release -Bug #16416 atom:link causes getLink to fail for RSS2.php -Bug #16986 Fatal error on XML_Feed_Parser_RSS2::getEntryById() -Bug #19086 RSS block picks the wrong links for articles -Bug #19089 constructor doesn't respect $suppressWarnings flags -Bug #19091 Warnings when image element has no title, link, or url attribute - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5.0.0 - - - 1.4.0b1 - - - Log - pear.php.net - - - xml - - - - - tidy - - - - - - - - 0.1.0devel - 0.1.0devel - - - devel - devel - - 2005-09-03 - PHP License - -Initial rolling - - - - - 0.1.1devel - 0.1.1devel - - - devel - devel - - 2005-09-07 - PHP License - -Added Enclosures support -Fixed up getElementById for RSS1 - - - - - 0.1.2devel - 0.1.2devel - - - devel - devel - - 2005-09-10 - PHP License - -Added support for RSS1/2 'image' and 'textinput' elements - Added category support (dc:subject) for RSS1 - Added cloud, ttl, skipDays, and skipHours support for RSS2 (completing RSS spec support) - Added support for the RSS1 syndication and content modules. - Added partial RSS1 Dublin Core support - Added support for atom:source support and reworked atom:author support to work with it - - - - - 0.2.0devel - 0.2.0devel - - - devel - devel - - 2005-09-11 - PHP License - -Made DOMDocuments for feed and entries public to allow for extensions that make use of the DOM -Added functions to handle xml:base and applied to link elements -Some work on API consistency -Improved handling of content type="xhtml" for atom feeds -Fixes to use of __tostring() method - - - - - 0.2.1alpha - 0.2.1alpha - - - alpha - alpha - - 2005-09-14 - PHP License - -Unit tests added -Various fixes and checks added following testing - - - - - 0.2.2alpha - 0.2.2alpha - - - alpha - alpha - - 2005-09-22 - PHP License - -Lots of CS fixes. -Added @var notes for members, and file level docblocks -Renamed some member names that were prefixed with underscores -Cleaned up a few methods' comment blocks -Moved all require_once calls to appropriate places in Parser.php -Fix to atom enclosure support -Added test for entry-only atom feed - - - - - 0.2.3alpha - 0.2.3alpha - - - alpha - alpha - - 2005-10-02 - PHP License - -Moved to PEAR_Exception -Fixed RSS1 test to handle entities properly -Preparing for pepr call for votes - - - - - 0.2.4alpha - 0.2.4alpha - - - alpha - alpha - - 2005-10-10 - PHP License - -First release in PEAR -Added custom exception class (vote condition) -Moved to single quotes in most cases (vote condition) - - - - - 0.2.5alpha - 0.2.5alpha - - - alpha - alpha - - 2005-10-15 - PHP License - -Fixed misplaced single quotes (bug #5677) -Added samples of feeds in farsi and japanese, with test cases -Reworked xml:base support - now applies to all appropriate atom text constructs -Reworked atom text construct handling to obey 'type' attribute - - - - - 0.2.6alpha - 0.2.6alpha - - - alpha - alpha - - 2005-10-22 - PHP License - -Added support for RSS0.90, RSS0.91 and RSS0.92 -Added tests for RSS0.91 and RSS0.92 -Fixed bug meaning that errors weren't being thrown for unrecognised RSS versions -Cleared up the main constructor to prevent DOM errors while detecting feed type -Added code to allow case-insensitive specification of element names as a backup -Fixed bad check of guid's 'ispermalink' attribute in RSS2Element.php - - - - - 0.2.7alpha - 0.2.7alpha - - - alpha - alpha - - 2005-10-22 - PHP License - -Fixed bug in __call() meaning arguments in requests for feed-level elements weren't passed on correctly -Some extra compatibility maps to improve match with Universal Feed Parser - - - - - 0.2.8alpha - 0.2.8alpha - - - alpha - alpha - - 2005-12-26 - PHP License - -Added atom-specific category handling -Added 'tags' call in atom which is an alias for categories, to match Universal Feed Parser behaviour -Added base64 decoding for atom Text and Content -In atom:link elements, the rel attribute now defaults to 'alternate' if none specified -Added support for atom:logo -Numerous API fixes and consistency fixes following use of Universal Feed Parser testkit - - - - - 0.3.0beta - 0.3.0beta - - - beta - beta - - 2006-01-11 - PHP License - -First beta release -Added support for 'content' namespace in RSS2 -Further consistency fixes -Added prototype conversion script for Universal Feed Parser tests -Fixed bug in main __call function that led to problems when the same attribute was accessed multiple times - - - - - 1.0.0RC1 - 1.0.0RC1 - - - beta - beta - - 2006-07-27 - PHP License - -First release candidate -Fixed bug #6472 - wrong paths in require_once -Fixed bug #6473 - missing files (for RSS1.1) -Fixed bug #7849 - cannot validate RSS2 feeds - by bundling relax ng schemas -Improved error handling when attributes empty -Fixed loading of sample files in regression tests -Implemented hasKey method for basic checking of whether an element exists - - - - - 1.0.0RC2 - 1.0.0RC2 - - - beta - beta - - 2006-11-09 - PHP License - -Improved handling of atom:text construct to allow for more media types (thanks to Mohanaraj Gonpala Krishnan for initial patch) -Fixed typos and removed duplicate return statements (request #8445) - - - - - 1.0.0 - 1.0.0 - - - stable - stable - - 2006-12-26 - PHP License - -First stable release. No changes from last release candidate - - - - - 1.0.1 - 1.0.1 - - - stable - stable - - 2007-01-09 - PHP License - -Fixed bug in atom link handling that was preventing link retrieval -Changed detection of text content type to avoid false positives - - - - - 1.0.2 - 1.0.1 - - - stable - stable - - 2007-01-09 - PHP License - -Bug fix release. Closes: -#13215 - Encoding problems -#12919 - &amp; in ULR's causes problems -#12522 - pubDate handler throws warning on empty field -#12017 - no rss2 image if <itunes:image/> precedes <image> -#11467 - Escaped HTML in Atom Text Constructs -#10702 - Indirect modification of overloaded property -#10336 - Error with encoding handling on xhtml - - - - - 1.0.3 - 1.0.0 - - - stable - stable - - 2008-12-21 - LGPL - -Bug fix release. Closes: -#13215 - Encoding problems -#12919 - &amp; in ULR's causes problems -#12522 - pubDate handler throws warning on empty field -#12017 - no rss2 image if <itunes:image/> precedes <image> -#11467 - Escaped HTML in Atom Text Constructs -#10702 - Indirect modification of overloaded property -#10336 - Error with encoding handling on xhtml - - - - - 1.0.4 - 1.0.0 - - - stable - stable - - 2010-10-11 - LGPL - -QA Release -Bug #15129 Assorted parse errors in tests -Bug #15309 -Bug #15318 -Bug #15322 -Bug #15365 - - - - - 1.0.5 - 1.0.0 - - - stable - stable - - 2012-01-28 - LGPL - -QA release -Bug #16416 atom:link causes getLink to fail for RSS2.php -Bug #16986 Fatal error on XML_Feed_Parser_RSS2::getEntryById() -Bug #19086 RSS block picks the wrong links for articles -Bug #19089 constructor doesn't respect $suppressWarnings flags -Bug #19091 Warnings when image element has no title, link, or url attribute - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-entryonly.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-entryonly.xml deleted file mode 100644 index 02e1c5800..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-entryonly.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - Atom draft-07 snapshot - - - tag:example.org,2003:3.2397 - 2005-07-10T12:29:29Z - 2003-12-13T08:29:29-04:00 - - Mark Pilgrim - http://example.org/ - f8dy@example.com - - - Sam Ruby - - - Joe Gregorio - - -
    -

    [Update: The Atom draft is finished.]

    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-example1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-example1.xml deleted file mode 100644 index d181d2b6f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-example1.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Example Feed - - 2003-12-13T18:30:02Z - - John Doe - - urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6 - - - Atom-Powered Robots Run Amok - - urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a - 2003-12-13T18:30:02Z - Some text. - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-example2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-example2.xml deleted file mode 100644 index 98abf9d54..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/atom10-example2.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - dive into mark - - A <em>lot</em> of effort - went into making this effortless - - 2005-07-31T12:29:29Z - tag:example.org,2003:3 - - - Copyright (c) 2003, Mark Pilgrim - - Example Toolkit - - - Atom draft-07 snapshot - - - tag:example.org,2003:3.2397 - 2005-07-31T12:29:29Z - 2003-12-13T08:29:29-04:00 - - Mark Pilgrim - http://example.org/ - f8dy@example.com - - - Sam Ruby - - - Joe Gregorio - - -
    -

    [Update: The Atom draft is finished.]

    -
    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12522.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12522.xml deleted file mode 100644 index 2cb711124..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12522.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - -zvoner.ro -Citeste si da mai departe. Noutatile care iti fac ziua mai interesanta. Filme, stiri IT, muzica, politica, sport, sex, stupizenii, chestii de suflet. Nimic nu ne scapa. Ca sa te simti tu bine! - -http://www.zvoner.ro - http://www.zvoner.ro/zvoner_test_logo.gif -264 -60 - -SatPMEETE_RMarchC822 -zvoner RSS FEED -2008-03-08 - -Bucurestii copilariei si adolescentei mele... -http://www.zvoner.ro/?p=705 -Piticu, iata peste ce dadui pe net: - -www.collectif-est.com/pandele  (imi pare rau, dar azi nu reusesc sa pun poze...) - -Bucurestii copilariei si adolescentei mele, vazuti prin ochii lui Andrei Pandele. Cutremurator de nostalgic. - -Poate privind aceste poze, vor intelege si cei mici de azi de unde am pornit si unde am ajuns. Oh Doamne! :)]]> - - - -Super site de prezentare Dacia Sandero -http://www.zvoner.ro/?p=704 -www.dacia-sandero.com! - -Campania si site-ul sunt gandite de Publicis Net Franta, si te fac sa iubesti masinuta asta de la prima vedere. Clipuri haioase, prezentare dinamica, clipuri video... ce mai, un site beton. - -Iar clipurile video vor prinde 'viral' exceptional.  - -Pareri? :)]]> - - - -Apropo de Blogzoner... -http://www.zvoner.ro/?p=703 -Photobucket - -Toata lumea pusa pana acum pe harta a venit exclusiv din reteaua sociala a 3-4 oameni. Fara promovare, fara nimic altceva. - -Bon, faza a II-a va presupune si promovare... :)]]> - - - -Razbel pe internetul romanesc -http://www.zvoner.ro/?p=702 -bastoane-n cap date intre corifeii internetului romanesc, pe tema alipirii a doua site-uri in trafic.ro/BRAT. - -Acuma, eu nu pot spune decat ca, privita din afara, toata cearta are aspectul unei sfade de copii. Inteleg ca in BRAT nu s-a discutat pana acum in ce cazuri se poate include in traficul unui site si traficul unui alt domeniu (chestie permisa tehnic), motiv pentru care feminis.ro inregistreaza acum si traficul de pe un site mai vechi (de astrologie), inglobat insa ca serviciu al sau. Dar in locul unui scandal dambovitean plin de acuzatii de furt poate ca era mai bine ca industria (sic!) sa puna in discutie acest lucru intr-un mod profesionist. Calm. Asa cum imi inchipui ca s-ar proceda oriunde mai la vest de Romanica. - -Sunt chiar curios ce decizii se vor lua, pentru ca ma intereseaza direct. De-a lungul timpului au fost multe site-uri care si-au alipit niste domenii. Atat drive-test.ro cat si concurentul auto.ro (Netbridge) inglobeaza fiecare un alt domeniu, si anume site-uri cu anunturi auto. Eu n-am ascuns niciodata ca salonauto.ro aduce 30-35% din traficul inregistrat in trafic.ro sub numele drive-test.ro (site-ul nu este inca introdus in SATI) -spun asta in discutiile cu orice client; nu ma indoiesc ca cei de la auto.ro au procedat la fel. Am anuntat asta public inca de la inceput; brosurile de marketing arata asta cat se poate de clar; rate-cardul este separat pentru fiecare parte a site-ului. Chiar si comenzile de publicitate sunt diferite. Si in SATI acest lucru urma sa fie defalcat. Poate ca asta sa fie calea de urmat? - -Am inteles ca si Val  spune ca a facut la fel. Altii spun insa ca nu, ca a tacut malc. Sunt mirat totusi de magnitudinea pe care a dobandit-o scandalul, mai ales pentru ca este o problema care n-a mai fost pusa pana acum. Daca e vorba de acuzatii de netransparenta, atunci poate ca primii care ar fi trebuit sa fie intrebati erau cei de la Dove, primii clienti ai lui feminis.ro. Daca e vorba de aspecte morale, atunci ar fi fost normal ca ele sa fie discutate intr-o sedinta BRAT, nu pe bloguri. Iar daca este vorba de intepaturi intre retelele de publishing si intre regii, atunci eu cred ca atunci cand the shit hits the fan, toata lumea va iesi foarte prost din asta, pentru ca (asa cum ii sta bine online-ului romanesc), fiecare poate arata cu degetul rahateii din curtea celuilalt. - -Pacat ca in online-ul romanesc predomina starea de talcioc si de precupete. Prilej pentru publicitari sa mai suspine incantati pentru a-si justifica cei 1.80% alocati online-ului din bugetele lor. Sau poate era timpul ca sa se sparga bube mai vechi? - -Anyhow... o sa vina un mare tavalug incepand asa, de pe la inceputul verii, asa ca pana la urma cei care vor rade mai bine sunt cei care vor avea toti dintii in gura. - -Si asta presupune sa iti tii si gura inchisa... uneori... - -:)]]> - - - -Un motiv de bucurie - Dacia Sandero -http://www.zvoner.ro/?p=701 -Dacia Sandero, as vrea sa spun totusi ca pe langa faptul ca arata OK, pe langa faptul ca are cam tot ce-i trebuie unei masini (fara pretentii, dar oricum e un pas inainte fata de Logan), Sandero are toate sansele sa devina cea mai vanduta masina din istoria Dacia. - -M-au intrebat baietii de la DailyBusiness ce cred despre Sandero si le-am raspuns exact asta: ca va rupe gura targului in Europa mai abitir decat a facut-o Loganul. - -Evident, va trebui sa fie atenti cei de la Renault cu privire la canibalizarea posibila intre Clio si Logan. Om trai si om vedea...]]> - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12844-atom.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12844-atom.xml deleted file mode 100644 index ddd398b16..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12844-atom.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - dive into mark - - A <em>lot</em> of effort - went into making this effortless - - 2005-07-31T12:29:29Z - tag:example.org,2003:3 - - - Copyright (c) 2003, Mark Pilgrim - - Example Toolkit - - - Atom draft-07 snapshot - - - - tag:example.org,2003:3.2397 - 2005-07-31T12:29:29Z - 2003-12-13T08:29:29-04:00 - - Mark Pilgrim - http://example.org/ - f8dy@example.com - - -
    -

    [Update: The Atom draft is finished.]

    -
    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12844.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12844.xml deleted file mode 100644 index a2d815f2d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12844.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - Liftoff News - http://liftoff.msfc.nasa.gov/ - en-us - Tue, 10 Jun 2003 04:00:00 GMT - - Star City - http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp - How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's <a href="http://howe.iki.rssi.ru/GCTC/gctc_e.htm">Star City</a>. - Tue, 03 Jun 2003 09:39:21 GMT - http://liftoff.msfc.nasa.gov/2003/06/03.html#item573 - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12916.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12916.xml deleted file mode 100644 index 024c1b575..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12916.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - sample-feed:1 - €†…ŠŸš§ - -
    - €†…ŠŸš§ -
    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12919.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12919.xml deleted file mode 100644 index f8cc997c0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug12919.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - feed-id - Sample Feed for Bug 12919 - - entry-id - Sample Entry for Bug 12919 - -
    - Linktext -
    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug13215.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug13215.xml deleted file mode 100644 index 4f6191000..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/bug13215.xml +++ /dev/null @@ -1,432 +0,0 @@ - - - <![CDATA[The Post :: Articles]]> - - - http://www.thepost.ohiou.edu/Articles/ - - Fourdrinier - 1995 - 2008 The Post - 2008-03-07T02:39:24-05:00 - - <![CDATA[ Strip club might give way to new alternative]]> - - http://www.thepost.ohiou.edu/Articles/News/2008/03/07/23319/ - 2008-03-07T01:51:23-05:00 - 2008-03-07T00:00:00-05:00 - - Brigitta Burks - http://www.thepost.ohiou.edu/Employees/3368/ - bb115006@ohiou.edu - -
    Pro Rentals Inc. owner Demetrios Prokos said yesterday he would abandon the plan to build a strip club on Stimson Avenue if city officials seem favorable to other plans for the building he owns there. Prokos submitted new designs to city code enforcement Tuesday for the former New-to-You thrift shop property at 9, 11 and 13 W. Stimson Ave. Those designs include apartments above four stores and a restaurant with a drive-thru window as well as additional apartments on the ground floor. Code Enforcement Director Steve Pierson presented the new plans to the Athens Planning Commission yesterday. The project, deemed a Planned Unit Development, will require several code exceptions for the height of the building and the number of available parking spots, Pierson said. A PUD goes through a more extensive review. City codes also do not permit first-floor apartments and serving alcohol on the property, he added. Athens City Council ultimately decides on whether to grant exceptions to city codes. In a prior interview, Prokos said providing three cars that residents can share and pay for by the hour will reduce the need for more parking, Prokos and the planning commission will meet March 20 to talk about necessary code exceptions for the plans. After the meeting, Prokos can submit an application and additional information to city council. Two public hearings will follow. If exceptions are approved after the hearings, Prokos will have one year to start the project, Pierson said. A used luxury auto dealership was already approved for part of the location but is not part of the new drawings. The Athens Board of Zoning Appeals will meet March 11 to decide if the strip club, which tentatively has been named The Hocking Valley Ladies’ and Gentlemen’s Club, is a permissible use of the Stimson Avenue property, Prokos said. “We’re ready to take it to the courts (if the strip club is denied),” Prokos said.
    -
    Pro Rentals, Inc. Owner Demetrios Prokos submitted new designs that include apartments, stores and a restaurant for the Stimson Avenue property that could house a strip club.
    -
    - - <![CDATA[ Unknown communications graduate donates $7.5 million]]> - - http://www.thepost.ohiou.edu/Articles/News/2008/03/07/23318/ - 2008-03-07T01:48:15-05:00 - 2008-03-07T00:00:00-05:00 - - Jessica Holbrook - http://www.thepost.ohiou.edu/Employees/2464/ - jh136105@ohiou.edu - -
    The Scripps College of Communication will receive a $7.5 million donation before the end of this quarter, said Dean Greg Shepherd. A graduate of the college who has declined to be identified gave the endowment. The donor might reveal his or her name before the end of Winter Quarter, Shepherd said. “It’s been a long-term project to secure this commitment, but it’s a wonderful thing for the college,” he said, adding that the gift might be the largest single donation given by a living individual to the university. The money will be used to help support renovations to the Former Baker University Center, which will become the main building for the college. The total cost of renovating Former Baker, Scripps Hall and the Radio-Television Building — a long-term project to upgrade the college — is about $35 million. More than $30 million of that estimated cost will go toward construction to Former Baker. Capital appropriations will account for $21 million of the project. Sources for the rest of the cost are not yet determined. The project, which is still in preliminary stages, should begin construction in January 2010 and should be completed by the fall of 2012, Shepherd said. Plans for the new building were unveiled in February 2006 and include connecting Former Baker with the R-TV building.The new name of Former Baker will “almost certainly be tied” to the donor, Shepherd said. “We’ll definitely let the name be known,” he said. “We’ll make a big deal out of this.”
    -
    The Scripps College of Communication will receive a $7.5 million donation before the end of this quarter, said Dean Greg Shepherd.
    -
    - - <![CDATA[ OU to review Bromley damage claims]]> - - http://www.thepost.ohiou.edu/Articles/News/2008/03/07/23322/ - 2008-03-07T00:00:00-05:00 - - Jessica Holbrook - http://www.thepost.ohiou.edu/Employees/2464/ - jh136105@ohiou.edu - -
    Ohio University is considering covering damages to student property caused by sprinkler systems activated during a fire in Bromley Hall Wednesday afternoon. In a letter sent to Bromley Hall residents yesterday, OU President Roderick McDavis said a review will be conducted to evaluate claims for reimbursement of damaged items. The university does not carry fire or other hazard insurance on students’ personal property, but McDavis advised that homeowner or renter insurance policies could cover the damages. The review will focus mainly on students without insurance, or “hardship cases,” said Kent Smith, vice president for Student Affairs, adding that students should check with insurance carriers first. “(President McDavis) is concerned with students not having insurance; he didn’t want to have students left out in the cold,” he said. The sprinkler system activated during a fire in a sixth-floor room. Several rooms on the sixth floor were flooded with about an inch of water, which trickled down as far as the basement in some areas. “The system worked as designed to both signal warning of the fire and suppress it,” according to the letter.      The review is still in preliminary stages and nothing has been made official, Smith said. It will be handled by staff in the Vice President of Student Affairs office and should begin next week. “Property damaged by fire or water can be replaced,” McDavis said. “You, our students, cannot be replaced.” -   
    -
    Ohio University is considering covering damages to student property caused by sprinkler systems activated during a fire in Bromley Hall yesterday afternoon. In a letter sent to Bromley Hall residents yesterday, OU President Roderick McDavis said a review will be conducted to evaluate claims for reimbursement of damaged items.
    -
    - - <![CDATA[ Doctors to evaluate Bebb’s sanity at time of murder]]> - - http://www.thepost.ohiou.edu/Articles/News/2008/03/07/23321/ - 2008-03-07T00:00:00-05:00 - - Jess Mosser - http://www.thepost.ohiou.edu/Employees/2417/ - jm583304@ohiou.edu - -
    The former Ohio University graduate student accused of murdering his father will undergo yet another mental evaluation, this time to determine if he was sane at the time his father was killed. Jonathan Bebb, 32, will be examined by doctors from the Shawnee Forensic Center in Portsmouth by the order of Athens County Common Pleas Court Judge Michael Ward. This comes after Bebb’s attorneys filed a motion Monday asking to plead not guilty by reason of insanity. Bebb initially pleaded not guilty to aggravated murder Nov. 27 after being charged with killing his father, former OU history professor Phillip Bebb. Although Bebb has undergone other evaluations to determine if he was able to stand trial, this is the first evaluation to determine whether he was aware of his actions during the crime, said C. David Warren, Athens County prosecutor.     Ward will decide later on whether the trial should be moved outside of Athens County, agreeing with Warren that it would be impossible to tell if there is a bias until jury selection begins. Kort Gatterdam, one of Bebb’s attorneys, has argued that extensive coverage of the case has created a “presumed prejudice.”   But Ward did grant a request that no representatives of the prosecutor’s office or jail employees try to talk with Bebb while he’s incarcerated at Southeastern Ohio Regional Jail. This is a precautionary motion to secure Bebb’s constitutional rights, Gatterdam said. “(Bebb) does not wish to speak to anyone about the case,” he said. Prosecutors and Bebb’s lawyers will reach a decision on which photographs of the elder Bebb’s body will be allowed in court sometime before the trial begins. Prosecutors will inform Bebb’s attorneys what photos they intend to use in trial, and they will revisit the issue then, Warren said. A final trial date will be selected during a pre-trial hearing on April 28.
    -
    A former Ohio University graduate student accused of murdering his father will undergo an additional mental evaluation to determine if he was sane at the time of the murder.
    -
    - - <![CDATA[ 5-year-old murder still unsolved]]> - - http://www.thepost.ohiou.edu/Articles/News/2008/03/07/23314/ - 2008-03-07T00:00:00-05:00 - - Gail Burkhardt - http://www.thepost.ohiou.edu/Employees/3582/ - gb273306@ohiou.edu - -
    Dorothy Gamble knows this Sunday will be hard. It was a Sunday morning five years ago when her son, former Ohio University student Terris Ross, was murdered. To this day, there have been no charges pressed.   Ross, 23, was shot and killed March 9, 2003, in the parking lot of the University Commons apartment complex. Investigators from the Athens Police Department have followed up on every small lead they have gotten and need one small piece of information to finish the case, said Lt. John Withers, chief investigator of the case.  It is frustrating because many sources have not been cooperative, he said. Because this is an ongoing investigation, Withers could not provide any suspect names. However, in State v. Lanning in the  Ohio Court of Appeals, Withers testified that Brad McClain was a suspect in the case because the last call made from Ross’ cell phone before the murder was to McClain, according to court documents on an unrelated charge.   Police spoke with a source as recently as 10 days ago, Withers said. Many people involved in the case have kept in touch and APD knows the whereabouts of others, he said. Athens County Prosecutor C. David Warren said he will not try the case until there is sufficient evidence because the killer could go free if he or she is not convicted. Although they want the killer to be brought to justice, members of Ross’ family agree that it is necessary to wait for all of the evidence. “It’s frustrating (to wait for the prosecution), but I want the right person to be held accountable for killing Terris, my son, and I really don’t want to take him all the way to court and lose the case,” Gamble said. Angel Ross was engaged to Terris Ross and legally took his last name after his death. Their daughter, Teaira, was born three months after his death.      As an adult and a reporter, Angel Ross said she knows the investigators need to “have all their ducks in a row” before the suspect is tried, but on an emotional level she wants the killer to be brought to justice. Ross works for The Mansfield News Journal. “My daughter has been my rock through all of this,” said Angel Ross of her 4-and-a-half-year-old daughter.   “She’s a smart little girl because both her mom and dad were OU graduates,” she said.   She has explained to Teaira that “a bad person” killed her father, Angel Ross said.   “I want her to know that this guy was caught.  That’s how it is supposed to work,” she said. Athens County Democratic Party Chair Susan Gwinn used the Terris Ross case in campaign ads against Warren in the Athens County prosecutor’s race. The ads criticized how long it has taken Warren to prosecute on the case.   “No prosecutor can charge anyone on what they know.  They have to charge on what they can prove,” Warren said -in response to the advertisement. Anyone with information on the Terris Ross case should contact the Athens Police Department at 592-3315.
    -
    Sunday morning five years ago marks the anniversary of former Ohio University student Terris Ross’s murder. To this day, there have been no charges pressed.
    -
    - - <![CDATA[ Securing 4th seed]]> - - http://www.thepost.ohiou.edu/Articles/Sports/2008/03/07/23320/ - 2008-03-07T01:55:42-05:00 - 2008-03-07T00:00:00-05:00 - - Katie Carrera - http://www.thepost.ohiou.edu/Employees/2410/ - kc207604@ohiou.edu - -
    While momentum may not mean everything, the Bobcats are acutely aware that the last thing they want to do is limp into next week’s Mid-American Conference Tournament the losers of three straight. Winning Sunday’s regular season finale against Buffalo in The Convo would guarantee the fourth seed and final bye in the tournament, but the Bobcats hope it could also help them get back to the style of play that enabled them to have a five-game winning streak in late January. “We definitely don’t want to lose again going into the tournament,” guard Bert Whittington IV said. “Everything’s not clicking right now with the team. It’s not chemistry but more that our overall game is just not there right now. I’m sure we’ll get back to it, though.” Ohio (18-11, 8-7 MAC) has lost five of the eight games since that winning streak, and has seemed to lose the consistency that had made the team successful before. There were games where the stalwart defensive play that had become a trademark early on faltered at inopportune times and, at Kent State and against Akron, proved unable to stop an opponent. There were offensive droughts, like at Miami and at Eastern Michigan, when the Bobcats failed to have any player score in double digits and slow starts that at home led to dramatic comebacks against Bowling Green and George Mason. What it all signals isn’t any great mystery either, forward Jerome Tillman said, Ohio has to find its consistency once again. “It’s just all the little stuff that we were focused on in the beginning that we have to get back to,” Tillman said. “On defense, we need to contest more shots and not let teams do whatever they want. Guys have to make better reads sometimes ... make the smart plays instead of the glamorous plays. If we’re down, we have to know that we can’t get it all back in one play, we’ve just got to chip away at it.” Both Tillman and Whittington said that teams have found ways to close in on Ohio’s offense as the season has progressed, making it harder for the Bobcats to get the ball to the post and getting in their passing lanes. But neither thought it was something the Bobcats couldn’t remedy. In the past eight games, the seven Bobcats who see the greatest amount of playing time have shot a combined 41.5 percent (145-of-342) from the field. It’s not horrible, but not as good as the team might like for the amount of shots they’re taking. “I think a big thing is our shot selection,” Whittington said. “We need to move the ball around more because it’s been stagnant a little bit with everybody standing around just waiting for Leon (Williams) to get the ball inside instead of getting in there and everybody moving and getting good shots off.” And there’s no better time for Ohio to make the switch back to consistency than Sunday against the Bulls, Whittington said. “We just have to get focused and motivated again.”
    -
    The Bobcats clinch a first-round bye in the MAC Tournament if they can win Sunday against Buffalo.
    -
    - - <![CDATA[ Womens MAC Tournament]]> - - http://www.thepost.ohiou.edu/Articles/Sports/2008/03/07/23323/ - 2008-03-07T01:54:20-05:00 - 2008-03-07T00:00:00-05:00 - - Michelle Munoz - http://www.thepost.ohiou.edu/Employees/2672/ - mm162504@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Ohio has faced some tough challenges this season, but none are more difficult than the one they face now. Not only do the Bobcats have to get over a crucial loss to Miami in which they lost their bye, they also have to attempt to do something that has never been done before. Nobody said it was easy Since the Mid-American Conference moved its tournament to the Quicken Loans Arena in Cleveland, no team that has failed to get a bye has won the tournament.But there have been some close calls.Buffalo made it to the finals in 2005 as the seven-seed. Toledo made it in 2006 also as a seven-seed. Miami made it in 2000 as the nine-seed and again in 2001 without a bye. We Meet Again Earlier this season the Bobcats took on the Chippewas in Mount Pleasant, Mich., and won 71-64.Lauren Kohn led Ohio with 22 points and four steals. Scouting the Chippewas Central Michigan is just 6-22 (2-13 MAC) on the season and is riding a four-game losing streak. The Chippewas are 2-8 against the Bobcats in their last 10 meetings. They are the worst defensive team in the league, giving up an average of 74.5 points per game. Their minus-8.1 scoring margin is second worst in the league.One of the key factors in the game will be if Ohio can limit its turnovers. Turnovers proved costly in its last game of the season against Miami, which the Bobcats lost 82-72 in overtime. Central Michigan is No. 2 in the conference in steals per game at 10.21. Ohio averages 19 turnovers a game, which is fourth worst in the MAC.Britni Houghton is just a sophomore, but she is already Central Michigan’s best player. Houghton is the team’s leading scorer at 12.8 points per game and second on the team in rebounds with 5.8 a game. Deja vu All Over Again Last year as the East Division’s third seed, Ohio faced the sixth seed from the West Division, Central Michigan, in the first round of the tournament and won 55-51.In fact, this will be the fourth straight season that the Bobcats have played Central Michigan in the first round. Ohio has won the previous three. In 2006 and 2007 after beating the Chippewas, the Bobcats went on to suffer a loss at the hands of Eastern Michigan. If Ohio wins on Sunday they play, you guessed it, Eastern Michigan, which is the No. 2 seed in the West Division. Ohio in the tournament The Bobcats are just 9-18 in the Mid-American Conference tournament since it began in 1982-83. The one and only time that the Bobcats have won the whole thing was in 1986 when they beat Central Michigan, 92-85, in overtime. Also on Sunday West Division number three seed Western Michigan takes on the sixth seed from the East, Akron, at 9 p.m.
    -
    A preview of the Ohio Women's Basketball team's appearance in the MAC Tournament this weekend.
    -
    - - <![CDATA[ Staff Predictions]]> - - http://www.thepost.ohiou.edu/Articles/Sports/2008/03/07/23324/ - 2008-03-07T00:00:00-05:00 - - Michelle Munoz - http://www.thepost.ohiou.edu/Employees/2672/ - mm162504@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    -
    The Post's sports staff makes their predictions for Ohio's game against Buffalo Sunday in The Convo.
    -
    - - <![CDATA[ Wrestling: Bobcats bring energy to Kent, begin MAC Tournament]]> - - http://www.thepost.ohiou.edu/Articles/Sports/2008/03/07/23316/ - 2008-03-07T00:00:00-05:00 - - Dylan Scott - http://www.thepost.ohiou.edu/Employees/3060/ - ds783006@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    With the most important   tournament of  the season approaching, Jacob Ison and his teammates have responded by becoming more vocal and energetic in the practice room. And without the traditional seniors and juniors to lead the Bobcats into the Mid-American Conference Championships this weekend at Kent State, Ison and others are taking a leadership role to prepare the youthful squad for its biggest test yet. Although Ison is often the loudest at end-of-practice sprints, he said the increased intensity has been a group effort. “All the older guys are stepping up, and there are some younger guys who like to make themselves known,” the 174-pound sophomore said. “Everybody pushes each other. I don’t think there’s individually one person that stands out.” -For Ison and company, the weekend’s stakes couldn’t be higher. The best performers at the tournament will have  an opportunity to advance to the NCAA Championships on March 20. The winners of the 10 weight divisions will receive automatic bids, leaving nine spots to be filled at-large. If none of the Bobcats earn a spot, then the entire team’s season could end this weekend. But Ison said he feels the Bobcats are ready to prove what they are capable of. “We’re just now starting to put things together,” he said. “I know we’ve been saying that all year, but I think we’ve got some kids who are on their way.” Because of the tournament’s importance, the preparations have varied from the regular season’s schedule. During the course of the season, the wrestlers rarely get an opportunity to scout the individual wrestler that they were to face for dual meets or invitationals. For the conference tournament, however, Ohio coach Joel Greenlee has been running film sessions to give his team an edge. Another part of the process is easing up the team’s workouts. In January and February, Greenlee would pause only 30 seconds between drills, but now the time has increased to 45 seconds since Ohio’s last dual meet two weeks ago. The wrestlers have to be well-rested for today if they’re going to perform at their best, Greenlee said. “Your body gets worn down, and now you’re trying to build it back up,” he said. “You’re able to wrestle a little bit harder.” Even with the increased intensity and preparation, expectations are still modest among the Bobcats. After all, none of the wrestlers is projected to win their weight divisions. But Greenlee was quick to point out that, at the conference tournament, anything can happen. “We need to go and compete hard. That’s been our theme for the whole year,” he said. “We’ve got nothing to lose.”
    -
    The stakes 'couldn't be higher' as the Bobcats are set to begin the MAC Tournament today in Kent.
    -
    - - <![CDATA[ Baseball: Bobcats set for weekend series with UNC Greensboro]]> - - http://www.thepost.ohiou.edu/Articles/Sports/2008/03/07/23311/ - 2008-03-07T00:09:30-05:00 - 2008-03-07T00:00:00-05:00 - - Robert Doll - http://www.thepost.ohiou.edu/Employees/3526/ - rd229606@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Ohio will square off against a tough UNC Greensboro team in a three-game series this weekend. “Greensboro will be as good, if not tougher, than the teams we’ve faced so far,” junior pitcher Chris Rigo said. The Bobcats enter the weekend’s series on a three-game losing streak, which they calculated 10 total errors to their opponents five. The team has posted a 3-0 record without errors, and defense should be pivotal this weekend, senior shortstop Zach Hartle said. “Anytime you can play the game error free, it makes it easier on yourself,” Hartle said. “That’s one of our main focuses every time we hit the field practice or game.” The Spartans (5-2) just snapped a four-game winning streak. They still pose a strong threat, however, as they hold a team batting average of .329 and have hit seven home runs. Ohio’s pitching staff has been solid this year, though, with a team ERA of 3.98 compared to their opponents 4.64. “On the mound we need to throw strikes, get ahead of hitters, keep them off balance, and keep them off the base paths,” Rigo said. Rigo has tallied 13 strikeouts in 13 and 2/3 innings of work. “Having a good strikeout ratio is important because it can help you pitch out of jams and can take the ball out of play, thus helping out the defense,” Rigo said. Quality starts into the later innings will also be crucial. “If we can have starters go six to seven innings per start with minimal runs given up, it gives our team a very good chance at winning and helps the bullpen stay fresh,” Rigo said. One of the keys to the weekend’s series will be to silence the Spartans’ bats early and jump out to an early lead. Greensboro is 3-1 when scoring in the first inning and 3-0 with a lead after the sixth. “If we play solid through our lineup and our pitching is effective we will be able to win two to three games at Greensboro,” Rigo said.
    -
    Ohio takes losing streak to Greensboro N.C for a weekend series with the Spartans.
    -
    - - <![CDATA[ International women find better opportunities in OU varsity sports]]> - - http://www.thepost.ohiou.edu/Articles/Culture/2008/03/07/23315/ - 2008-03-07T01:13:14-05:00 - 2008-03-07T00:00:00-05:00 - - Ashley Luthern - http://www.thepost.ohiou.edu/Employees/2812/ - al324805@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    For Ohio University varsity swimmer Carine Souza, experiencing the thrill of cheering fans and teammates was something she had never known in Brazil. “Here, fans get crazy for all sports. I was fascinated at the basketball game with the band and all that support. In Brazil, people are so big in soccer that they don’t care about anything else and don’t give any incentive for swimming,” Souza said. Souza is part of the 5 percent of female varsity athletes at OU who bring an international perspective to their sports — a perspective that is highlighted by the celebration of International Women’s Day tomorrow. Because of the lack of popularity of women’s sports in other countries, female athletes are often surprised by the opportunities in their sports and by the level of support for their teams while in the United States. In many countries, state education systems do not advocate organized sports like the United States does with physical education in public schools. Although men and women are moving toward equality in many areas, athletics remains highly separated by gender, said Saumya Pant, visiting professor in Women’s Studies. “In South Africa, everything sport revolves around men. Women are in the background,” said Louzeth Schutte, a freshman field hockey player from Free State, South Africa. In Canada, diving isn’t offered at the collegiate level, so Saskatchewan native Lindsay Hamilton explored her options in the United States, and after talking with diving coach Russ Dekker, decided to come to OU. “Back home, swimming and diving are completely separate. Here we (divers) cheer for the swimmers and really get to know them,” said Hamilton. For Schutte, field hockey is the same to her here as in South Africa. “I feel like it’s the same and basically comes down to the same thing, even though field hockey is not as widespread in high schools here like it is in South Africa,” Schutte said. When Souza had to choose between swimming for OU or Brazil’s national swim team, she chose what she thought was the best option for success. Swimming at OU was a difficult choice because she knew she would have to compete and focus on her studies while living in a country where she didn’t speak the language. Her father communicated with OU staff because he was the only one in her family who knew English. “I had to give up a little and stop swimming in Brazil,” said Souza, a junior dietetics major from Rio de Janeiro. To an American, it’s surprising that someone would choose academic success over athletics, because in the United States it is possible to play professional sports — even for women — and be fairly well-paid, Pant said. A fraction of international students have used sports to make it to U.S. universities, but most, especially women, plan to stop competing after college. “If I graduate and get a degree in the U.S., I almost for sure can get a good job in Brazil,” said Souza. Hamilton said that she might continue diving after college for a year or two, but will probably be done when she graduates. Even though many female athletes don’t plan to continue competing after graduation, they maintain that sport is definitely a source of opportunity. “Everything I got in my life is because of swimming,” Souza said. “I’ve learned another language, am going to school in the U.S. and meeting all of these new people.”
    -
    Female athletes from around the world who attend Ohio University will be celebrating International Women's Day tomorrow.
    -
    - - <![CDATA[ OU tries to make students more energy conscious]]> - - http://www.thepost.ohiou.edu/Articles/Culture/2008/03/07/23303/ - 2008-03-07T00:05:51-05:00 - 2008-03-07T00:00:00-05:00 - - Kaitlin Hensel - http://www.thepost.ohiou.edu/Employees/3722/ - kh145906@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    As energy efficiency remains a hot topic on the current environmental and political agenda, Ohio University is getting students involved in the effort. Sonia Marcus, OU’s sustainability coordinator, said the university is trying to get students to change their behavior to be more energy conservative through educational competitions such as the ResChallenge. The seven-week energy conservation competition between participating residence halls on each green tracks each residence hall’s weekly energy consumption. In the past, the competition also included water consumption, but the Office of Sustainability cannot monitor water consumption this year because several campus water meters are not working. Water meters at Scott Quad, Martzolff House and Jefferson Hall are currently out of operation. Ron Chapman, director of energy management, said the university has notified the city of Athens about the dysfunctional meters and are waiting for them to be fixed. Athens Water Maintenance Supervisor Nick Joseph was unavailable for comment at press time. Water bills for the residence halls are being calculated based on past water usage, Chapman said. “They are able to estimate with some reasonability based on previous water bills,” Chapman said, adding that in a city such as Athens with many utilities, it’s not uncommon for several utilities to need attention at any given time. “Even though water isn’t being counted as part of the competition, we are still reading the working meters … and still trying to encourage students to conserve water,” Chapman said. Marcus explained OU’s energy consumption is determined by a variety of factors, such as the amount of utilities in use per building, how long each utility is in use and the square footage of each building. “It’s tough to say how much progress is going on because energy conservation goes hand in hand with how people use the buildings,” Marcus said. With new technology creating a larger demand for energy, students are consuming more energy on average than in previous years. “More students are bringing more electrical-dependent things per room,” Marcus said. “Students today have a different culture of consumption.” According to Ohio University’s Performance Contract last updated in February 2007, the university has spent a total of $8,986,058 over the last five years in energy conserving infrastructure projects with a total cost savings of $7,055,617 as a result of these projects. “We may not have made a considerable monetary savings, but imagine what our energy expenditures would be like had we not completed the conservation projects,” Marcus said. Conservation projects such as the ResChallenge have been successful in both conserving energy and educating students about the need to conserve. Residents from the hall that saves the most will win an all expenses paid trip to Cedar Point on May 11. At the end of the sixth week of competition on March 1, Tiffin Hall held the lead on East Green, Frenzel House was No. 1 on South Green and James Hall was the frontrunner on West Green. Harry Wyatt, executive director of Facilities Management, said the amount of energy savings during the competition thus far is clearly higher than the savings last year. “I’m very proud of the way students are reacting,” he said.
    -
    As energy efficiency remains a hot topic on the current environmental and political agenda, Ohio University is getting students involved in the effort. Sonia Marcus, OU’s sustainability coordinator, said the university is trying to get students to change their behavior to be more energy conservative through educational competitions such as the ResChallenge.The seven-week energy conservation competition between participating residence halls on each green tracks each residence hall’s weekly energy consumption.
    -
    - - <![CDATA[ Students bring new light bulbs, savings to 2 dorms]]> - - http://www.thepost.ohiou.edu/Articles/Culture/2008/03/07/23313/ - 2008-03-07T01:13:52-05:00 - 2008-03-07T00:00:00-05:00 - - Kaitlin Hensel - http://www.thepost.ohiou.edu/Employees/3722/ - kh145906@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Two Ohio University students had a bright idea about reducing energy consumption in residence halls — install energy-efficient light bulbs. Aaron Lemley, a sophomore from Bromley Hall, and Beth Ellis, a graduate student from Adams Hall, recently requested energy-efficient light bulbs from the Office of Sustainability in conjunction with the ResChallenge energy conservation project. OU Sustainability Coordinator Sonia Marcus provided each student with 50 compact fluorescent light bulbs to distribute to residents in their respective residence halls in exchange for incandescent light bulbs. The bulbs are used in personal lighting fixtures such as desk lamps. Marcus said her department is able to supply a maximum of 50 bulbs per student request. The 20-watt compact fluorescent light bulbs have the ability to produce the same amount of light as a 75-watt incandescent bulb, Marcus said. “One compact fluorescent bulb probably saves $20 to $30 over its lifetime,” she said. “The bulbs not only generate high-quality lighting but also last longer with most having a nine-year warranty.” Lemley distributed the light bulbs along with information about energy conservation and said 50 bulbs were not enough to accommodate Bromley. “There are definitely a lot of people that could still use them,” Lemley explained. He said that residence hall energy conservation efforts would have a greater impact if more funding and resources were available. Ellis agreed and said she has noticed a change in residents’ energy consumption behavior since the start of the competition but believes more of an effort is needed. “Hall Council can only do so much,” she said. Ellis said Adams Hall divided the 50 light bulbs among the building’s four floors. She explained that with Adams being such a new residence hall, it’s harder for residents to compete in the Residence Challenge because the building is already so energy-efficient. Harry Wyatt, executive director of Facilities Management, explained that Adams has an interesting balance between energy efficiency and energy consumption. “Adams is certainly a modern building, but it is also built to accommodate more modern energy features and with that comes greater energy usage,” Wyatt said. Wyatt said that residence hall energy efficiency and consumption varies across the board depending on each building and its renovations. Jneanne Hacker, associate director of Housing, praised the students’ conservation efforts. “The new light bulbs are making a huge difference not only in lighting but in energy savings as well,” she said.
    -
    Two Ohio University students had a bright idea about reducing energy consumption in residence halls — install energy efficient light bulbs.
    -
    - - <![CDATA[ ‘Runway’ finalist to judge Project ReUse event]]> - - http://www.thepost.ohiou.edu/Articles/Culture/2008/03/07/23312/ - 2008-03-06T23:09:40-05:00 - 2008-03-07T00:00:00-05:00 - - Jane Adams - http://www.thepost.ohiou.edu/Employees/3868/ - ja250406@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    The Project ReUse fashion show isn’t exactly part of New York fashion week, but this year, armed with a celebrity judge and a new location, ReUse Industries plans to show that recycling can be more than just practical — it can be fashionable. Saturday’s fashion show at ARTS/West will show off the creations of nine teams of designers. The $6 admission will benefit ReUse Industries, a non-profit environmental organization whose main goal is to keep reusable materials from being dumped into the waste stream. The designing teams were given $10 each in the form of a gift card to the ReUse Thrift Store and about a month to make their creations. They will compete for gift baskets full of $500 worth of prizes donated by local businesses. Judging the designs will be Passion Works founder Patty Mitchell, local musician Liz Pahl and former Project Runway semi-finalist Angela Kesler. Sherri Oliver of ReUse Industries organized the show and said she contacted Kesler about becoming a judge when she found out she was from Amesville, Ohio — about 20 minutes from Athens. “She is someone from the fashion world who is local and very involved in the Athens community, and we are really excited to have her,” Oliver said. Kesler isn’t the only surprise that ReUse Industries has up its sleeve. The after-party, which will be at Casa Cantina, will feature the bands Casual Future, Silo Circuit and Russenorsk. The show will start at 10:30 p.m. and run until 1 a.m., when the bars close early for daylight saving time. Those who can’t make the show will still be able to see the outfits, Oliver said. They will be displayed at Stuart’s Opera House in Nelsonville April 25 at the opera house’s Final Fridays gallery. “The whole purpose of the event is just to show people that you don’t have to spend tons of money, or even buy something new to come up with something really interesting and fashion forward,” Oliver said.
    -
    This Saturday, Project ReUse will show how fashionable recycling can be during its second annual fashion show
    -
    - - <![CDATA[ Ferrell’s ‘Semi-Pro’ ruled a dud]]> - - http://www.thepost.ohiou.edu/Articles/Culture/2008/03/07/23304/ - 2008-03-06T22:12:14-05:00 - 2008-03-07T00:00:00-05:00 - - Chris Bruce - http://www.thepost.ohiou.edu/Employees/3016/ - cb239004@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Semi-Pro is what you get when you cross Anchorman, a sports movie and a plethora of jokes about balls. The new Will Ferrell comedy tries to slam dunk with laughs, but most of the jokes miss the net. Ferrell plays Jackie Moon, the head coach, owner and forward for the Flint, Michigan Tropics, an ABA basketball team in 1976. The league is about merge with the NBA, and Jackie is promised that if his struggling team gets into the top four, it will move to the new league. Moon’s secret weapon is Monix (Woody Harrelson), a washed-up, former Celtics player. If you cannot tell by now, this is the same plot as every other sports movie. The team has to come together to win and so on and so forth, so just forget the plot. The jokes are the reason people will be crowding the theaters to see this sports spoof. Many of them will be disappointed. In its favor, Semi-Pro is a thousand times better than The Comebacks, the sports comedy released earlier this year. Ironically, David Koechner, the star of The Comebacks, plays the villain in Semi-Pro like he is trying to redeem himself for past sins. There is one laugh-out-loud, hilarious scene in the movie, though. Ferrell, Tim Meadows, Will Arnett and Andy Richter are sitting around a table playing poker. Arnett pulls out a pistol and an impromptu game of Russian roulette begins. It is obviously hard to imagine a suicidal game of chance being comedy gold, but it is the movie’s pinnacle. For some reason the movie is incredibly schizophrenic. It can’t decide if it wants to be funny or serious. There are several dramatic scenes with Monix trying to get back together with an old flame and motivating the team. This is supposed to be a comedy. Watching Harrelson act is like finding a musical number during the middle of No Country for Old Men. It does not fit at all. The rest of the movie is not much more than a slightly warmed rehash of Anchorman. There is a bear fight, lots of absurd exclamations and Ferrell singing. Ferrell is starting to make a career out of bad sports movies. First there was Talladega Nights, then Blades of Glory and now this. If he tries long enough, he will have to get things right eventually. Honestly, it is not surprising that this movie is not funny. Movies that are as over-advertised as Semi-Pro are usually proportionately bad. The Landlord proves that Ferrell can still be funny, but Semi-Pro is a complete air ball. Ferrell is trying too hard to regain past glory. There is no doubt that he is still talented, but Semi-Pro is a foul.
    -
    Post film Critic Chris Bruce says the new Will Ferrell comedy Semi-Pro tries to slam dunk with laughs, but most of the jokes miss the net.
    -
    - - <![CDATA[ Crowes’ new album returns to roots of rock ‘n’ roll]]> - - http://www.thepost.ohiou.edu/Articles/Culture/2008/03/07/23317/ - 2008-03-07T00:00:00-05:00 - - Susan Tebben - http://www.thepost.ohiou.edu/Employees/2373/ - st839705@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Finally. Good, pure music has been in short supply for at least the last few weeks. Thankfully, that streak ended this week. With the release of The Black Crowes’ Warpaint, listeners get a reprieve. It’s been seven years since we’ve heard a new studio album from them.  It’s been way too long. Warpaint shows off the Crowes’ southern roots and is as comforting to hear as a lot of southern food can be to eat. There is a mixture of country, rock and the blues that puts a new spin on songs that could have been sung during the Civil War. Lead singer Chris Robinson’s gritty vocals fit perfectly with the gospel sound of “God’s Got It” and the heavy blues riffs of “Walk Believer Walk.” Although Robinson’s vocals have always been hard-edged, they soften surprisingly well, expressing all the intended sensitivity of “There’s Gold in Them Hills.” But Robinson’s lyrics are not the only thing going on in this album. For once this season, there is more than just strumming behind the vocals. The guitar takes on a life of its own, almost creating a secondary voice behind the singing. The slide guitar adds an extra ounce of southern sound that is welcome. The mandolin on “Locust Street” -adds to the beauty of this album superbly. The image of a sleepy bar in Austin comes to mind with the slow country waltz of “Oh Josephine.” Then the rock ‘n’ roll kicks in. “Wounded Bird” runs free like any good rock song should, reminiscent of the bands of old like Led Zeppelin and Aerosmith. As is usually the case with a first single, “Goodbye Daughters of the Revolution” is as mainstream as this album gets. Warpaint is an excellent example of why bands should go back to their roots instead of trying to reinvent rock music. The new album is just an extension of the homespun rock the Crowes have always done, going all the way back to “She Talks to Angels.” There is not one computer effect on this album, unlike 2001’s Lions and pretty much everything else released this year. CMT watchers and loyal Crowes’ fans will enjoy this album right off the bat, but the MTV/VH1 watchers might have to give this album a couple of tries. But since good old rock ‘n’ roll has been sparse in the mainstream, it’s definitely worth a listen.
    -
    After seven years without releasing a studio album, The Black Crowes' Warpaint has a refreshing sound.
    -
    - - <![CDATA[ Banking on co-ed]]> - - http://www.thepost.ohiou.edu/Articles/Opinion/Editorial/2008/03/07/23309/ - 2008-03-07T00:32:30-05:00 - 2008-03-07T00:00:00-05:00 - - Susan Tebben - http://www.thepost.ohiou.edu/Employees/2373/ - st839705@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Ohio University’s Housing Office is working to make room for male freshmen in the fall of 2008. Starting Fall Quarter, Treudley Hall, one of two female-only residence halls on campus, will allow male residents for the first time since its construction. The move is designed to make space for the growing male student population while keeping costs down. While it is true that a few Treudley residents are angered by this decision, the choice to make Treudley co-ed is a sound one. The building itself is ready to receive male residents, as it was constructed with men’s restrooms — the only cost that would be incurred in converting the dorm would be $50 for replacing the signs on the bathroom doors. When compared to more drastic methods of making space, such as converting the co-ed Ryors Hall to a male-only dorm, the choice to convert Treudley is far more reasonable. In addition, this decision is designed to serve the needs of the greater student population instead of the small minority of residents who desire all-female housing. Only 33 of the 1,057 incoming freshman who returned housing contracts specified single-sex housing as their top priority. There is no reason that a small group of malcontented residents should take precedence over the growing student population. It seems ridiculous that some residents have reacted so strongly to this decision, especially when Voigt Hall on East Green will remain female-only next year. Those female students who live in Treudley and wish to stay in female-only housing will receive priority housing registration when rooms in Voigt are assigned. It is true that Voigt is located closer to Uptown and greek organizations’ houses, but these are not likely to have a significant effect on the quality of residents’ lives. Some residents also have expressed concerns about sexual assault. Certainly, this is nothing to take lightly. But it is foolish to think that making Treudley co-ed will increase the incidence of rape or sexual assault. Simply having men living nearby will not make female residents any less safe. Housing has done a commendable job of making sure that Treudley’s transition occurs smoothly. Even though some students have expressed grievances on the subject, it is clear that Treudley’s transition is needed. The male student population is growing. Converting Treudley is the most economical way to make room for the growing male population while being fair and respectful to current residents.
    -
    Ohio University’s Housing Office is working to make room for male freshmen in the fall of 2008. Starting Fall Quarter, Treudley Hall, one of two female-only residence halls on campus, will allow male residents for the first time since its construction. The move is designed to make space for the growing male student population while keeping costs down.
    -
    - - <![CDATA[ 'Post' losing integrity]]> - - http://www.thepost.ohiou.edu/Articles/Opinion/Your Turn/2008/03/07/23308/ - 2008-03-07T00:32:47-05:00 - 2008-03-07T00:00:00-05:00 - - Susan Tebben - http://www.thepost.ohiou.edu/Employees/2373/ - st839705@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Over the past couple of weeks, I feel it necessary to let you know how I feel about The Post as of late. Mistakes are being made constantly. Information is either incorrect to begin with or sources are not reliable. Do not get me wrong; I read the newspaper every day and enjoy doing so. With that said, I feel that the editor in chief needs to be much more careful in the future about what is being printed in The Post. I am not going to blame anybody for his or her articles; I am sure that he or she at the time felt the right thing was being done. I do, however, feel that your staff needs to be lectured on how to accurately collect information before submitting it to a newspaper that is read by thousands of people every day. It seems as if every week I read about something that has been incorrect. An e-mail yesterday evening, a front-page apology from the editor in chief a week or two ago. The integrity of the newspaper is going down hill. I do not pretend to think that I know how to be the editor of the newspaper; I just feel that in my time spent here in Athens, this year I have read about far too many wrongdoings than in any year before. Andrew Johnson is a senior political science major.
    -
    Over the past couple of weeks, I feel it necessary to let you know how I feel about The Post as of late. Mistakes are being made constantly. Information is either incorrect to begin with or sources are not reliable. Do not get me wrong; I read the newspaper every day and enjoy doing so. With that said, I feel that the editor in chief needs to be much more careful in the future about what is being printed in The Post. I am not going to blame anybody for his or her articles; I am sure that he or
    -
    - - <![CDATA[ For students without wheels, Athens Transit is 'great system']]> - - http://www.thepost.ohiou.edu/Articles/Opinion/Your Turn/2008/03/07/23307/ - 2008-03-07T00:33:26-05:00 - 2008-03-07T00:00:00-05:00 - - Susan Tebben - http://www.thepost.ohiou.edu/Employees/2373/ - st839705@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Being a freshman in Athens can make getting to far parts of town very challenging; nonetheless, when living on your own there are simply times when you have to get to the store to replace some essential item. I mean, what does one do when the few friends with cars are nowhere to be found? Well, when I found myself in this situation, I reluctantly took the bus. I say reluctantly because I was confused about where and when to get on, and I did not like the picture of stepping into the stereotypical dirty, public bus. However, I was mistaken. Athens Transit is doing great work. First, they provide a wonderful service to those of us without a car by allowing us to go where we need. I think it is impressive how the buses are on time, and how close (though it may not be realized) the stops are to wherever you are. Additionally, my driver was quite friendly, which made the trip enjoyable. I know many students may not take advantage of this great system because it seems intimidating to learn how it works, but it’s not confusing at all. I encourage my peers to go for a ride; times, routes and stops are available on their Web site: www.athenstransit.org. It’s cheap and easily gets you where you need to be — keep up the good work, AT!Sandra Combs is a freshman journalism major.
    -
    Being a freshman in Athens can make getting to far parts of town very challenging; nonetheless, when living on your own there are simply times when you have to get to the store to replace some essential item. I mean, what does one do when the few friends with cars are nowhere to be found? Well, when I found myself in this situation, I reluctantly took the bus.
    -
    - - <![CDATA[ "Does God Exist" Debate Recap]]> - - http://www.thepost.ohiou.edu/Articles/Multimedia/2008/03/07/23325/ - 2008-03-07T02:39:24-05:00 - 2008-03-07T00:00:00-05:00 - - For The Post - http://www.thepost.ohiou.edu/Employees/4/ - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    -
    -
    - - <![CDATA[ The Great Porn Debate Recap]]> - - http://www.thepost.ohiou.edu/Articles/Multimedia/2008/02/25/23047/ - 2008-02-25T10:39:02-05:00 - 2008-02-25T00:00:00-05:00 - - For The Post - http://www.thepost.ohiou.edu/Employees/4/ - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    -
    -
    - - <![CDATA[ Editor's note]]> - - http://www.thepost.ohiou.edu/Articles/Opinion/Columns/2008/03/07/23310/ - 2008-03-06T22:00:04-05:00 - 2008-03-07T00:00:00-05:00 - - For The Post - http://www.thepost.ohiou.edu/Employees/4/ - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    The e-mail sent to Ohio University students late Wednesday night from Chief Information Officer Brice Bible is misleading and, frankly, appalling. Let’s ignore for a minute that Bible’s e-mail questions the accuracy of a Post story simply by repeating claims he made in that story. Let’s also ignore for a minute that Bible sent out the e-mail late Wednesday — a cowardly move that made it nearly impossible for The Post to respond in the next day’s paper. Let’s focus on the fact that Bible makes $210,000 a year, but it took a Post reporter (who makes $30 a week) to tell him that more than 25,000 student pictures were posted on an OU Web site without any sort of password or login protection. But wait, you say, Bible’s e-mail claims the university “did not make student photos publicly available.” More specifically, the e-mail claims “to locate these files initially, a person would have to misuse authorized access to our network or gain information from someone else who misused authorized access.” Bible is dead wrong, but what’s worse is that he knows it. He is apparently comfortable lying to every student at Ohio University. All Post reporter David M. Hendricks Jr. did to access the photo directory was type in a Web address. He didn’t need any sort of login or password — just a keyboard and Firefox. It’s true that Hendricks is a Resident Assistant, and the information he discovered was attached to a Web site used by RAs to file incident reports. That Web site was password protected; the picture directory that Hendricks discovered was not. So how did he get there? He simply guessed strings of words at the end of the incident-reporting Web site and stumbled upon the picture directory — no password necessary. Bible makes a valid point when he says not everybody knows about the RA incident-reporting site. The site was not indexed by any search engine. But former RAs who used the site or even friends of RAs who saw the site would know the Web address. Is it really unfathomable that they might try to find offshoots of it by playing with the address? Heck, even somebody who was technologically savvy might have been able to discover the site and do the same thing Hendricks did. In an interview, Bible told me he couldn’t envision anyone guessing the way Hendricks did. But Jeff Schiller, a network manager at the Massachusetts Institute of Technology who was given specific information about how Hendricks discovered the pictures, said adding or removing characters from a Web address is common practice for those trying to find quasi-hidden information. And he went even further, saying OU had “no excuse for leaving such information exposed on a Web site, even one that isn’t advertised anywhere, without requiring some level of login.” Schiller obviously isn’t familiar with OU because officials here are full of excuses. Instead of responding to our story by saying, “Yes, it’s true, but the problem was minor and we fixed it,” they’ve responded by trashing The Post’s story with vague claims that it is “misleading” and “troubling.” One can certainly debate the significance of 25,000 student photos being posted online in this manner, even if it might be a violation of federal privacy law. Hendricks personally showed me my photo on the Web site; I thought it was rather comical. What isn’t comical is Bible using the university e-mail system as his bully pulpit to spread lies about The Post. We stand by every word in that story, and we find it not troubling, but appalling, that high-ranking officials would question it simply to save themselves from personal embarrassment. Matt Zapotosky is the Editor in Chief of The Post. Send him an e-mail at mz152904@ohiou.edu.
    -
    The e-mail sent to Ohio University students late Wednesday night from Chief Information Officer Brice Bible is misleading and, frankly, appalling.
    -
    - - <![CDATA[ Green with envy: Environmentalists, scientists need to reconcile]]> - - http://www.thepost.ohiou.edu/Articles/Opinion/Columns/2008/03/07/23306/ - 2008-03-06T21:37:33-05:00 - 2008-03-07T00:00:00-05:00 - - Cathy Wilson - http://www.thepost.ohiou.edu/Employees/3373/ - cw224805@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    Whenever I have a column to write, I know when I have my geography-major friend (he specializes in environmental hazards and sustainable communities) proofread it that it’s probably going to get torn to shreds. After it is published each Friday, I am fairly confident my chemistry-major friend is going to point out what is inaccurate scientifically. I’m also positive that each week my ISE-major friend will be mad he isn’t the centerpiece of my column, but that’s beside the point. The problem I continually have is that I look at the environment from a journalistic standpoint. I look at what’s in the newspapers, I form an opinion with those data and I write my column each week. I’ll admit that science has never been my strong suit, and until recently I figured I could swing by as an environmentalist without really grasping the nuts and bolts of the scientific facts. While I am deathly afraid of science and math classes and was excited to avoid them during college, I’ve finally come to the realization that science is the foundation of the environmental movement. John Coleman, the founder of The Weather Channel, derided Al Gore on Tuesday morning’s episode of “Fox and Friends” on Fox News Channel because he said the science doesn’t provide evidence that carbon is the culprit behind climate change. He mentioned that environmentalists needed to embrace and listen to science more, which is a statement I can agree with. Coleman was a speaker at the International Conference on Climate Change in New York, which ended last Tuesday. The conference was comprised of scientists and professors who are not in total agreement about with the mainstream Al Gorean theories of “global warming.” Business & Media Institute actually noted that most mainstream news mocked the conference and the skeptics who questioned the “consensus” about climate change and its causes. Journalists tend to be stubborn, a character trait that can be both dangerous and rewarding in a field where everyone has a different story to tell and a different set of facts and figures to go with them. We must weed through sources, statistics and articles to find what is accurate and what is not. I think what journalists also need to do is start diving into the difficult theories and try to understand them. Don’t just talk to environmental organizations; talk to geologists, chemists and geographers. The same goes for environmentalists who don’t investigate more than news articles as sources for their facts and figures. I am one of those people who find it easier to wade through Grist and other popular Web sites without trying to wade through academic journals and magazines. I look at the political and ethical sides to issues without trying to understand the scientific underbelly of them. I’ve made the decision to take a step into the scientific realm, even though it could mean a lot of confusion, a lower GPA and tons of numbers. I’m starting off slow with environmental geography, but I’m working my way up so that I can hold a decent conversation about the environment without turning to stone at the mention of science. While there needs to be an understanding of both the political and scientific aspects of the environmental movement, I think the political side gets a lot more of the spotlight than the scientists who are expected to invent the renewable fuel sources, the alternative energy sources and chemical compounds for everyday activities like doing laundry that aren’t threatening to our health. This is an example of why you have to take sociology if you’re a biology major or physics if you’re an art major. To understand everything in this world, you can’t simply focus on what comes easily to you and disregard everything else. The world is a complex place, and the more tools you are equipped with to face it, the better. If the political and scientific sides of the environmental movement would be more united, we could get a lot more done in terms of energy efficiency and sustainability. A communication and an understanding need to be reached to some extent between the two, and right now that isn’t happening, and it’s detrimental to the goals of both parties. People are still going to bicker, my column is still going to probably need proofreading and constructive criticism from both my science-loving friends, but I can’t deny the intersection between politics and science anymore. I’ve received far too many e-mails correcting my lack of scientific knowledge to deny that knowing more about science would make me a better writer and environmentalist to the people who take what I write as a columnist to be accurate news. I encourage anyone else guilty of my same crime to make an effort to bridge that divide, too. Cathy Wilson is a junior journalism major. Send her an e-mail at cw224805@ohiou.edu.
    -
    Post columnist discusses how the political and scientific sides of the environmental movement should be more united.
    -
    - - <![CDATA[ Mr. Right: Student Senate neglects OU’s greek community]]> - - http://www.thepost.ohiou.edu/Articles/Opinion/Columns/2008/03/07/23305/ - 2008-03-06T22:00:50-05:00 - 2008-03-07T00:00:00-05:00 - - Nathan Nelson - http://www.thepost.ohiou.edu/Employees/3865/ - nn3188062@ohiou.edu - - - Matt O'Donnell - http://www.thepost.ohiou.edu/Employees/2448/ - mo134405@ohiou.edu - -
    It’s widely believed within OU’s greek community that the McDavis administration has been unfriendly toward fraternities and sororities. Many are concerned that the Department of Campus Life is micromanaging important aspects of greek life through the various organizations responsible for governing fraternities and sororities. One wonders, then, why so many greeks are supportive of the current Student Senate. Over the course of this year, senators have done nothing to demonstrate that the concerns of the greek community are important to them, and this should lead their greek supporters to question the wisdom of continuing that support. What could Student Senate have done differently? For starters, senators could have used their bully pulpit as the voice of the student body to urge Campus Life to ease its stranglehold on the greek community. As noted in this column earlier in the quarter, many fraternity brothers are concerned about plans by the Interfraternity Council (IFC) to phase out the more favored informal recruitment process and replace it with an unpopular formal process governed by IFC. Why hasn’t Student Senate passed a resolution addressing these concerns? Shouldn’t senators have spoken up in defense of the greek community’s right to govern its own recruitment processes? Of course, it’s possible that Student Senate is unaware of these concerns. If this is the case, it raises another problem: Are senators even hearing the complaints of the greek community? If greek concerns aren’t being heard on Student Senate, this problem could be easily remedied by establishing a Commission on Greek Life. Student Senate commissions exist to ensure that important or underrepresented groups have a voice in student government. The greek community is both important and underrepresented, but it is currently under the umbrella of the Commission on University Life. This commission already deals with a wide range of issues that make it impossible for it to address the multitude of issues important to the greek community. If Student Senate wants to adequately represent the greek community, fraternities and sororities should have their own Student Senate commission. According to the Department of Campus Life Web site, 12 percent of the undergraduate student population belongs to a fraternity or sorority. Clearly the greek community deserves to be adequately represented in student government, and any Student Senate that is serious about representing the student body will seek to address greek concerns. Unfortunately, the current Student Senate has proven all year that it either cannot or will not meet student needs, and the needs of the greek community have been no exception. As Spring Quarter approaches and with it the promise of new Student Senate elections, senators seeking reelection will once again be looking for support from fraternities and sororities. The greek community may want to think long and hard before granting them any more support. Whoever their opposition may be, they would certainly be hard pressed to do a worse job addressing the issues important to the greek community. Nate Nelson is a sophomore political science major and is on the executive committee of Lambda Chi Alpha. E-mail him at nn318806@ohiou.edu.
    -
    Post columnist Nathan Nelson asserts that Student Senate should do more to address the concerns of greek life.
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/delicious.feed b/modules/blockrss/vendor/pear/xml_feed_parser/samples/delicious.feed deleted file mode 100644 index 32f9fa493..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/delicious.feed +++ /dev/null @@ -1,177 +0,0 @@ - - - - -del.icio.us/tag/greenbelt -http://del.icio.us/tag/greenbelt -Text - - - - - - - - - - - - - - - - -Greenbelt - Homepage Section -http://www.greenbelt.org.uk/ -jonnybaker -2005-05-16T16:30:38Z -greenbelt - - - - - - - - -Greenbelt festival (uk) -http://www.greenbelt.org.uk/ -sssshhhh -2005-05-14T18:19:40Z -audiology festival gigs greenbelt - - - - - - - - - - - -Natuerlichwien.at - Rundumadum -http://www.natuerlichwien.at/rundumadum/dergruenguertel/ -egmilman47 -2005-05-06T21:33:41Z -Austria Vienna Wien greenbelt nature walking - - - - - - - - - - - - - -Tank - GBMediaWiki -http://www.flickerweb.co.uk/wiki/index.php/Tank#Seminars -jystewart -2005-03-21T22:44:11Z -greenbelt - - - - - - - - -Greenbelt homepage -http://www.greenbelt.ca/home.htm -Gooberoo -2005-03-01T22:43:17Z -greenbelt ontario - - - - - - - - - -Pip Wilson bhp ...... blog -http://pipwilsonbhp.blogspot.com/ -sssshhhh -2004-12-27T11:20:51Z -Greenbelt friend ideas links thinking weblog - - - - - - - - - - - - - -maggi dawn -http://maggidawn.typepad.com/maggidawn/ -sssshhhh -2004-12-27T11:20:11Z -Greenbelt ideas links thinking weblog - - - - - - - - - - - - -John Davies -http://www.johndavies.org/ -sssshhhh -2004-12-27T11:18:37Z -Greenbelt ideas links thinking weblog - - - - - - - - - - - - -jonnybaker -http://jonnybaker.blogs.com/ -sssshhhh -2004-12-27T11:18:17Z -Greenbelt event ideas links resources thinking weblog youth - - - - - - - - - - - - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/LICENSE b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/LICENSE deleted file mode 100755 index 022b43946..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/LICENSE +++ /dev/null @@ -1,65 +0,0 @@ -Universal Feed Parser (feedparser.py), its testing harness (feedparsertest.py), -and its unit tests (everything in the tests/ directory) are released under the -following license: - ------ begin license block ----- - -Copyright (c) 2002-2005, Mark Pilgrim -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - ------ end license block ----- - - - - - -Universal Feed Parser documentation (everything in the docs/ directory) is -released under the following license: - ------ begin license block ----- - -Copyright 2004-2005 Mark Pilgrim. All rights reserved. - -Redistribution and use in source (XML DocBook) and "compiled" forms (SGML, -HTML, PDF, PostScript, RTF and so forth) with or without modification, are -permitted provided that the following conditions are met: - -* Redistributions of source code (XML DocBook) must retain the above copyright - notice, this list of conditions and the following disclaimer. -* Redistributions in compiled form (transformed to other DTDs, converted to - PDF, PostScript, RTF and other formats) must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/README-TESTS b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/README-TESTS deleted file mode 100755 index e73c94215..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/README-TESTS +++ /dev/null @@ -1,15 +0,0 @@ -Universal Feed Parser -Parse RSS and Atom feeds in Python. 3000 unit tests. Open source. - -Copyright 2002-5 by Mark Pilgrim -open source, see LICENSE file for details - ------ - -To run test suite: -$ python feedparsertest.py - -Test suite files are available in the tests/ directory, or online at -http://feedparser.org/tests/ - -Full documentation is available online at http://feedparser.org/docs/ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp01.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp01.xml deleted file mode 100644 index aeca068cd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp01.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &#38; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp02.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp02.xml deleted file mode 100644 index 340344b27..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp02.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &#x26; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp03.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp03.xml deleted file mode 100644 index ad4cbc89c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp03.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - & - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp04.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp04.xml deleted file mode 100644 index e89540116..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp04.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &amp; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp05.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp05.xml deleted file mode 100644 index 12fcb187a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp05.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &#38; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp06.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp06.xml deleted file mode 100644 index a04e68320..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp06.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &#x26; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp07.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp07.xml deleted file mode 100644 index 02af5550a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp07.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - & - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp08.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp08.xml deleted file mode 100644 index bb75cf895..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp08.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &amp; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp09.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp09.xml deleted file mode 100644 index 262939069..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp09.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &#38; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp10.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp10.xml deleted file mode 100644 index eca6baf4f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp10.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &#x26; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp11.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp11.xml deleted file mode 100644 index 3a694ab53..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp11.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - & - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp12.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp12.xml deleted file mode 100644 index 265734d9c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp12.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - &amp; - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp13.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp13.xml deleted file mode 100644 index 6a795820d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp13.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#38;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp14.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp14.xml deleted file mode 100644 index 1bdbecca1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp14.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#x26;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp15.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp15.xml deleted file mode 100644 index 3db2a5f82..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp15.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&amp;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp16.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp16.xml deleted file mode 100644 index e4ee87b76..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp16.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#38;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp17.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp17.xml deleted file mode 100644 index 2b03aa546..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp17.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#x26;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp18.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp18.xml deleted file mode 100644 index 59bb6682a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp18.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&amp;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp19.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp19.xml deleted file mode 100644 index 29d106db2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp19.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#38;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp20.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp20.xml deleted file mode 100644 index d2c95b842..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp20.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#x26;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp21.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp21.xml deleted file mode 100644 index 87a9981b2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp21.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&amp;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp22.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp22.xml deleted file mode 100644 index 5443c1cc4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp22.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#38;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp23.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp23.xml deleted file mode 100644 index 0264abef3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp23.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#x26;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp24.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp24.xml deleted file mode 100644 index d49b1be1e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp24.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&amp;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp25.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp25.xml deleted file mode 100644 index e5fadaa4a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp25.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#38;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp26.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp26.xml deleted file mode 100644 index e6e607319..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp26.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#x26;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp27.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp27.xml deleted file mode 100644 index 259e9b22c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp27.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&amp;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp28.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp28.xml deleted file mode 100644 index c6ae523af..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp28.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#38;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp29.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp29.xml deleted file mode 100644 index 387ca95de..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp29.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&#x26;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp30.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp30.xml deleted file mode 100644 index effbc5af7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp30.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <b>&amp;</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp31.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp31.xml deleted file mode 100644 index e3f5b6ea7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp31.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#38;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp32.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp32.xml deleted file mode 100644 index 92cf2643c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp32.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#x26;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp33.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp33.xml deleted file mode 100644 index 39d84c5e3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp33.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&amp;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp34.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp34.xml deleted file mode 100644 index d3ef6ff5f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp34.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#38;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp35.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp35.xml deleted file mode 100644 index 236d93e22..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp35.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#x26;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp36.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp36.xml deleted file mode 100644 index e5e322228..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp36.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&amp;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp37.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp37.xml deleted file mode 100644 index 4df970e6f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp37.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#38;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp38.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp38.xml deleted file mode 100644 index 4620aab86..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp38.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#x26;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp39.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp39.xml deleted file mode 100644 index 93ea82504..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp39.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&amp;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp40.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp40.xml deleted file mode 100644 index 4383f6b2a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp40.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#38;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp41.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp41.xml deleted file mode 100644 index 9a0e6c9fe..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp41.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#x26;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp42.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp42.xml deleted file mode 100644 index fd7d1183a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp42.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&amp;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp43.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp43.xml deleted file mode 100644 index ed5fa88fb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp43.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#38;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp44.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp44.xml deleted file mode 100644 index aacc07a25..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp44.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#x26;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp45.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp45.xml deleted file mode 100644 index d186d59e1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp45.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&amp;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp46.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp46.xml deleted file mode 100644 index ab10ba904..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp46.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#38;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp47.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp47.xml deleted file mode 100644 index 6a5ede4f5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp47.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&#x26;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp48.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp48.xml deleted file mode 100644 index 1f9c336eb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp48.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <strong>&amp;</strong> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp49.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp49.xml deleted file mode 100644 index 5f0c5a190..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp49.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[&]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp50.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp50.xml deleted file mode 100644 index 703310d73..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp50.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[&]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp51.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp51.xml deleted file mode 100644 index f160dbe86..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp51.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[&]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp52.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp52.xml deleted file mode 100644 index a2ba1a77b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp52.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[&]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp53.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp53.xml deleted file mode 100644 index bf6284544..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp53.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[<b>&</b>]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp54.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp54.xml deleted file mode 100644 index 1109310b5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp54.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[<b>&</b>]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp55.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp55.xml deleted file mode 100644 index 67b4e9b21..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp55.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[<b>&</b>]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp56.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp56.xml deleted file mode 100644 index 90cefbcd2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp56.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[<strong>&</strong>]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp57.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp57.xml deleted file mode 100644 index d212c3fb7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp57.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[<strong>&</strong>]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp58.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp58.xml deleted file mode 100644 index d25f4533d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp58.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <![CDATA[<strong>&</strong>]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp59.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp59.xml deleted file mode 100644 index 926a2d92f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp59.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml"><b>&</b></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp60.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp60.xml deleted file mode 100644 index 1d3538052..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp60.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml"><b>&</b></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp61.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp61.xml deleted file mode 100644 index 6312ec1ce..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp61.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml"><b>&</b></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp62.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp62.xml deleted file mode 100644 index 4a8226c4b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp62.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml"><strong>&</strong></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp63.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp63.xml deleted file mode 100644 index 413b777c0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp63.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml"><strong>&</strong></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp64.xml deleted file mode 100644 index 052944c11..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/amp64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml"><strong>&</strong></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/amp/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_1.xml deleted file mode 100644 index e95102276..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_1.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_2.xml deleted file mode 100644 index a9e325cee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_3.xml deleted file mode 100644 index 1eee783fa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_3.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_4.xml deleted file mode 100644 index 034e6e0fb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_4.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_5.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_5.xml deleted file mode 100644 index dc2dbb15e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/atom_namespace_5.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_email.xml deleted file mode 100644 index 1d881e2ee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_email.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_homepage.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_homepage.xml deleted file mode 100644 index 147e83d7b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_homepage.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_map_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_map_author.xml deleted file mode 100644 index 874731765..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_map_author.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_map_author_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_map_author_2.xml deleted file mode 100644 index 58e4eb3f4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_map_author_2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - Example author - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_name.xml deleted file mode 100644 index c9c5513f2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_name.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_uri.xml deleted file mode 100644 index ba0c382c1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_uri.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_url.xml deleted file mode 100644 index 8c48d5d7a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_author_url.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_mode_base64.xml deleted file mode 100644 index 2e063d947..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_mode_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_mode_escaped.xml deleted file mode 100644 index fc0944b8e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_mode_escaped.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_type.xml deleted file mode 100644 index 7418f4629..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_type_text_plain.xml deleted file mode 100644 index 4f3feb04a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_type_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_value.xml deleted file mode 100644 index 0aac8e35c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_email.xml deleted file mode 100644 index 4ca1d7ea3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_email.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_homepage.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_homepage.xml deleted file mode 100644 index 07f3ed546..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_homepage.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_multiple.xml deleted file mode 100644 index d8f432489..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_multiple.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Contributor 1 - me@example.com - http://example.com/ - - - Contributor 2 - you@example.com - http://two.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_name.xml deleted file mode 100644 index cca233a12..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_name.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_uri.xml deleted file mode 100644 index 5d583da98..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_uri.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_url.xml deleted file mode 100644 index bde60b9a1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_contributor_url.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_id.xml deleted file mode 100644 index c425729ae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_id.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_id_map_guid.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_id_map_guid.xml deleted file mode 100644 index 38dc16372..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_id_map_guid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_alternate_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_alternate_map_link.xml deleted file mode 100644 index 449e57fca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_alternate_map_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_alternate_map_link_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_alternate_map_link_2.xml deleted file mode 100644 index 48f6d4632..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_alternate_map_link_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_href.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_href.xml deleted file mode 100644 index 6c40e2836..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_href.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_multiple.xml deleted file mode 100644 index 67ee229c8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_multiple.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_rel.xml deleted file mode 100644 index 48aadf400..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_rel.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_title.xml deleted file mode 100644 index f496d9f32..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_type.xml deleted file mode 100644 index a3c752dea..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_link_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary.xml deleted file mode 100644 index 57f9ee9d5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_base64.xml deleted file mode 100644 index 3e02f60a4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_base64_2.xml deleted file mode 100644 index 1c85df216..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_base64_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_mode_base64.xml deleted file mode 100644 index 4b388a2be..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_mode_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_mode_escaped.xml deleted file mode 100644 index 548ca81f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_mode_escaped.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_type.xml deleted file mode 100644 index b9f6c9908..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_type_text_plain.xml deleted file mode 100644 index d8aa02d8f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_type_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_value.xml deleted file mode 100644 index 4a0df77a0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_escaped_markup.xml deleted file mode 100644 index 8fb4798f3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_inline_markup.xml deleted file mode 100644 index 16c0b2a6e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_inline_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example Atom
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_inline_markup_2.xml deleted file mode 100644 index 1dad03077..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_inline_markup_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    History of the <blink> tag
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_naked_markup.xml deleted file mode 100644 index d695ea9b0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_naked_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_text_plain.xml deleted file mode 100644 index 7e8236da1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_summary_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title.xml deleted file mode 100644 index fb02c2622..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_base64.xml deleted file mode 100644 index 23b0f341e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_base64_2.xml deleted file mode 100644 index edc21674f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_base64_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_mode_base64.xml deleted file mode 100644 index b076338b5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_mode_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_mode_escaped.xml deleted file mode 100644 index d85a5c2c1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_mode_escaped.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_type.xml deleted file mode 100644 index e8de9ecb0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_type_text_plain.xml deleted file mode 100644 index 5a719505d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_type_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_value.xml deleted file mode 100644 index 6a5f30d42..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_escaped_markup.xml deleted file mode 100644 index e7c75c968..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_inline_markup.xml deleted file mode 100644 index f2952fa09..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_inline_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_inline_markup_2.xml deleted file mode 100644 index d77b7c2a1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_inline_markup_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_naked_markup.xml deleted file mode 100644 index d7143a44f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_naked_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_text_plain.xml deleted file mode 100644 index 9952afd75..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_text_plain_brackets.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_text_plain_brackets.xml deleted file mode 100644 index 4cbb8394a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/entry_title_text_plain_brackets.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - History of the <blink> tag - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_email.xml deleted file mode 100644 index bef9691cf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_homepage.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_homepage.xml deleted file mode 100644 index 0996fc37f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_homepage.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_map_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_map_author.xml deleted file mode 100644 index 886c1dcae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_map_author.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_map_author_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_map_author_2.xml deleted file mode 100644 index d55531078..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_map_author_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - Example author - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_name.xml deleted file mode 100644 index 3b4519e52..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_uri.xml deleted file mode 100644 index a618b4b8c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_uri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_url.xml deleted file mode 100644 index fe5d04951..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_author_url.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_email.xml deleted file mode 100644 index 1db8a138a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_homepage.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_homepage.xml deleted file mode 100644 index 49c78c91c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_homepage.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_multiple.xml deleted file mode 100644 index 4b5e4baaa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_multiple.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - Contributor 1 - me@example.com - http://example.com/ - - - Contributor 2 - you@example.com - http://two.example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_name.xml deleted file mode 100644 index 038c66d3e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_uri.xml deleted file mode 100644 index 2e4d56248..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_uri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_url.xml deleted file mode 100644 index 1d851d16b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_contributor_url.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright.xml deleted file mode 100644 index cc77dbdad..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_base64.xml deleted file mode 100644 index cd870d229..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_base64_2.xml deleted file mode 100644 index 33c52b641..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_mode_base64.xml deleted file mode 100644 index 5d04164a1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_mode_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_mode_escaped.xml deleted file mode 100644 index fdb0bb21c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_mode_escaped.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_type.xml deleted file mode 100644 index 77344b5b0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_type_text_plain.xml deleted file mode 100644 index 0b8857f90..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_type_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_value.xml deleted file mode 100644 index dba841c5d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_escaped_markup.xml deleted file mode 100644 index 25b1ee80e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_inline_markup.xml deleted file mode 100644 index 35e8f9793..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example Atom
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_inline_markup_2.xml deleted file mode 100644 index 5283ac4cd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    History of the <blink> tag
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_naked_markup.xml deleted file mode 100644 index e60a4ad6d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_naked_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_text_plain.xml deleted file mode 100644 index ed088511f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_copyright_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator.xml deleted file mode 100644 index 9e368e747..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_name.xml deleted file mode 100644 index d8c878079..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_name.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_url.xml deleted file mode 100644 index 5406198ad..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_url.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_version.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_version.xml deleted file mode 100644 index 2d74b567c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_generator_version.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_id.xml deleted file mode 100644 index 29e296f9c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_id.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_id_map_guid.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_id_map_guid.xml deleted file mode 100644 index a25b7c6e5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_id_map_guid.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info.xml deleted file mode 100644 index 63dc91335..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_base64.xml deleted file mode 100644 index 617d2c8f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_base64_2.xml deleted file mode 100644 index f891fc904..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_mode_base64.xml deleted file mode 100644 index 501f25cd8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_mode_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_mode_escaped.xml deleted file mode 100644 index 55dc5674b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_mode_escaped.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_type.xml deleted file mode 100644 index 10a745b49..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_type_text_plain.xml deleted file mode 100644 index 3e0286c14..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_type_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_value.xml deleted file mode 100644 index 11f0d4502..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_escaped_markup.xml deleted file mode 100644 index 13b451aeb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_inline_markup.xml deleted file mode 100644 index 301aaa5ba..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example Atom
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_inline_markup_2.xml deleted file mode 100644 index 780a90d5a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    History of the <blink> tag
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_naked_markup.xml deleted file mode 100644 index 9cd6ccc14..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_naked_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_text_plain.xml deleted file mode 100644 index 062f54861..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_info_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_alternate_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_alternate_map_link.xml deleted file mode 100644 index 4da48a5d6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_alternate_map_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_alternate_map_link_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_alternate_map_link_2.xml deleted file mode 100644 index de57c806f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_alternate_map_link_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_href.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_href.xml deleted file mode 100644 index cbfc36820..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_href.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_multiple.xml deleted file mode 100644 index 18bc2659a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_multiple.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_rel.xml deleted file mode 100644 index e455dfb75..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_rel.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_title.xml deleted file mode 100644 index b1b603759..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_title.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_type.xml deleted file mode 100644 index e8dd2d6ff..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_link_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline.xml deleted file mode 100644 index b67c80675..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_base64.xml deleted file mode 100644 index c31651863..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_base64_2.xml deleted file mode 100644 index 550e993f8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_mode_base64.xml deleted file mode 100644 index c2951e38f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_mode_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_mode_escaped.xml deleted file mode 100644 index 455c5153c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_mode_escaped.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_type.xml deleted file mode 100644 index 9ffd7630f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_type_text_plain.xml deleted file mode 100644 index 7b8e974b6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_type_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_value.xml deleted file mode 100644 index 7fbca0fcd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_escaped_markup.xml deleted file mode 100644 index 04d0472d7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_inline_markup.xml deleted file mode 100644 index 90c6ffa7a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example Atom
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_inline_markup_2.xml deleted file mode 100644 index 8d5d0b255..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    History of the <blink> tag
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_naked_markup.xml deleted file mode 100644 index 9fa979271..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_naked_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_text_plain.xml deleted file mode 100644 index 662a7a006..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_tagline_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title.xml deleted file mode 100644 index 6a6219f27..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_base64.xml deleted file mode 100644 index 287aee661..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_base64_2.xml deleted file mode 100644 index af16ac135..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_mode_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_mode_base64.xml deleted file mode 100644 index 14f40cd8d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_mode_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_mode_escaped.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_mode_escaped.xml deleted file mode 100644 index 3d9c33085..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_mode_escaped.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_type.xml deleted file mode 100644 index e3e1b2bc1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_type_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_type_text_plain.xml deleted file mode 100644 index dbb9dcece..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_type_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_value.xml deleted file mode 100644 index ee2fa2c05..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_escaped_markup.xml deleted file mode 100644 index 51692a526..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_inline_markup.xml deleted file mode 100644 index d5440dbd1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_inline_markup_2.xml deleted file mode 100644 index 2d8c7d111..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_naked_markup.xml deleted file mode 100644 index 55656cfb4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_naked_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_text_plain.xml deleted file mode 100644 index a40a3b991..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/feed_title_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri.xml deleted file mode 100644 index 7a1862628..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri_inherit.xml deleted file mode 100644 index ff74d0f67..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri_inherit_2.xml deleted file mode 100644 index 4f1eb1f53..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom/relative_uri_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/atom10_namespace.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/atom10_namespace.xml deleted file mode 100755 index b2b9747f8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/atom10_namespace.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/atom10_version.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/atom10_version.xml deleted file mode 100755 index 97f2e3f43..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/atom10_version.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_email.xml deleted file mode 100755 index 49353eb74..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_email.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_map_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_map_author.xml deleted file mode 100755 index 78ea0d201..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_map_author.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_map_author_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_map_author_2.xml deleted file mode 100755 index c6fb89250..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_map_author_2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - Example author - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_name.xml deleted file mode 100755 index c9d16ab72..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_name.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_uri.xml deleted file mode 100755 index eb997e2dd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_uri.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_url.xml deleted file mode 100755 index 04adf9ecb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_author_url.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example author - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_label.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_label.xml deleted file mode 100755 index 47b2924da..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_label.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_scheme.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_scheme.xml deleted file mode 100755 index 1cf283b94..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_scheme.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_term.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_term.xml deleted file mode 100755 index 031044584..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_category_term.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_application_xml.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_application_xml.xml deleted file mode 100755 index dfa92e3f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_application_xml.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example Atom
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_base64.xml deleted file mode 100755 index d8eb2398a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_base64_2.xml deleted file mode 100755 index a74b475e4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_base64_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_escaped_markup.xml deleted file mode 100755 index 7712b5318..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_inline_markup.xml deleted file mode 100755 index 421f38a0d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_inline_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example Atom
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_inline_markup_2.xml deleted file mode 100755 index fa4e899bc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_inline_markup_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    History of the <blink> tag
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_src.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_src.xml deleted file mode 100755 index 882ef570b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_src.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_text_plain.xml deleted file mode 100755 index 64f2af954..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_text_plain_brackets.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_text_plain_brackets.xml deleted file mode 100755 index 48e951854..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_text_plain_brackets.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - History of the <blink> tag - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_type.xml deleted file mode 100755 index 9f72eed71..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_type_text.xml deleted file mode 100755 index a5a76fda3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_type_text.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_value.xml deleted file mode 100755 index fa0cef300..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_email.xml deleted file mode 100755 index f84d000e3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_email.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_multiple.xml deleted file mode 100755 index 28a5ac21a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_multiple.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Contributor 1 - me@example.com - http://example.com/ - - - Contributor 2 - you@example.com - http://two.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_name.xml deleted file mode 100755 index 06f32dc63..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_name.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_uri.xml deleted file mode 100755 index db5de2de1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_uri.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_url.xml deleted file mode 100755 index 298d1caa5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_contributor_url.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Example contributor - me@example.com - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id.xml deleted file mode 100755 index cc56ad948..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_map_guid.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_map_guid.xml deleted file mode 100755 index 3db34fa98..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_map_guid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_1.xml deleted file mode 100755 index 2312d765b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://www.example.org/thing - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_2.xml deleted file mode 100755 index b5338635e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://www.example.org/Thing - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_3.xml deleted file mode 100755 index 3b8975333..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_3.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://www.EXAMPLE.org/thing - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_4.xml deleted file mode 100755 index 5a8de3ce4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_4.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - HTTP://www.example.org/thing - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_5.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_5.xml deleted file mode 100755 index 6668ca177..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://www.example.com/~bob - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_6.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_6.xml deleted file mode 100755 index 339baaf3a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_6.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://www.example.com/%7ebob - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_7.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_7.xml deleted file mode 100755 index 81ecae6aa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_id_no_normalization_7.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://www.example.com/%7Ebob - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link.xml deleted file mode 100755 index 9fc01d8aa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link_2.xml deleted file mode 100755 index ede91d580..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link_3.xml deleted file mode 100755 index 103f464c2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_alternate_map_link_3.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_href.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_href.xml deleted file mode 100755 index 086748f9a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_href.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_hreflang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_hreflang.xml deleted file mode 100755 index cb5d3ed94..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_hreflang.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_length.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_length.xml deleted file mode 100755 index f8692f367..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_length.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_multiple.xml deleted file mode 100755 index eef18510e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_multiple.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_no_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_no_rel.xml deleted file mode 100755 index 53486ca4a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_no_rel.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel.xml deleted file mode 100755 index 1ca741b1a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure.xml deleted file mode 100755 index 8d3ca6bca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml deleted file mode 100755 index f6bfec25d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_length.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml deleted file mode 100755 index 5ee55ce5a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml deleted file mode 100755 index 20c5073a0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_enclosure_map_enclosure_url.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_other.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_other.xml deleted file mode 100755 index 513836b85..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_other.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_related.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_related.xml deleted file mode 100755 index 361f8f589..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_related.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_self.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_self.xml deleted file mode 100755 index e21d2021a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_self.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_via.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_via.xml deleted file mode 100755 index 87bd338c2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_rel_via.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_title.xml deleted file mode 100755 index 7609ad1d7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_type.xml deleted file mode 100755 index b4354b190..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_link_type.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights.xml deleted file mode 100755 index 52e18db48..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_content_value.xml deleted file mode 100755 index 2752de8e6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_escaped_markup.xml deleted file mode 100755 index 0dbff5c4c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_inline_markup.xml deleted file mode 100755 index 02cb34e30..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_inline_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example Atom
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_inline_markup_2.xml deleted file mode 100755 index 6d01174a0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_inline_markup_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    History of the <blink> tag
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_text_plain.xml deleted file mode 100755 index a3dde568e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_text_plain_brackets.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_text_plain_brackets.xml deleted file mode 100755 index a4e5dd001..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_text_plain_brackets.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - History of the <blink> tag - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_type_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_type_default.xml deleted file mode 100755 index 11d539c30..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_type_default.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_type_text.xml deleted file mode 100755 index 09c6362fa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_rights_type_text.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_email.xml deleted file mode 100755 index 06e85bf53..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_email.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example author - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_map_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_map_author.xml deleted file mode 100755 index 65a7fdec7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_map_author.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example author - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_map_author_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_map_author_2.xml deleted file mode 100755 index 6eaefff2b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_map_author_2.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - Example author - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_name.xml deleted file mode 100755 index 8335ca274..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_name.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example author - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_uri.xml deleted file mode 100755 index 0c96a5018..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_author_uri.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example author - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_label.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_label.xml deleted file mode 100755 index 79ab754dd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_label.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_scheme.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_scheme.xml deleted file mode 100755 index 0604dc275..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_scheme.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_term.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_term.xml deleted file mode 100755 index e37572876..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_category_term.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_email.xml deleted file mode 100755 index 96f3321a4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_email.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example contributor - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_multiple.xml deleted file mode 100755 index cbb9e9ec7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_multiple.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - Contributor 1 - me@example.com - http://example.com/ - - - Contributor 2 - you@example.com - http://two.example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_name.xml deleted file mode 100755 index 7b9d29e77..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_name.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example contributor - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_uri.xml deleted file mode 100755 index f538a1482..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_contributor_uri.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Example contributor - me@example.com - http://example.com/ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator.xml deleted file mode 100755 index e24023538..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example generator - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_name.xml deleted file mode 100755 index dcc34802f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example generator - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_uri.xml deleted file mode 100755 index 69315896f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_uri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example generator - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_version.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_version.xml deleted file mode 100755 index 42f9b0111..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_generator_version.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example generator - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_icon.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_icon.xml deleted file mode 100755 index 54c975166..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_icon.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - http://example.com/favicon.ico - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_id.xml deleted file mode 100755 index 5682f84ea..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_id.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_alternate_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_alternate_map_link.xml deleted file mode 100755 index a3c9bea88..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_alternate_map_link.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml deleted file mode 100755 index 16277af9e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_alternate_map_link_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_href.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_href.xml deleted file mode 100755 index f13d34fc3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_href.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_hreflang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_hreflang.xml deleted file mode 100755 index d6db1f4f9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_hreflang.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_length.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_length.xml deleted file mode 100755 index b77f2051e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_length.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_multiple.xml deleted file mode 100755 index f69245ae3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_multiple.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_no_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_no_rel.xml deleted file mode 100755 index 16e5be9ba..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_no_rel.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel.xml deleted file mode 100755 index 01af54ad9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_other.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_other.xml deleted file mode 100755 index 5c26ff147..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_other.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_related.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_related.xml deleted file mode 100755 index 3d16486dc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_related.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_self.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_self.xml deleted file mode 100755 index dd039edc1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_self.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_via.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_via.xml deleted file mode 100755 index 814b58a57..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_rel_via.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_title.xml deleted file mode 100755 index 3ca58b7a4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_title.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_type.xml deleted file mode 100755 index 19eb74457..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_link_type.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_logo.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_logo.xml deleted file mode 100755 index 46a20d8a4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_logo.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - http://example.com/logo.jpg - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights.xml deleted file mode 100755 index e853ee7c7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_base64.xml deleted file mode 100755 index db767004a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_base64.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_base64_2.xml deleted file mode 100755 index 0f155a10a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_base64_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_type.xml deleted file mode 100755 index 3563e629c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_type.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_type_text.xml deleted file mode 100755 index 1c6b958a3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_type_text.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_value.xml deleted file mode 100755 index eaea36916..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_content_value.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_escaped_markup.xml deleted file mode 100755 index 643a1e919..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_escaped_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example <b>Atom</b> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_inline_markup.xml deleted file mode 100755 index a482fe71b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_inline_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
    Example Atom
    - -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_inline_markup_2.xml deleted file mode 100755 index 18ad8d5e8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_inline_markup_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
    History of the <blink> tag
    - -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_text_plain.xml deleted file mode 100755 index 708c657e0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_rights_text_plain.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subittle_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subittle_content_type_text.xml deleted file mode 100755 index c31d5be81..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subittle_content_type_text.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle.xml deleted file mode 100755 index b270a719f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_base64.xml deleted file mode 100755 index 473be5b42..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_base64.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_base64_2.xml deleted file mode 100755 index 1f3c00213..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_base64_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_content_type.xml deleted file mode 100755 index af3e5b886..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_content_type.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_content_value.xml deleted file mode 100755 index 46a52e997..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_content_value.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml deleted file mode 100755 index f94a9ae1c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_escaped_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example <b>Atom</b> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_inline_markup.xml deleted file mode 100755 index ba95638eb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_inline_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
    Example Atom
    - -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml deleted file mode 100755 index 646cdf0c2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_inline_markup_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
    History of the <blink> tag
    - -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_text_plain.xml deleted file mode 100755 index 056eed0cf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_subtitle_text_plain.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title.xml deleted file mode 100755 index 63351d8b9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_base64.xml deleted file mode 100755 index 2e2d5e6fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_base64.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_base64_2.xml deleted file mode 100755 index 37ffe80a2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_base64_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_type.xml deleted file mode 100755 index 9d66f2dea..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_type.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_type_text.xml deleted file mode 100755 index c785a972e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_type_text.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_value.xml deleted file mode 100755 index 726ddd5d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_content_value.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_escaped_markup.xml deleted file mode 100755 index 4a3777c8b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_escaped_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example <b>Atom</b> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_inline_markup.xml deleted file mode 100755 index 84be2a94c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_inline_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_inline_markup_2.xml deleted file mode 100755 index 1abf77161..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_inline_markup_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_text_plain.xml deleted file mode 100755 index 7fb16de47..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_source_title_text_plain.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example Atom - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary.xml deleted file mode 100755 index 1b62ee704..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_base64.xml deleted file mode 100755 index 9a5f17fad..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_base64_2.xml deleted file mode 100755 index 212047070..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_base64_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_content_value.xml deleted file mode 100755 index 784dbb839..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_escaped_markup.xml deleted file mode 100755 index 347b0f9ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_inline_markup.xml deleted file mode 100755 index 580413ceb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_inline_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example Atom
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_inline_markup_2.xml deleted file mode 100755 index 3f0edcfef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_inline_markup_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    History of the <blink> tag
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_text_plain.xml deleted file mode 100755 index 209fa298d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_type_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_type_default.xml deleted file mode 100755 index c8c4eab52..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_type_default.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_type_text.xml deleted file mode 100755 index 20bb8876b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_summary_type_text.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title.xml deleted file mode 100755 index 62442629a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_base64.xml deleted file mode 100755 index 26585e9f3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_base64.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_base64_2.xml deleted file mode 100755 index c26d619de..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_base64_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_content_value.xml deleted file mode 100755 index d263ddb9f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_content_value.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_escaped_markup.xml deleted file mode 100755 index 0c7462e91..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example <b>Atom</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_inline_markup.xml deleted file mode 100755 index 1e7609165..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_inline_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_inline_markup_2.xml deleted file mode 100755 index 7381c781a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_inline_markup_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_text_plain.xml deleted file mode 100755 index 6336c7545..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_text_plain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_text_plain_brackets.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_text_plain_brackets.xml deleted file mode 100755 index 8e951aa2f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_text_plain_brackets.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - History of the <blink> tag - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_type_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_type_default.xml deleted file mode 100755 index a3da191e9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_type_default.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_type_text.xml deleted file mode 100755 index 6149f31d7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/entry_title_type_text.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_email.xml deleted file mode 100755 index 3dec83a0b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_map_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_map_author.xml deleted file mode 100755 index e2bd5676a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_map_author.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_map_author_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_map_author_2.xml deleted file mode 100755 index 6ebc21d5a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_map_author_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - Example author - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_name.xml deleted file mode 100755 index ad3c94d5c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_uri.xml deleted file mode 100755 index 135ca1372..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_uri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_url.xml deleted file mode 100755 index f6bd3df5d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_author_url.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example author - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_email.xml deleted file mode 100755 index 30b9994e1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_multiple.xml deleted file mode 100755 index e89daa295..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_multiple.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - Contributor 1 - me@example.com - http://example.com/ - - - Contributor 2 - you@example.com - http://two.example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_name.xml deleted file mode 100755 index 0a22e9157..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_uri.xml deleted file mode 100755 index e1e315e5d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_uri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_url.xml deleted file mode 100755 index 8af751aae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_contributor_url.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Example contributor - me@example.com - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator.xml deleted file mode 100755 index 6307a4c31..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_name.xml deleted file mode 100755 index ec7151d49..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_name.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_url.xml deleted file mode 100755 index 6776862fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_url.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_version.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_version.xml deleted file mode 100755 index 06bbd3fb2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_generator_version.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example generator - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_icon.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_icon.xml deleted file mode 100755 index 121c08d94..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_icon.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/favicon.ico - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_id.xml deleted file mode 100755 index 84ae6e38d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_id.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_id_map_guid.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_id_map_guid.xml deleted file mode 100755 index 52b92ac8b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_id_map_guid.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_alternate_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_alternate_map_link.xml deleted file mode 100755 index 3fb75b2b4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_alternate_map_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_alternate_map_link_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_alternate_map_link_2.xml deleted file mode 100755 index 2b1b7c0f8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_alternate_map_link_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_href.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_href.xml deleted file mode 100755 index 1109b3846..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_href.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_hreflang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_hreflang.xml deleted file mode 100755 index 442a65395..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_hreflang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_length.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_length.xml deleted file mode 100755 index 25753ea96..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_length.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_multiple.xml deleted file mode 100755 index 20a38b1e6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_multiple.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_no_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_no_rel.xml deleted file mode 100755 index 28d011f0d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_no_rel.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel.xml deleted file mode 100755 index db5be5a95..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_other.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_other.xml deleted file mode 100755 index 494b35cdf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_other.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_related.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_related.xml deleted file mode 100755 index 1a7f52c4e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_related.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_self.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_self.xml deleted file mode 100755 index 0d1930130..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_self.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_via.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_via.xml deleted file mode 100755 index 281bb0592..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_rel_via.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_title.xml deleted file mode 100755 index 06bc9e652..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_title.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_type.xml deleted file mode 100755 index 8e7527794..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_link_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_logo.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_logo.xml deleted file mode 100755 index 1fdbfcd8b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_logo.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/logo.jpg - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights.xml deleted file mode 100755 index 3469a0ded..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_base64.xml deleted file mode 100755 index 17caf9cab..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_base64_2.xml deleted file mode 100755 index 5a6f09615..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_type.xml deleted file mode 100755 index 8f87d9d0f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_type_text.xml deleted file mode 100755 index f83e2b37d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_type_text.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_value.xml deleted file mode 100755 index 3e0f41210..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_escaped_markup.xml deleted file mode 100755 index 79498b791..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_inline_markup.xml deleted file mode 100755 index 7969b4fa0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example Atom
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_inline_markup_2.xml deleted file mode 100755 index 9e8bfce2f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    History of the <blink> tag
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_text_plain.xml deleted file mode 100755 index 9832605ac..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_rights_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle.xml deleted file mode 100755 index c418d7405..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_base64.xml deleted file mode 100755 index dcecc3c43..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_base64_2.xml deleted file mode 100755 index 41588530e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_type.xml deleted file mode 100755 index 4715f3657..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_type_text.xml deleted file mode 100755 index 0c38bb0d7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_type_text.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_value.xml deleted file mode 100755 index 0d01ddae0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_escaped_markup.xml deleted file mode 100755 index a8ea67806..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_inline_markup.xml deleted file mode 100755 index 016603f01..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example Atom
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_inline_markup_2.xml deleted file mode 100755 index fe320468e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    History of the <blink> tag
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_text_plain.xml deleted file mode 100755 index c41f00822..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_subtitle_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title.xml deleted file mode 100755 index 8f1df2584..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_base64.xml deleted file mode 100755 index a3858f2de..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_base64.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - RXhhbXBsZSA8Yj5BdG9tPC9iPg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_base64_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_base64_2.xml deleted file mode 100755 index a80bf0653..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_base64_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PHA+SGlzdG9yeSBvZiB0aGUgJmx0O2JsaW5rJmd0OyB0YWc8L3A+ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_type.xml deleted file mode 100755 index b54c44f28..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_type.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_type_text.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_type_text.xml deleted file mode 100755 index eb74f917d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_type_text.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_value.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_value.xml deleted file mode 100755 index be39cecdf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_content_value.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_escaped_markup.xml deleted file mode 100755 index e1c413d19..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_escaped_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example <b>Atom</b> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_inline_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_inline_markup.xml deleted file mode 100755 index 092e4e642..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_inline_markup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <b>Atom</b></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_inline_markup_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_inline_markup_2.xml deleted file mode 100755 index ddc272943..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_inline_markup_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">History of the <blink> tag</div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_text_plain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_text_plain.xml deleted file mode 100755 index f48516aaf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/feed_title_text_plain.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri.xml deleted file mode 100755 index d6d64f24a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri_inherit.xml deleted file mode 100755 index 5ee838a78..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri_inherit_2.xml deleted file mode 100755 index 7c0fb83d0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/atom10/relative_uri_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/cdf_item_abstract_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/cdf_item_abstract_xml_base.xml deleted file mode 100644 index ca215856a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/cdf_item_abstract_xml_base.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - channel title - channel abstract - - item title - item abstract - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base.xml deleted file mode 100644 index c4e34808f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit.xml deleted file mode 100644 index 6030454f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_2.xml deleted file mode 100644 index b99feac6d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_3.xml deleted file mode 100644 index 06ee60c16..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_4.xml deleted file mode 100644 index 85f5c9431..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_content_xml_base_inherit_4.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base.xml deleted file mode 100755 index 90e643c4a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit.xml deleted file mode 100755 index 0104ad290..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_2.xml deleted file mode 100755 index b7ab32a37..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_3.xml deleted file mode 100755 index 5abc69de4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_4.xml deleted file mode 100755 index 9dd886169..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_summary_xml_base_inherit_4.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base.xml deleted file mode 100755 index 462e55295..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit.xml deleted file mode 100755 index 7db927051..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_2.xml deleted file mode 100755 index 8e94de329..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_3.xml deleted file mode 100755 index 4498c5343..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_4.xml deleted file mode 100755 index 49c7fc88b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/entry_title_xml_base_inherit_4.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base.xml deleted file mode 100755 index b021addc8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit.xml deleted file mode 100755 index 2750eab0d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_2.xml deleted file mode 100755 index fb50e98f0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_3.xml deleted file mode 100755 index efe446f3d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_4.xml deleted file mode 100755 index 7bd41a386..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_copyright_xml_base_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base.xml deleted file mode 100755 index 78d0bbddd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit.xml deleted file mode 100755 index f1ea3660c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_2.xml deleted file mode 100755 index f94a1d43f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_3.xml deleted file mode 100755 index 966e2f1da..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_4.xml deleted file mode 100755 index a46873160..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_info_xml_base_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base.xml deleted file mode 100755 index 9ea6202d2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit.xml deleted file mode 100755 index 9b67ffe3c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_2.xml deleted file mode 100755 index 87861cb51..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_3.xml deleted file mode 100755 index 3e5acf7d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_4.xml deleted file mode 100755 index f3314800e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_tagline_xml_base_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base.xml deleted file mode 100755 index 8a3c6deb9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit.xml deleted file mode 100755 index 34f896718..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_2.xml deleted file mode 100755 index a9cc841d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_3.xml deleted file mode 100755 index 561dbdf58..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_4.xml deleted file mode 100755 index a80428fb1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/feed_title_xml_base_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_docs_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_docs_base_content_location.xml deleted file mode 100644 index 710236061..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_docs_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -/relative/uri - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_docs_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_docs_base_docuri.xml deleted file mode 100644 index 74d866e38..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_docs_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -/relative/uri - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_link_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_link_base_content_location.xml deleted file mode 100644 index eba3db7d7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_link_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -/relative/uri - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_link_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_link_base_docuri.xml deleted file mode 100644 index 91e57fcc2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_channel_link_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -/relative/uri - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_author_url_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_author_url_base_content_location.xml deleted file mode 100644 index 728f26b12..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_author_url_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - /relative/link - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_author_url_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_author_url_base_docuri.xml deleted file mode 100644 index 606333ec9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_author_url_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - /relative/link - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base64_base_content_location.xml deleted file mode 100644 index fcdbd84d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base64_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base64_base_docuri.xml deleted file mode 100644 index fce12bbf8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base64_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base_content_location.xml deleted file mode 100644 index fcc726bda..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -<div><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base_docuri.xml deleted file mode 100644 index 1b0e10a9b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<div><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_inline_base_content_location.xml deleted file mode 100644 index ee077e893..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_inline_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_inline_base_docuri.xml deleted file mode 100644 index baefc6c6e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_content_inline_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_contributor_url_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_contributor_url_base_content_location.xml deleted file mode 100644 index 464de9a54..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_contributor_url_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - /relative/link - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_contributor_url_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_contributor_url_base_docuri.xml deleted file mode 100644 index 0fbaade58..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_contributor_url_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - /relative/link - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_id_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_id_base_content_location.xml deleted file mode 100644 index be4e02468..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_id_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - /relative/link - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_id_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_id_base_docuri.xml deleted file mode 100644 index 80c0b7572..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_id_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - /relative/link - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_link_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_link_base_content_location.xml deleted file mode 100644 index 7871bcff2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_link_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_link_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_link_base_docuri.xml deleted file mode 100644 index 6cdf87f26..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_link_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base64_base_content_location.xml deleted file mode 100644 index cd43d4b4c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base64_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base64_base_docuri.xml deleted file mode 100644 index e5f79cb8d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base64_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base_content_location.xml deleted file mode 100644 index a43ab722a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -<div><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base_docuri.xml deleted file mode 100644 index 7fa268706..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<div><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_inline_base_content_location.xml deleted file mode 100644 index a0a327371..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_inline_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_inline_base_docuri.xml deleted file mode 100644 index 9a836839c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_summary_inline_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base64_base_content_location.xml deleted file mode 100644 index 720e7e177..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base64_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base64_base_docuri.xml deleted file mode 100644 index c4ecc88e6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base64_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base_content_location.xml deleted file mode 100644 index 547dba36a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -<div><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base_docuri.xml deleted file mode 100644 index a06df77a1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<div><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_inline_base_content_location.xml deleted file mode 100644 index 9b9d82a30..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_inline_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_inline_base_docuri.xml deleted file mode 100644 index 8c0714ad7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_entry_title_inline_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_author_url_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_author_url_base_content_location.xml deleted file mode 100644 index 58c1af6a9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_author_url_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - /relative/link - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_author_url_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_author_url_base_docuri.xml deleted file mode 100644 index a0f39700e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_author_url_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - /relative/link - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_contributor_url_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_contributor_url_base_content_location.xml deleted file mode 100644 index 42cee16bd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_contributor_url_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - /relative/link - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_contributor_url_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_contributor_url_base_docuri.xml deleted file mode 100644 index eeccbf28e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_contributor_url_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - /relative/link - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base64_base_content_location.xml deleted file mode 100644 index 457514ea6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base64_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base64_base_docuri.xml deleted file mode 100644 index 6d571e299..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base64_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base_content_location.xml deleted file mode 100644 index 4649e9a91..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base_docuri.xml deleted file mode 100644 index d9827d774..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_inline_base_content_location.xml deleted file mode 100644 index 2777db5d2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_inline_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_inline_base_docuri.xml deleted file mode 100644 index e167916d5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_copyright_inline_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_generator_url_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_generator_url_base_content_location.xml deleted file mode 100644 index e11d32eda..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_generator_url_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -Movable Type - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_generator_url_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_generator_url_base_docuri.xml deleted file mode 100644 index 49e519793..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_generator_url_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -Movable Type - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_id_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_id_base_content_location.xml deleted file mode 100644 index dc958a75e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_id_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - /relative/link - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_id_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_id_base_docuri.xml deleted file mode 100644 index cf5073b63..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_id_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - /relative/link - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base64_base_content_location.xml deleted file mode 100644 index e48b4877d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base64_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base64_base_docuri.xml deleted file mode 100644 index 2bba25f5f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base64_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base_content_location.xml deleted file mode 100644 index 5cdf5b8db..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base_docuri.xml deleted file mode 100644 index 987061cc9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_inline_base_content_location.xml deleted file mode 100644 index b442cd72f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_inline_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_inline_base_docuri.xml deleted file mode 100644 index a17f18ed4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_info_inline_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_link_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_link_base_content_location.xml deleted file mode 100644 index a781c11db..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_link_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_link_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_link_base_docuri.xml deleted file mode 100644 index f504272ad..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_link_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base64_base_content_location.xml deleted file mode 100644 index c0c588c80..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base64_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base64_base_docuri.xml deleted file mode 100644 index 3c333d2d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base64_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base_content_location.xml deleted file mode 100644 index 440a3e06c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base_docuri.xml deleted file mode 100644 index e498223ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_inline_base_content_location.xml deleted file mode 100644 index 81a673973..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_inline_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_inline_base_docuri.xml deleted file mode 100644 index ad99b29b2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_tagline_inline_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base64_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base64_base_content_location.xml deleted file mode 100644 index 2e2973113..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base64_base_content_location.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base64_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base64_base_docuri.xml deleted file mode 100644 index a6c9e6054..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base64_base_docuri.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -PGRpdj48YSBocmVmPSIvcmVsYXRpdmUvdXJpIj5jbGljayBoZXJlPC9hPjwvZGl2Pg== - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base_content_location.xml deleted file mode 100644 index 5e0f516f5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base_docuri.xml deleted file mode 100644 index ce3c93d72..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<div><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_inline_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_inline_base_content_location.xml deleted file mode 100644 index 3a0cf371d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_inline_base_content_location.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_inline_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_inline_base_docuri.xml deleted file mode 100644 index ad5d6c538..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_feed_title_inline_base_docuri.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<div xmlns="http://www.w3.org/1999/xhtml"><a href="/relative/uri">click here</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_body_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_body_base_content_location.xml deleted file mode 100644 index 63527b563..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_body_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -click here - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_body_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_body_base_docuri.xml deleted file mode 100644 index 615eddb8a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_body_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -click here - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_comments_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_comments_base_content_location.xml deleted file mode 100644 index 1fa2f02f2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_comments_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_comments_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_comments_base_docuri.xml deleted file mode 100644 index 2e67f1937..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_comments_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_content_encoded_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_content_encoded_base_content_location.xml deleted file mode 100644 index bb0567f54..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_content_encoded_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -<a href="/relative/uri">click here</a> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_content_encoded_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_content_encoded_base_docuri.xml deleted file mode 100644 index 3cc39fbd7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_content_encoded_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<a href="/relative/uri">click here</a> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_description_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_description_base_content_location.xml deleted file mode 100644 index 8fc9d2068..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_description_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -<a href="/relative/uri">click here</a> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_description_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_description_base_docuri.xml deleted file mode 100644 index 00b780c08..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_description_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<a href="/relative/uri">click here</a> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_fullitem_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_fullitem_base_content_location.xml deleted file mode 100644 index f744b0a6b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_fullitem_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -<a href="/relative/uri">click here</a> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_fullitem_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_fullitem_base_docuri.xml deleted file mode 100644 index 86367a175..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_fullitem_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<a href="/relative/uri">click here</a> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_link_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_link_base_content_location.xml deleted file mode 100644 index 195a61907..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_link_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_link_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_link_base_docuri.xml deleted file mode 100644 index 327a30ada..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_link_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml deleted file mode 100644 index a0797bb79..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_commentRSS_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml deleted file mode 100644 index 7eea12e2a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_commentRSS_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_comment_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_comment_base_content_location.xml deleted file mode 100644 index ca14be8d2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_comment_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_comment_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_comment_base_docuri.xml deleted file mode 100644 index 5e9a15e03..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_wfw_comment_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -/relative/uri - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_xhtml_body_base_content_location.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_xhtml_body_base_content_location.xml deleted file mode 100644 index b60f7a9ed..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_xhtml_body_base_content_location.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -click here - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_xhtml_body_base_docuri.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_xhtml_body_base_docuri.xml deleted file mode 100644 index c811be6a8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_item_xhtml_body_base_docuri.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -click here - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_relative_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_relative_xml_base.xml deleted file mode 100755 index 762f694e1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_relative_xml_base.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_relative_xml_base_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_relative_xml_base_2.xml deleted file mode 100755 index 1edaf31f3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/http_relative_xml_base_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/malformed_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/malformed_base.xml deleted file mode 100755 index cc20bf404..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/malformed_base.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/relative_xml_base.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/relative_xml_base.xml deleted file mode 100755 index 437ac0b55..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/relative_xml_base.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/relative_xml_base_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/relative_xml_base_2.xml deleted file mode 100755 index e3417c903..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/base/relative_xml_base_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_date.xml deleted file mode 100644 index b877f0b55..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_date.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_modified.xml deleted file mode 100644 index c45f28b4e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_modified.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_modified_parsed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_modified_parsed.xml deleted file mode 100644 index 80f92a1d2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_channel_lastmod_map_modified_parsed.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_date.xml deleted file mode 100644 index 481b37d0f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_date.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_modified.xml deleted file mode 100644 index fc5da7de6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_modified.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_modified_parsed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_modified_parsed.xml deleted file mode 100644 index 010a855a8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/cdf_item_lastmod_map_modified_parsed.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date.xml deleted file mode 100644 index 9800900b9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_map_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_map_modified.xml deleted file mode 100644 index f7cd89eb4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_map_modified.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_w3dtf_utc.xml deleted file mode 100644 index ea31e8b8c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_w3dtf_utc_map_modified_parsed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_w3dtf_utc_map_modified_parsed.xml deleted file mode 100644 index 0955b042a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dc_date_w3dtf_utc_map_modified_parsed.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_created.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_created.xml deleted file mode 100644 index fa9534c54..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_created.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_created_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_created_w3dtf_utc.xml deleted file mode 100644 index 25a1fe878..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_created_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_issued.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_issued.xml deleted file mode 100644 index c967ef52b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_issued.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_issued_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_issued_w3dtf_utc.xml deleted file mode 100644 index 5af5226dd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_issued_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified.xml deleted file mode 100644 index 0f053aa91..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_map_date.xml deleted file mode 100644 index 1c0bd9125..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_map_date.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_w3dtf_utc.xml deleted file mode 100644 index 441578293..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_w3dtf_utc_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_w3dtf_utc_map_date.xml deleted file mode 100644 index 7ca56d549..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_dcterms_modified_w3dtf_utc_map_date.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate.xml deleted file mode 100644 index 607042b8a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_asctime.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_asctime.xml deleted file mode 100644 index 24a86762e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_asctime.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Sun Jan 4 16:29:06 PST 2004 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney.xml deleted file mode 100644 index 4609afa06..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Mon, 26 January 2004 16:31:00 ET - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_at.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_at.xml deleted file mode 100644 index 23992fc7d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_at.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Mon, 26 January 2004 16:31:00 AT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_ct.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_ct.xml deleted file mode 100644 index b6b483370..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_ct.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Mon, 26 January 2004 16:31:00 CT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_mt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_mt.xml deleted file mode 100644 index f3709f2be..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_mt.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Mon, 26 January 2004 16:31:00 MT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_pt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_pt.xml deleted file mode 100644 index 2a6568a5e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_disney_pt.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Mon, 26 January 2004 16:31:00 PT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_greek_1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_greek_1.xml deleted file mode 100755 index d5b0f789a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_greek_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Κυρ, 11 Ιούλ 2004 12:00:00 EST - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_hungarian_1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_hungarian_1.xml deleted file mode 100755 index 99cf1ef94..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_hungarian_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2004-július-13T9:15-05:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ym.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ym.xml deleted file mode 100644 index 66b85602a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ym.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - --03-12 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ym_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ym_2.xml deleted file mode 100644 index b75809636..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ym_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - --0312 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ymd.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ymd.xml deleted file mode 100644 index 12348ea3c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ymd.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -03-12-31 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ymd_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ymd_2.xml deleted file mode 100644 index 5f53b4e88..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_ymd_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -031231 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_yo_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_yo_2.xml deleted file mode 100644 index a952203cf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_iso8601_yo_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -03335 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_korean_nate.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_korean_nate.xml deleted file mode 100755 index 604a58d1f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_korean_nate.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2004-05-25 ¿ÀÈÄ 11:23:17 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_map_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_map_modified.xml deleted file mode 100644 index dfd7b4799..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_map_modified.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_mssql.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_mssql.xml deleted file mode 100755 index 2bf26e0a8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_mssql.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2004-07-08 23:56:58.0 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_mssql_nofraction.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_mssql_nofraction.xml deleted file mode 100755 index 7393d4e1c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_mssql_nofraction.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2004-07-08 23:56:58 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_nosecond.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_nosecond.xml deleted file mode 100755 index 6dbffd250..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_nosecond.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 00:00 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_notime.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_notime.xml deleted file mode 100755 index e62d69fd3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_notime.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc2822.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc2822.xml deleted file mode 100644 index c712f7e4c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc2822.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc2822_rollover_june_31.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc2822_rollover_june_31.xml deleted file mode 100644 index b279f1dee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc2822_rollover_june_31.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 31 Jun 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc822.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc822.xml deleted file mode 100644 index ec4c8ccdf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_rfc822.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 04 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_25h.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_25h.xml deleted file mode 100644 index 9bb6d5fdb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_25h.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T25:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_61m.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_61m.xml deleted file mode 100644 index 156bf8776..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_61m.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:61:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_61s.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_61s.xml deleted file mode 100644 index fd2d0d108..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_61s.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:61Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_leapyear.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_leapyear.xml deleted file mode 100644 index 8f943bbc7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_leapyear.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2004-02-28T18:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_leapyear400.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_leapyear400.xml deleted file mode 100644 index d9473eb30..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_leapyear400.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2000-02-28T18:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_nonleapyear.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_nonleapyear.xml deleted file mode 100644 index de14979ca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_rollover_nonleapyear.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-02-28T18:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_sf.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_sf.xml deleted file mode 100644 index 719cf796c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_sf.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_tokyo.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_tokyo.xml deleted file mode 100644 index eeb65fb2a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_tokyo.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T18:14:55+08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_utc.xml deleted file mode 100644 index 276897b60..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_y.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_y.xml deleted file mode 100644 index 54992a201..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_y.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ym.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ym.xml deleted file mode 100644 index 93c6f66ea..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ym.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ymd.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ymd.xml deleted file mode 100644 index 2f1ffb2a3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ymd.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ymd_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ymd_2.xml deleted file mode 100644 index 3359b51eb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/channel_pubDate_w3dtf_ymd_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -20031231 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_created.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_created.xml deleted file mode 100755 index db51b04fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_created.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_created_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_created_w3dtf_utc.xml deleted file mode 100755 index 3aa01e3d3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_created_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_issued.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_issued.xml deleted file mode 100755 index e199e34cf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_issued.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_issued_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_issued_w3dtf_utc.xml deleted file mode 100755 index 9842548f9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_issued_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified.xml deleted file mode 100755 index 183d4c31c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified_map_date.xml deleted file mode 100755 index d4ba85e31..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified_map_date.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified_w3dtf_utc.xml deleted file mode 100755 index 3f2d7bc41..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_modified_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_published_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_published_w3dtf_utc.xml deleted file mode 100755 index 4b824f9e7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_published_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_source_updated_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_source_updated_w3dtf_utc.xml deleted file mode 100755 index 1c6465199..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_source_updated_w3dtf_utc.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_updated_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_updated_w3dtf_utc.xml deleted file mode 100755 index 0240a1634..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/entry_updated_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified.xml deleted file mode 100755 index daea56771..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_asctime.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_asctime.xml deleted file mode 100755 index 23f9b2dd2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_asctime.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Sun Jan 4 16:29:06 PST 2004 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney.xml deleted file mode 100755 index b84999afb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -Mon, 26 January 2004 16:31:00 ET - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_at.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_at.xml deleted file mode 100755 index 3530997dc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_at.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -Mon, 26 January 2004 16:31:00 AT - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_ct.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_ct.xml deleted file mode 100755 index 9d673a75e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_ct.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -Mon, 26 January 2004 16:31:00 CT - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_mt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_mt.xml deleted file mode 100755 index d7730db43..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_mt.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -Mon, 26 January 2004 16:31:00 MT - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_pt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_pt.xml deleted file mode 100755 index 7123d9d9d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_disney_pt.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -Mon, 26 January 2004 16:31:00 PT - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ym.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ym.xml deleted file mode 100755 index 7fce927cf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ym.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - --03-12 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ym_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ym_2.xml deleted file mode 100755 index 1ad1add2a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ym_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - --0312 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ymd.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ymd.xml deleted file mode 100755 index 035c4f081..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ymd.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -03-12-31 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ymd_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ymd_2.xml deleted file mode 100755 index 1811aa463..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_ymd_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -031231 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_yo_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_yo_2.xml deleted file mode 100755 index 21b0b975c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_iso8601_yo_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -03335 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_map_date.xml deleted file mode 100755 index a5b7e8308..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_map_date.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc2822.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc2822.xml deleted file mode 100755 index 27e1f99f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc2822.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc2822_rollover_june_31.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc2822_rollover_june_31.xml deleted file mode 100755 index fb1c57056..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc2822_rollover_june_31.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 31 Jun 2004 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc822.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc822.xml deleted file mode 100755 index 0cb07aeba..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_rfc822.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Thu, 01 Jan 04 19:48:21 GMT - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_leapyear.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_leapyear.xml deleted file mode 100755 index 1cafe5db8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_leapyear.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2004-02-28T18:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_leapyear400.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_leapyear400.xml deleted file mode 100755 index c7326af66..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_leapyear400.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2000-02-28T18:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_nonleapyear.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_nonleapyear.xml deleted file mode 100755 index 868d82943..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_rollover_nonleapyear.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-02-28T18:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_sf.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_sf.xml deleted file mode 100755 index 6732dab29..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_sf.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55-08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_tokyo.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_tokyo.xml deleted file mode 100755 index 426b8a827..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_tokyo.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T18:14:55+08:00 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_utc.xml deleted file mode 100755 index a2eb96c5a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_utc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31T10:14:55Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_y.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_y.xml deleted file mode 100755 index e32792189..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_y.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ym.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ym.xml deleted file mode 100755 index c26790219..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ym.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ymd.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ymd.xml deleted file mode 100755 index 2f66467ed..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ymd.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2003-12-31 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ymd_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ymd_2.xml deleted file mode 100755 index 3bc4260e4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_modified_w3dtf_ymd_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -20031231 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_updated_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_updated_w3dtf_utc.xml deleted file mode 100755 index 8da46a2d2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/feed_updated_w3dtf_utc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -2003-12-31T10:14:55Z - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date.xml deleted file mode 100644 index d139ff1ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_map_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_map_modified.xml deleted file mode 100644 index 9fe45e294..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_map_modified.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_w3dtf_utc.xml deleted file mode 100644 index a62bbcaef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_w3dtf_utc.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_w3dtf_utc_map_modified_parsed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_w3dtf_utc_map_modified_parsed.xml deleted file mode 100644 index 151710760..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dc_date_w3dtf_utc_map_modified_parsed.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_created.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_created.xml deleted file mode 100644 index 54d35faf8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_created.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_created_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_created_w3dtf_utc.xml deleted file mode 100644 index 05956c2bc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_created_w3dtf_utc.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_issued.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_issued.xml deleted file mode 100644 index 81f5a1763..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_issued.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_issued_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_issued_w3dtf_utc.xml deleted file mode 100644 index 3e5fcc71e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_issued_w3dtf_utc.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified.xml deleted file mode 100644 index 186465b4a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_map_date.xml deleted file mode 100644 index 7b69d94ed..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_map_date.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_w3dtf_utc.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_w3dtf_utc.xml deleted file mode 100644 index 56f7b5683..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_w3dtf_utc.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_w3dtf_utc_map_date.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_w3dtf_utc_map_date.xml deleted file mode 100644 index fc8951e47..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_dcterms_modified_w3dtf_utc_map_date.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -2003-12-31T10:14:55Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_expirationDate.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_expirationDate.xml deleted file mode 100644 index 792636995..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_expirationDate.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Thu, 01 Jan 2004 19:48:21 GMT - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_expirationDate_rfc2822.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_expirationDate_rfc2822.xml deleted file mode 100644 index 4ce1b51ca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_expirationDate_rfc2822.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Thu, 01 Jan 2004 19:48:21 GMT - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate.xml deleted file mode 100644 index 4b9f5686b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Thu, 01 Jan 2004 19:48:21 GMT - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_euc-kr.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_euc-kr.xml deleted file mode 100755 index b7febecec..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_euc-kr.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - 2004³â 05¿ù 28ÀÏ 01:31:15 - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_map_modified.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_map_modified.xml deleted file mode 100644 index 34e95f7de..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_map_modified.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Thu, 01 Jan 2004 19:48:21 GMT - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_rfc2822.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_rfc2822.xml deleted file mode 100644 index dc0ac48b3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/date/item_pubDate_rfc2822.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Thu, 01 Jan 2004 19:48:21 GMT - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/big5.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/big5.xml deleted file mode 100644 index 823966bbf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/big5.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/csucs4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/csucs4.xml deleted file mode 100644 index 6a5e88ae3..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/csucs4.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/csunicode.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/csunicode.xml deleted file mode 100644 index aac9a437e..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/csunicode.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/encoding_attribute_crash.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/encoding_attribute_crash.xml deleted file mode 100755 index b270005a2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/encoding_attribute_crash.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/encoding_attribute_crash_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/encoding_attribute_crash_2.xml deleted file mode 100755 index dd4e0290b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/encoding_attribute_crash_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<a href="http://example.com"><img src="http://example.com/logo.gif" alt="The image &acirc;&#128;&#156;http://example.com/logo.gif&acirc;&#128;&#65533; cannot be displayed, because it contains errors."></a><br> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr-attribute.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr-attribute.xml deleted file mode 100755 index 0dd608823..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr-attribute.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - <img alt="³â" /> - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr-item.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr-item.xml deleted file mode 100755 index 29a316da5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr-item.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - ³â - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr.xml deleted file mode 100755 index 96e110f56..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/euc-kr.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - ³â - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_charset.xml deleted file mode 100644 index 0a80412df..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_charset_overrides_encoding.xml deleted file mode 100644 index 72206b71e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_default.xml deleted file mode 100644 index 5bf2b266d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_encoding.xml deleted file mode 100644 index 7812c6a4b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_atom_xml_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_charset.xml deleted file mode 100644 index 45eb8d885..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_charset_overrides_encoding.xml deleted file mode 100644 index 3421b933d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_default.xml deleted file mode 100644 index f6090732b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_encoding.xml deleted file mode 100644 index 9a54bac33..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_rss_xml_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_charset.xml deleted file mode 100644 index ec84f6be2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_charset_overrides_encoding.xml deleted file mode 100644 index f7ba5a453..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_default.xml deleted file mode 100644 index a59f61dc0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_charset.xml deleted file mode 100644 index ec32519f3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_charset_overrides_encoding.xml deleted file mode 100644 index abcff3802..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_default.xml deleted file mode 100644 index 1ff16a1d0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_encoding.xml deleted file mode 100644 index fbf6b88df..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_dtd_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_encoding.xml deleted file mode 100644 index 948cd463e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_charset.xml deleted file mode 100644 index be8bf22a7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_charset_overrides_encoding.xml deleted file mode 100644 index 7d14a79ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_default.xml deleted file mode 100644 index 7fa2fdee0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_encoding.xml deleted file mode 100644 index d81a8e17a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_application_xml_epe_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_encoding_attribute_crash.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_encoding_attribute_crash.xml deleted file mode 100755 index 19c9dd636..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_encoding_attribute_crash.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - -
    -Browser market shares at ‘ongoing’ -
    -
    -
    diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_i18n.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_i18n.xml deleted file mode 100644 index e61ad6ae4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_i18n.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Iñtërnâtiônàlizætiøn - - 2004-06-02T19:07:55-04:00 - If your parser thinks this is well-formed, it's right. - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_charset.xml deleted file mode 100644 index 132e3ee79..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_charset_overrides_encoding.xml deleted file mode 100644 index 76ff7c026..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_default.xml deleted file mode 100644 index 11fbd5c3e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_encoding.xml deleted file mode 100644 index 58cf8b0f0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_atom_xml_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_charset.xml deleted file mode 100644 index 6e3ff8710..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_charset_overrides_encoding.xml deleted file mode 100644 index aa71363ba..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_default.xml deleted file mode 100644 index 98b20579a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_encoding.xml deleted file mode 100644 index d8f7b50ce..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_rss_xml_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_bogus_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_bogus_charset.xml deleted file mode 100755 index cdafd9d22..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_bogus_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_bogus_param.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_bogus_param.xml deleted file mode 100755 index 4cc67d361..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_bogus_param.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset.xml deleted file mode 100644 index f02d3cfee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_2.xml deleted file mode 100644 index aac1bec9a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_2.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Foo -http://purl.org/rss/2.0/?item -This is a £“test.” - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_overrides_encoding.xml deleted file mode 100644 index 551525a21..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_overrides_encoding_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_overrides_encoding_2.xml deleted file mode 100644 index 0a0eed406..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_charset_overrides_encoding_2.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - -Foo -http://purl.org/rss/2.0/?item -This is a £“test.” - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_default.xml deleted file mode 100644 index 643ec0aa9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_charset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_charset.xml deleted file mode 100644 index 4fff4eb9d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_charset.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_charset_overrides_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_charset_overrides_encoding.xml deleted file mode 100644 index df2423955..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_charset_overrides_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_default.xml deleted file mode 100644 index 3f1e6795c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_default.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_encoding.xml deleted file mode 100644 index 1c85b8894..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_epe_encoding.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_qs.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_qs.xml deleted file mode 100755 index 1e1a8eabc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/http_text_xml_qs.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/iso-10646-ucs-2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/iso-10646-ucs-2.xml deleted file mode 100644 index e2d2e93ab..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/iso-10646-ucs-2.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/iso-10646-ucs-4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/iso-10646-ucs-4.xml deleted file mode 100644 index c11165964..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/iso-10646-ucs-4.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/no_content_type_default.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/no_content_type_default.xml deleted file mode 100644 index 217ce78c2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/no_content_type_default.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/no_content_type_encoding.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/no_content_type_encoding.xml deleted file mode 100644 index 41e2ebfd6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/no_content_type_encoding.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/u16.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/u16.xml deleted file mode 100644 index 3110f17a8..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/u16.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/ucs-2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/ucs-2.xml deleted file mode 100644 index d4e3defb7..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/ucs-2.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/ucs-4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/ucs-4.xml deleted file mode 100644 index 143fdcad2..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/ucs-4.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be-autodetect.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be-autodetect.xml deleted file mode 100755 index 08976b7a5..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be-autodetect.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be-bom.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be-bom.xml deleted file mode 100755 index 1f629657d..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be-bom.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be.xml deleted file mode 100755 index c9a0f145d..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16be.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le-autodetect.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le-autodetect.xml deleted file mode 100755 index 609388267..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le-autodetect.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le-bom.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le-bom.xml deleted file mode 100755 index 89cb4f776..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le-bom.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le.xml deleted file mode 100755 index ec8effdc8..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-16le.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be-autodetect.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be-autodetect.xml deleted file mode 100644 index deabb603e..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be-autodetect.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be-bom.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be-bom.xml deleted file mode 100644 index f09e8aefd..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be-bom.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be.xml deleted file mode 100644 index f91203103..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32be.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le-autodetect.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le-autodetect.xml deleted file mode 100644 index 37fd72a64..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le-autodetect.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le-bom.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le-bom.xml deleted file mode 100644 index c62cae403..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le-bom.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le.xml deleted file mode 100644 index 4b83b240f..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-32le.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-8-bom.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-8-bom.xml deleted file mode 100755 index 079031567..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf-8-bom.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf16.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf16.xml deleted file mode 100644 index 053b03e34..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf16.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf_16.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf_16.xml deleted file mode 100644 index 63dd6a692..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf_16.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf_32.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf_32.xml deleted file mode 100644 index 748904837..000000000 Binary files a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/utf_32.xml and /dev/null differ diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_437.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_437.xml deleted file mode 100755 index 747bffe65..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_437.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_850.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_850.xml deleted file mode 100755 index 89b51ddf0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_850.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_852.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_852.xml deleted file mode 100755 index 1fb1898e0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_852.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_855.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_855.xml deleted file mode 100755 index fbd5240f4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_855.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_857.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_857.xml deleted file mode 100755 index 2ebe08477..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_857.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_860.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_860.xml deleted file mode 100755 index dbe53c9cc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_860.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_861.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_861.xml deleted file mode 100755 index a2a69ddfb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_861.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_862.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_862.xml deleted file mode 100755 index 70947b414..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_862.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_863.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_863.xml deleted file mode 100755 index dce7c3600..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_863.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_865.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_865.xml deleted file mode 100755 index bfe7e3a62..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_865.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_866.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_866.xml deleted file mode 100755 index d83badab3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_866.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp037.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp037.xml deleted file mode 100755 index bf80bdeb9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp037.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~ƒ—ðó÷on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}ƒ—ðó÷}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@ƒ—ðó÷@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1125.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1125.xml deleted file mode 100755 index ab540d1ee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1125.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1250.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1250.xml deleted file mode 100755 index c32c6abe1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1250.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1251.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1251.xml deleted file mode 100755 index 5892eb393..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1251.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1252.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1252.xml deleted file mode 100755 index 960f8dfc3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1252.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1253.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1253.xml deleted file mode 100755 index 0f3fae968..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1253.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1254.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1254.xml deleted file mode 100755 index 5a5160f56..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1254.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1255.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1255.xml deleted file mode 100755 index 64fa7b6a0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1255.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1256.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1256.xml deleted file mode 100755 index 87ad5178e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1256.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1257.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1257.xml deleted file mode 100755 index 9496f0b56..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1257.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1258.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1258.xml deleted file mode 100755 index 4fc927e72..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp1258.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp437.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp437.xml deleted file mode 100755 index d6fb55caf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp437.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp500.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp500.xml deleted file mode 100755 index bc7abbdcd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp500.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~ƒ—õððon%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}ƒ—õðð}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@ƒ—õðð@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp737.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp737.xml deleted file mode 100755 index 6798237df..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp737.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp775.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp775.xml deleted file mode 100755 index d04ed5f83..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp775.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp850.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp850.xml deleted file mode 100755 index b510c43fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp850.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp852.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp852.xml deleted file mode 100755 index 1c7d3e952..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp852.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp855.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp855.xml deleted file mode 100755 index 069b05952..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp855.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp856.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp856.xml deleted file mode 100755 index d4d940ab1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp856.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp857.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp857.xml deleted file mode 100755 index 5682d7fa2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp857.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp860.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp860.xml deleted file mode 100755 index a572284a0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp860.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp861.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp861.xml deleted file mode 100755 index fb1a529d6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp861.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp862.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp862.xml deleted file mode 100755 index e9121d0f7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp862.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp863.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp863.xml deleted file mode 100755 index 3a2de4f2c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp863.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp864.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp864.xml deleted file mode 100755 index fa501d7ab..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp864.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp865.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp865.xml deleted file mode 100755 index 1a59191f6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp865.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp866.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp866.xml deleted file mode 100755 index 62c9e9582..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp866.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp874.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp874.xml deleted file mode 100755 index 80dd0ffd5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp874.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp875.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp875.xml deleted file mode 100755 index b8b0d245a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp875.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~ƒ—ø÷õon%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}ƒ—ø÷õ}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@ƒ—ø÷õ@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}à¤ðóøõ}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp_is.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp_is.xml deleted file mode 100755 index 231ac77bf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cp_is.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm037.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm037.xml deleted file mode 100755 index de1073be6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm037.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~ƒ¢‰‚”ðó÷on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}ƒ¢‰‚”ðó÷}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@ƒ¢‰‚”ðó÷@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm500.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm500.xml deleted file mode 100755 index 2a499828e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm500.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~ƒ¢‰‚”õððon%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}ƒ¢‰‚”õðð}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@ƒ¢‰‚”õðð@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm855.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm855.xml deleted file mode 100755 index cf078a747..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm855.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm857.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm857.xml deleted file mode 100755 index b2df46272..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm857.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm860.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm860.xml deleted file mode 100755 index 28269f79b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm860.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm861.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm861.xml deleted file mode 100755 index 2300d2d96..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm861.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm863.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm863.xml deleted file mode 100755 index af23c2bdf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm863.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm864.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm864.xml deleted file mode 100755 index 6d820bec1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm864.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm865.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm865.xml deleted file mode 100755 index 5ca7a89ab..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm865.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm866.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm866.xml deleted file mode 100755 index 0c962ed57..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csibm866.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cskoi8r.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cskoi8r.xml deleted file mode 100755 index 2a41be100..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cskoi8r.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csmacintosh.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csmacintosh.xml deleted file mode 100755 index 3d387895c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_csmacintosh.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc775baltic.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc775baltic.xml deleted file mode 100755 index e5b9993f3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc775baltic.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc850multilingual.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc850multilingual.xml deleted file mode 100755 index 21f5f7dc3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc850multilingual.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc862latinhebrew.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc862latinhebrew.xml deleted file mode 100755 index b282482a6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc862latinhebrew.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc8codepage437.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc8codepage437.xml deleted file mode 100755 index 74dffe055..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspc8codepage437.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspcp852.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspcp852.xml deleted file mode 100755 index bb0b3f2f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_cspcp852.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_dbcs.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_dbcs.xml deleted file mode 100755 index 6d7ff4157..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_dbcs.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-be.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-be.xml deleted file mode 100755 index 605593c4d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-be.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒ`ƒ—`‚…on%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒ`ƒ—`‚…}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒ`ƒ—`‚…@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-ca.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-ca.xml deleted file mode 100755 index 346fa178a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-ca.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒ`ƒ—`ƒ�on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒ`ƒ—`ƒ�}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒ`ƒ—`ƒ�@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-ch.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-ch.xml deleted file mode 100755 index 1ed34d98e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-ch.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒ`ƒ—`ƒˆon%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒ`ƒ—`ƒˆ}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒ`ƒ—`ƒˆ@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-nl.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-nl.xml deleted file mode 100755 index 158a9b889..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-nl.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒ`ƒ—`•“on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒ`ƒ—`•“}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒ`ƒ—`•“@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-us.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-us.xml deleted file mode 100755 index 9bc45ffac..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-us.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒ`ƒ—`¤¢on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒ`ƒ—`¤¢}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒ`ƒ—`¤¢@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-wt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-wt.xml deleted file mode 100755 index 692714356..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic-cp-wt.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒ`ƒ—`¦£on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒ`ƒ—`¦£}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒ`ƒ—`¦£@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_be.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_be.xml deleted file mode 100755 index fe4d13b63..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_be.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒmƒ—m‚…on%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒmƒ—m‚…}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒmƒ—m‚…@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_ca.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_ca.xml deleted file mode 100755 index 1999ff5f2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_ca.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒmƒ—mƒ�on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒmƒ—mƒ�}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒmƒ—mƒ�@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_ch.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_ch.xml deleted file mode 100755 index 8a7d36df9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_ch.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒmƒ—mƒˆon%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒmƒ—mƒˆ}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒmƒ—mƒˆ@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_nl.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_nl.xml deleted file mode 100755 index 2917b9543..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_nl.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒmƒ—m•“on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒmƒ—m•“}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒmƒ—m•“@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_us.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_us.xml deleted file mode 100755 index 8d3d7612d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_us.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒmƒ—m¤¢on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒmƒ—m¤¢}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒmƒ—m¤¢@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_wt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_wt.xml deleted file mode 100755 index b110ada1d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ebcdic_cp_wt.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~…‚ƒ„‰ƒmƒ—m¦£on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}…‚ƒ„‰ƒmƒ—m¦£}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@…‚ƒ„‰ƒmƒ—m¦£@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm037.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm037.xml deleted file mode 100755 index e3ab6ec5c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm037.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~‰‚”ðó÷on%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}‰‚”ðó÷}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@‰‚”ðó÷@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm039.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm039.xml deleted file mode 100755 index 211553d9f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm039.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~‰‚”ðóùon%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}‰‚”ðóù}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@‰‚”ðóù@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm1140.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm1140.xml deleted file mode 100755 index c1cde5f98..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm1140.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~‰‚”ññôðon%LZ``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}‰‚”ññôð}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@‰‚”ññôð@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm437.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm437.xml deleted file mode 100755 index c9689dc72..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm437.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm500.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm500.xml deleted file mode 100755 index 1c32c8867..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm500.xml +++ /dev/null @@ -1 +0,0 @@ -Lo§”“@¥…™¢‰–•~ñKð@…•ƒ–„‰•‡~‰‚”õððon%LO``%⒉—䕓…¢¢z@@mm‰”—–™£mmM}ƒ–„…ƒ¢}]K“––’¤—M}‰‚”õðð}]%ą¢ƒ™‰—£‰–•z@§øð@ƒˆ�™�ƒ£…™@‰•@‰‚”õðð@…•ƒ–„‰•‡%ŧ—…ƒ£z@@@@@@•–£@‚–©–@�•„@†……„K£‰£“…@~~@¤}ৄø}%``n%L†……„@¥…™¢‰–•~ðKó@§”“•¢~ˆ££—zaa—¤™“K–™‡a�£–”a•¢{n%L£‰£“…n€La£‰£“…n%La†……„n \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm775.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm775.xml deleted file mode 100755 index a6ac0bf00..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm775.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm850.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm850.xml deleted file mode 100755 index e3385b769..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm850.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm852.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm852.xml deleted file mode 100755 index ed4831087..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm852.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm855.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm855.xml deleted file mode 100755 index 7574077aa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm855.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm857.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm857.xml deleted file mode 100755 index 41f684896..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm857.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm860.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm860.xml deleted file mode 100755 index 68c3f5ef6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm860.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm861.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm861.xml deleted file mode 100755 index b9c19d768..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm861.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm862.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm862.xml deleted file mode 100755 index 15a957b93..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm862.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm863.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm863.xml deleted file mode 100755 index 884ca842a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm863.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm864.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm864.xml deleted file mode 100755 index cc5522f49..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm864.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm865.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm865.xml deleted file mode 100755 index 4419a8b3b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm865.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm866.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm866.xml deleted file mode 100755 index cf2478793..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ibm866.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-r.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-r.xml deleted file mode 100755 index 9e6c9a6b8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-r.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-t.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-t.xml deleted file mode 100755 index 502735cfc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-t.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-u.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-u.xml deleted file mode 100755 index f8ea0abbb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_koi8-u.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_mac-cyrillic.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_mac-cyrillic.xml deleted file mode 100755 index 7a49eb05e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_mac-cyrillic.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_mac.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_mac.xml deleted file mode 100755 index b53614820..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_mac.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maccentraleurope.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maccentraleurope.xml deleted file mode 100755 index abcedfd30..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maccentraleurope.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maccyrillic.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maccyrillic.xml deleted file mode 100755 index 89ae2309b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maccyrillic.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macgreek.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macgreek.xml deleted file mode 100755 index ac91a79d3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macgreek.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maciceland.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maciceland.xml deleted file mode 100755 index d93cfa563..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maciceland.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macintosh.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macintosh.xml deleted file mode 100755 index e01a0e316..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macintosh.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maclatin2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maclatin2.xml deleted file mode 100755 index fe1d5c43b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_maclatin2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macroman.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macroman.xml deleted file mode 100755 index 0700f3af0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macroman.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macturkish.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macturkish.xml deleted file mode 100755 index fa4ec82fd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_macturkish.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-ansi.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-ansi.xml deleted file mode 100755 index b3312ec6f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-ansi.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-arab.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-arab.xml deleted file mode 100755 index b67bee601..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-arab.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-cyrl.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-cyrl.xml deleted file mode 100755 index 57bfc929b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-cyrl.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-ee.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-ee.xml deleted file mode 100755 index eb034d0bf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-ee.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-greek.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-greek.xml deleted file mode 100755 index b8bfc78a8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-greek.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-hebr.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-hebr.xml deleted file mode 100755 index d170a9c67..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-hebr.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-turk.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-turk.xml deleted file mode 100755 index dad6cbe97..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_ms-turk.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn-5712.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn-5712.xml deleted file mode 100755 index 684c52f4e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn-5712.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn.xml deleted file mode 100755 index 5b17c9d72..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn5712-1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn5712-1.xml deleted file mode 100755 index f6e92eefb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_tcvn5712-1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_viscii.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_viscii.xml deleted file mode 100755 index b872c5b33..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_viscii.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_winbaltrim.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_winbaltrim.xml deleted file mode 100755 index a109e279f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_winbaltrim.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1250.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1250.xml deleted file mode 100755 index 7449843e2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1250.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1251.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1251.xml deleted file mode 100755 index 15f51c58f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1251.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1252.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1252.xml deleted file mode 100755 index 742278a0e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1252.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1253.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1253.xml deleted file mode 100755 index 001199908..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1253.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1254.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1254.xml deleted file mode 100755 index 7e9078947..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1254.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1255.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1255.xml deleted file mode 100755 index 53cfc1914..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1255.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1256.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1256.xml deleted file mode 100755 index 4b2b6303a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1256.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1257.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1257.xml deleted file mode 100755 index 00e807fad..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1257.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1258.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1258.xml deleted file mode 100755 index 7a6d4105f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows-1258.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1250.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1250.xml deleted file mode 100755 index 6728513e3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1250.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1251.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1251.xml deleted file mode 100755 index 9ea04a6ab..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1251.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1252.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1252.xml deleted file mode 100755 index 7adeea4b2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1252.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1253.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1253.xml deleted file mode 100755 index ab21d9ef7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1253.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1254.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1254.xml deleted file mode 100755 index a35a78b82..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1254.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1255.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1255.xml deleted file mode 100755 index e71a73671..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1255.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1256.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1256.xml deleted file mode 100755 index 6f9f98d3d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1256.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1257.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1257.xml deleted file mode 100755 index 42649b742..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1257.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1258.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1258.xml deleted file mode 100755 index c8bc701e4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/encoding/x80_windows_1258.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -€ - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/feedburner/feedburner_browserfriendly.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/feedburner/feedburner_browserfriendly.xml deleted file mode 100755 index 4d341cf01..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/feedburner/feedburner_browserfriendly.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site. - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/feedburner/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/feedburner/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/feedburner/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/http/headers_foo.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/http/headers_foo.xml deleted file mode 100644 index 74261f29a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/http/headers_foo.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/http/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/http/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/http/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block.xml deleted file mode 100755 index de29d95ee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_false.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_false.xml deleted file mode 100755 index a35128594..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_false.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - false - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_no.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_no.xml deleted file mode 100755 index 7d6bf5150..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_no.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - no - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_true.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_true.xml deleted file mode 100755 index b8445a626..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_true.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - true - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_uppercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_uppercase.xml deleted file mode 100755 index 91ce8da4f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_uppercase.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - YES - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_whitespace.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_whitespace.xml deleted file mode 100755 index cbdcb2cfa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_block_whitespace.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category.xml deleted file mode 100755 index 18c69b703..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category_nested.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category_nested.xml deleted file mode 100755 index 34e10504b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category_nested.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category_scheme.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category_scheme.xml deleted file mode 100755 index fe5af4076..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_category_scheme.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit.xml deleted file mode 100755 index 6815dde54..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_false.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_false.xml deleted file mode 100755 index 4cca5921f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_false.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - false - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_no.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_no.xml deleted file mode 100755 index fc4ca2496..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_no.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - no - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_true.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_true.xml deleted file mode 100755 index bbc4d5f07..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_true.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - true - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_uppercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_uppercase.xml deleted file mode 100755 index af90fa16b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_uppercase.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - YES - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_whitespace.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_whitespace.xml deleted file mode 100755 index 0c55d7bf1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_explicit_whitespace.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_image.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_image.xml deleted file mode 100755 index 40a11dcf9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_image.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords.xml deleted file mode 100755 index ae566215e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Technology - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_duplicate.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_duplicate.xml deleted file mode 100755 index 85b612922..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_duplicate.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Technology Technology - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml deleted file mode 100755 index 4754640b8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_duplicate_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - -Technology - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_multiple.xml deleted file mode 100755 index c10734fa9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_keywords_multiple.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Technology Gadgets - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_link_image.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_link_image.xml deleted file mode 100755 index d4368efa7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_link_image.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_owner_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_owner_email.xml deleted file mode 100755 index c72ed6b1c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_owner_email.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Mark Pilgrim -mark@example.com - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_owner_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_owner_name.xml deleted file mode 100755 index c579988b9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_owner_name.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Mark Pilgrim -mark@example.com - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_subtitle.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_subtitle.xml deleted file mode 100755 index a1032e956..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_subtitle.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example subtitle - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_summary.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_summary.xml deleted file mode 100755 index b9a34712a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_channel_summary.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example summary - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_core_element_uppercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_core_element_uppercase.xml deleted file mode 100755 index 0d368ff8c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_core_element_uppercase.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example title - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_enclosure_url_maps_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_enclosure_url_maps_id.xml deleted file mode 100755 index 552a905ca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_enclosure_url_maps_id.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_enclosure_url_maps_id_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_enclosure_url_maps_id_2.xml deleted file mode 100755 index 34fd4def9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_enclosure_url_maps_id_2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://example.com/id - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_author_map_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_author_map_author.xml deleted file mode 100755 index def8bc6a9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_author_map_author.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Mark Pilgrim - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block.xml deleted file mode 100755 index 7a6cc2f3b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - yes - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_false.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_false.xml deleted file mode 100755 index 11e1f460b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_false.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - false - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_no.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_no.xml deleted file mode 100755 index b70fcb9fd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_no.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - no - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_true.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_true.xml deleted file mode 100755 index b4a24d664..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_true.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - true - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_uppercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_uppercase.xml deleted file mode 100755 index 114229eaf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_uppercase.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - YES - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_whitespace.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_whitespace.xml deleted file mode 100755 index efd405709..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_block_whitespace.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - yes - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category.xml deleted file mode 100755 index a2f54ab93..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category_nested.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category_nested.xml deleted file mode 100755 index e13110ba4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category_nested.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category_scheme.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category_scheme.xml deleted file mode 100755 index 6cb1fe12b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_category_scheme.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_duration.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_duration.xml deleted file mode 100755 index 44dd95ed3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_duration.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - 3:00 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit.xml deleted file mode 100755 index 73e3efde6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - yes - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_false.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_false.xml deleted file mode 100755 index 38bcfb6c9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_false.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - false - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_no.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_no.xml deleted file mode 100755 index 5b1be520e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_no.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - no - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_true.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_true.xml deleted file mode 100755 index 0213a656e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_true.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - true - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_uppercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_uppercase.xml deleted file mode 100755 index b3a7f9813..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_uppercase.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - YES - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_whitespace.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_whitespace.xml deleted file mode 100755 index 7bac1e033..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_explicit_whitespace.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - yes - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_image.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_image.xml deleted file mode 100755 index 626cf9446..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_image.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_link_image.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_link_image.xml deleted file mode 100755 index bc3c29949..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_link_image.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_subtitle.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_subtitle.xml deleted file mode 100755 index 6fa537b2e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_subtitle.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example subtitle - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_summary.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_summary.xml deleted file mode 100755 index f3939e29e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_item_summary.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Example summary - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_link_enclosure_maps_id.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_link_enclosure_maps_id.xml deleted file mode 100755 index c44c4552a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_link_enclosure_maps_id.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_link_enclosure_maps_id_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_link_enclosure_maps_id_2.xml deleted file mode 100755 index 8c2848527..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_link_enclosure_maps_id_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -http://example.com/id - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace.xml deleted file mode 100755 index 4b524c385..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_example.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_example.xml deleted file mode 100755 index b51258e71..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_example.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_lowercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_lowercase.xml deleted file mode 100755 index 8e9c06be6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_lowercase.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_uppercase.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_uppercase.xml deleted file mode 100755 index 40baf9ab0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/itunes/itunes_namespace_uppercase.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - yes - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/channel_dc_language.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/channel_dc_language.xml deleted file mode 100644 index 1987316ee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/channel_dc_language.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -en - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/channel_language.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/channel_language.xml deleted file mode 100644 index 2caad8b65..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/channel_language.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -en-us - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang.xml deleted file mode 100644 index 7f6610ea5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank.xml deleted file mode 100644 index 8f1422c6c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank_2.xml deleted file mode 100644 index 82c22ea5f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank_3.xml deleted file mode 100644 index f38c0d620..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_blank_3.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -
    Example test
    -
    - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit.xml deleted file mode 100755 index bc1d0d67e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_2.xml deleted file mode 100755 index 17d6d0b93..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_3.xml deleted file mode 100755 index 0ce71d53e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_4.xml deleted file mode 100755 index eb106378d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_content_xml_lang_inherit_4.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang.xml deleted file mode 100755 index 0a38dd321..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_blank.xml deleted file mode 100644 index 27bc69991..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_blank.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit.xml deleted file mode 100755 index 391305f3d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml deleted file mode 100755 index 9cc134147..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    Example test
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml deleted file mode 100755 index 3d4ced31f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml deleted file mode 100755 index b6fa2680a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_summary_xml_lang_inherit_4.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang.xml deleted file mode 100755 index 7957afb84..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Atom - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_blank.xml deleted file mode 100644 index 28a10f3f2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_blank.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit.xml deleted file mode 100755 index 677964503..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_2.xml deleted file mode 100755 index 0a1c8aa7a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_3.xml deleted file mode 100755 index 9410dab60..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_4.xml deleted file mode 100755 index 163cd1a14..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/entry_title_xml_lang_inherit_4.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang.xml deleted file mode 100755 index de0ba9e8f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_blank.xml deleted file mode 100644 index add3483f7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_blank.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit.xml deleted file mode 100755 index a1a280168..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml deleted file mode 100755 index 13040499c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml deleted file mode 100755 index 754baf336..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml deleted file mode 100755 index ab990b3b4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_copyright_xml_lang_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang.xml deleted file mode 100755 index 3b0c64911..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_blank.xml deleted file mode 100644 index 9d2c92678..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_blank.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit.xml deleted file mode 100755 index f35b641be..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_2.xml deleted file mode 100755 index f44df8844..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_3.xml deleted file mode 100755 index f0e8d8e4d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_4.xml deleted file mode 100755 index 354837392..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_info_xml_lang_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    blah blah blah
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_language.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_language.xml deleted file mode 100755 index 822fbf36a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_language.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -en - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_language_override.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_language_override.xml deleted file mode 100755 index 822fbf36a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_language_override.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -en - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_not_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_not_xml_lang.xml deleted file mode 100755 index a9060b74a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_not_xml_lang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -foo - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_not_xml_lang_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_not_xml_lang_2.xml deleted file mode 100755 index e6ccae9e5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_not_xml_lang_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -foo - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang.xml deleted file mode 100755 index 2643e1db0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_blank.xml deleted file mode 100644 index 903b0a8d6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_blank.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit.xml deleted file mode 100755 index 2b288dc46..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml deleted file mode 100755 index a74c87fda..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml deleted file mode 100755 index 699f94534..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml deleted file mode 100755 index f17230466..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_tagline_xml_lang_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    -
    Example test
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang.xml deleted file mode 100755 index 5b00d19de..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - Example Atom - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_blank.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_blank.xml deleted file mode 100644 index 938478906..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_blank.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit.xml deleted file mode 100755 index 985e69c4d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_2.xml deleted file mode 100755 index 53be2b33a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_3.xml deleted file mode 100755 index a93566a0a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_3.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_4.xml deleted file mode 100755 index c9a8603d9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_title_xml_lang_inherit_4.xml +++ /dev/null @@ -1,8 +0,0 @@ - - -
    blah blah blah
    - <div xmlns="http://www.w3.org/1999/xhtml">Example <a href="test.html">test</a></div> -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_xml_lang.xml deleted file mode 100755 index dd5242ef2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/feed_xml_lang.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language.xml deleted file mode 100755 index 9cb5a7bb5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_entry_title_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_entry_title_inherit.xml deleted file mode 100755 index a2f493c84..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_entry_title_inherit.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -foo - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_entry_title_inherit_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_entry_title_inherit_2.xml deleted file mode 100755 index ff69c3932..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_entry_title_inherit_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - -1 -foo - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_feed_language.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_feed_language.xml deleted file mode 100755 index 1db7d3a9a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_feed_language.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -fr - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_feed_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_feed_xml_lang.xml deleted file mode 100755 index 1acccd99a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/http_content_language_feed_xml_lang.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_content_encoded_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_content_encoded_xml_lang.xml deleted file mode 100644 index ffa73b7ec..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_content_encoded_xml_lang.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml deleted file mode 100644 index 9ed5fc542..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_content_encoded_xml_lang_inherit.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_dc_language.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_dc_language.xml deleted file mode 100644 index de68f3872..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_dc_language.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -en - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_fullitem_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_fullitem_xml_lang.xml deleted file mode 100644 index 07ed719d5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_fullitem_xml_lang.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_fullitem_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_fullitem_xml_lang_inherit.xml deleted file mode 100644 index ad467f23e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_fullitem_xml_lang_inherit.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_xhtml_body_xml_lang.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_xhtml_body_xml_lang.xml deleted file mode 100644 index 754a7a1bb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_xhtml_body_xml_lang.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -

    Example content

    - -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml deleted file mode 100644 index 58dea769f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/lang/item_xhtml_body_xml_lang_inherit.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -

    Example content

    - -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModules.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModules.xml deleted file mode 100644 index 24910181a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModules.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - RSS Tests - RSS 1.0 - http://www.pocketsoap.com/rssTests/rss1.0withModules.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - Copyright 2002 Simon Fell - - 2002-09-28T20:01:19Z - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - - 2002-09-28T20:01:19Z - 2002-01-12T02:15:32Z - - 2002-09-28T20:01:19Z - 2002 - - - - - - - - - - Test Item - RSS 1.0 - http://www.pocketsoap.com/weblog/rssTests/rss1.0withModules.xml#1 - - This is a fairly standard RSS 1.0 feed with a few modules, with no localname clashes, any aggregator that supports RSS 1.0 should handle this fine (RSS 1.0) - 2002-09-28T20:01:19Z - - 2002-09-28T20:01:19Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModulesNoDefNS.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModulesNoDefNS.xml deleted file mode 100644 index ca4287dfe..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModulesNoDefNS.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - RSS Tests - RSS 1.0 no Default NS - http://www.pocketsoap.com/rssTests/rss1.0withModulesNoDefNS.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - Copyright 2002 Simon Fell - - 2002-09-28T20:01:19Z - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - - 2002-09-28T20:01:19Z - 2002-01-12T02:15:32Z - - 2002-09-28T20:01:19Z - 2002 - - - - - - - - - - Test Item - RSS 1.0 no Default NS - http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNS.xml#1 - - This is a fairly standard RSS 1.0 feed with a few modules, with no localname clashes, any aggregator that supports RSS 1.0 should handle this fine. This doesn't use - any default namespace declarations, all namespaces are mapped to prefixes. As far the namespace spec is concerned this is identical to the rss1.0withModules.xml version (RSS 1.0 no Default NS) - 2002-09-28T20:01:19Z - - 2002-09-28T20:01:19Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml deleted file mode 100644 index 066404b74..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss1.0withModulesNoDefNSLocalNameClash.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - RSS Tests - RSS 1.0 no Default NS, localName clashes - http://www.pocketsoap.com/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - Copyright 2002 Simon Fell - - 2002-09-28T20:01:19Z - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - - 2002-09-28T20:01:19Z - 2002-01-12T02:15:32Z - - 2002-09-28T20:01:19Z - 2002 - - - - - - - - - - Test Item - RSS 1.0 no Default NS, localName clashes - http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml#1 - - This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. - This shouldn't appear in your aggregator, but probably does. (pre rss:description RSS 1.0 no Default NS, localName clashes) - - correct description - This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. - This shouldn't appear in your aggregator, but probably does. (post rss:description RSS 1.0 no Default NS, localName clashes) - - 2002-09-28T20:01:19Z - 2002-09-28T20:01:19Z - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModules.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModules.xml deleted file mode 100644 index a03940201..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModules.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - RSS Tests - RSS2.0 w/ NS - http://www.pocketsoap.com/rssTests/rss2.0NSwithModules.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - Copyright 2002 Simon Fell - - Copyright 2002 Simon Fell - 2002-09-28T21:00:02Z - Sat, 28 Sep 2002 21:00:02 GMT - Sat, 28 Sep 2002 21:00:02 GMT - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - - sf@zaks.demon.co.uk - ultraedit-32 - - sf@zaks.demon.co.uk (Simon Fell) - 2002-09-28T20:01:19Z - 2002-01-12T02:15:32Z - - 2002-09-28T20:01:19Z - 2002 - - - Test Item - RSS2.0 w/ NS - http://www.pocketsoap.com/weblog/rssTests/rss2.0NSwithModules.xml#1 - This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements are in the http://backend.userland.com/rss2 namespace, all module elements are in their required namespaces. - there are no localname clashes. This is very similar to a RSS1.0 feed. (RSS2.0 w/ NS) - - - 2002-09-28T20:01:19Z - 2002-09-28T20:01:19Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml deleted file mode 100644 index 4e12bb33d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModulesNoDefNS.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - RSS Tests - RSS2.0 w/ NS no default NS - http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNS.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - Copyright 2002 Simon Fell - - Copyright 2002 Simon Fell - 2002-09-28T21:00:02Z - Sat, 28 Sep 2002 21:00:02 GMT - Sat, 28 Sep 2002 21:00:02 GMT - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - - sf@zaks.demon.co.uk - ultraedit-32 - - sf@zaks.demon.co.uk (Simon Fell) - 2002-09-28T20:01:19Z - 2002-01-12T02:15:32Z - - 2002-09-28T20:01:19Z - 2002 - - - Test Item - - RSS2.0 w/ NS no default NS - http://www.pocketsoap.com/weblog/rssTests/rss2.0withModulesNoDefNS.xml#1 - This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements are in the http://backend.userland.com/rss2 namespace, all module elements are in their required namespaces. - there are no localname clashes, all elements uses namespace prefixes, there is no default namespace declared. This is very similar to a RSS1.0 feed. (RSS2.0 w/ NS no default NS) - - - 2002-09-28T20:01:19Z - 2002-09-28T20:01:19Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml deleted file mode 100644 index e8694e774..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0NSwithModulesNoDefNSLocalNameClash.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - RSS Tests - RSS2.0 w/ NS, no default NS, localName clash - http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - en-gb - - Copyright 2002 Simon Fell - Copyright 2002 Simon Fell - 2002-09-28T21:00:02Z - Sat, 28 Sep 2002 21:00:02 GMT - Sat, 28 Sep 2002 21:00:02 GMT - sf@zaks.demon.co.uk - - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - ultraedit-32 - - sf@zaks.demon.co.uk (Simon Fell) - 2002-09-28T20:01:19Z - - 2002-01-12T02:15:32Z - 2002-09-28T20:01:19Z - 2002 - - - Test Item - RSS2.0 w/ NS, no default NS, localName clash - http://www.pocketsoap.com/weblog/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.xml#1 - - - This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. - This shouldn't appear in your aggregator, but probably does. (pre rss:description - RSS2.0 w/ NS, no default NS, localName clash) - - correct description - This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. - This shouldn't appear in your aggregator, but probably does. (post rss:description - RSS2.0 w/ NS, no default NS, localName clash) - - 2002-09-28T20:01:19Z - 2002-09-28T20:01:19Z - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0noNSwithModules.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0noNSwithModules.xml deleted file mode 100644 index 572460f6a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0noNSwithModules.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - RSS Tests - RSS2.0 no NS - http://www.pocketsoap.com/rssTests/rss2.0noNSwithModules.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - Copyright 2002 Simon Fell - - Copyright 2002 Simon Fell - 2002-09-28T21:00:02Z - Sat, 28 Sep 2002 21:00:02 GMT - Sat, 28 Sep 2002 21:00:02 GMT - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - - sf@zaks.demon.co.uk - ultraedit-32 - - sf@zaks.demon.co.uk (Simon Fell) - 2002-09-28T20:01:19Z - 2002-01-12T02:15:32Z - - 2002-09-28T20:01:19Z - 2002 - - - Test Item - RSS 2.0 no NS - http://www.pocketsoap.com/weblog/rssTests/rss2.0noNSwithModules.xml - This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements aren't in any namespace, all module elements are in their required namespaces. - there are no localname clashes. This is largely backwardly compatible with 0.9x. (RSS 2.0 no NS) - - - 2002-09-28T20:01:19Z - 2002-09-28T20:01:19Z - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml deleted file mode 100644 index dffa5dcf3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/namespace/rss2.0noNSwithModulesLocalNameClash.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - RSS Tests - RSS2.0 no NS localName clash - http://www.pocketsoap.com/rssTests/rss2.0noNSwithModulesLocalNameClash.xml - A set of test RSS files for examining the state of extension support in RSS aggregators - en-gb - en-gb - - Copyright 2002 Simon Fell - Copyright 2002 Simon Fell - 2002-09-28T21:00:02Z - Sat, 28 Sep 2002 21:00:02 GMT - Sat, 28 Sep 2002 21:00:02 GMT - sf@zaks.demon.co.uk - - sf@zaks.demon.co.uk - sf@zaks.demon.co.uk - ultraedit-32 - - sf@zaks.demon.co.uk (Simon Fell) - 2002-09-28T20:01:19Z - - 2002-01-12T02:15:32Z - 2002-09-28T20:01:19Z - 2002 - - - Test Item - RSS2.0 no NS localName clash - http://www.pocketsoap.com/weblog/rssTests/rss2.0noNSwithModulesLocalNameClash.xml#1 - - - This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. - This shouldn't appear in your aggregator, but probably does. (pre rss:description - RSS2.0 no NS localName clash) - - correct description - This is a extension module that is in a different namespace, but uses a localname from the RSS core spec. - This shouldn't appear in your aggregator, but probably does. (post rss:description - RSS2.0 no NS localName clash) - - 2002-09-28T20:01:19Z - 2002-09-28T20:01:19Z - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/doctype_contains_entity_decl.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/doctype_contains_entity_decl.xml deleted file mode 100755 index e235aa05d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/doctype_contains_entity_decl.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - -%HTMLlat1; -]> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_description.xml deleted file mode 100644 index 0c3dbd5e0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_description.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_link.xml deleted file mode 100644 index f9108d0a5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_title.xml deleted file mode 100644 index a50b97f5b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_channel_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example feed - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_description.xml deleted file mode 100644 index f94fd52c3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_description.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_link.xml deleted file mode 100644 index d9b4936ae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_link.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - http://example.com/1 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_rdf_about.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_rdf_about.xml deleted file mode 100755 index 87f2f4cb8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_rdf_about.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_title.xml deleted file mode 100644 index dafd789c1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rdf_item_title.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - Example title - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss090_channel_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss090_channel_title.xml deleted file mode 100644 index 64523bd2a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss090_channel_title.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -Example title - - -Item title - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss090_item_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss090_item_title.xml deleted file mode 100644 index e60292c05..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss090_item_title.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -Example title - - -Item title - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss_version_10.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss_version_10.xml deleted file mode 100644 index 50a10edf4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss_version_10.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss_version_10_not_default_ns.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss_version_10_not_default_ns.xml deleted file mode 100755 index e033013ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rdf/rss_version_10_not_default_ns.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/aaa_wellformed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/aaa_wellformed.xml deleted file mode 100644 index f272fda72..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/aaa_wellformed.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author.xml deleted file mode 100644 index 080689834..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email.xml deleted file mode 100644 index c704f274d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email_2.xml deleted file mode 100644 index c8568a1c0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me+spam@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email_3.xml deleted file mode 100644 index 810f10779..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_email_3.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -me@example.com (Example editor) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_name.xml deleted file mode 100644 index 2c4cd65b2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_name.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_name_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_name_2.xml deleted file mode 100644 index 6801a1fae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_author_map_author_detail_name_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -me@example.com (Example editor) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category.xml deleted file mode 100644 index eac720681..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example category - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_domain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_domain.xml deleted file mode 100644 index 5cc40cca0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_domain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example category - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_multiple.xml deleted file mode 100644 index 7fba55442..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_multiple.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -Example category 1 -Example category 2 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_multiple_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_multiple_2.xml deleted file mode 100644 index b2ae683ac..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_category_multiple_2.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -Example category 1 -Example category 2 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_domain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_domain.xml deleted file mode 100644 index 226006d18..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_domain.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_path.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_path.xml deleted file mode 100644 index 085b3487f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_path.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_port.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_port.xml deleted file mode 100644 index 976e08d1e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_port.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_protocol.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_protocol.xml deleted file mode 100644 index 4a5787a59..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_protocol.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_registerProcedure.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_registerProcedure.xml deleted file mode 100644 index 22bc94719..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_cloud_registerProcedure.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_copyright.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_copyright.xml deleted file mode 100644 index bc134f5bb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_copyright.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example copyright - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author.xml deleted file mode 100644 index 28882fb3a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author_map_author_detail_email.xml deleted file mode 100644 index 1085d10df..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author_map_author_detail_email.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author_map_author_detail_name.xml deleted file mode 100644 index 08324b40f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_author_map_author_detail_name.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_contributor.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_contributor.xml deleted file mode 100755 index f52c767e4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_contributor.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example contributor - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator.xml deleted file mode 100644 index b30f2e52d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml deleted file mode 100644 index e794a9160..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator_map_author_detail_email.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml deleted file mode 100644 index 6b02a3300..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_creator_map_author_detail_name.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher.xml deleted file mode 100644 index e6721f46b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher_email.xml deleted file mode 100755 index 2c2f97577..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher_email.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher_name.xml deleted file mode 100755 index d20e69700..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_publisher_name.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_rights.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_rights.xml deleted file mode 100644 index 6400e6923..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_rights.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example copyright - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject.xml deleted file mode 100644 index b38763ab5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example category - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject_2.xml deleted file mode 100644 index dbf5649f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example category - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject_multiple.xml deleted file mode 100644 index 4717ab88d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_subject_multiple.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -Example category 1 -Example category 2 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_title.xml deleted file mode 100644 index 06631be55..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_dc_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example title - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description.xml deleted file mode 100644 index ca2e6b303..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_escaped_markup.xml deleted file mode 100644 index 0a617cea2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_escaped_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<p>Example description</p> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_map_tagline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_map_tagline.xml deleted file mode 100644 index 37c7cf722..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_map_tagline.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_naked_markup.xml deleted file mode 100644 index 7ab566084..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_naked_markup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -

    Example description

    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_shorttag.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_shorttag.xml deleted file mode 100644 index 53c448f65..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_description_shorttag.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - -http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_docs.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_docs.xml deleted file mode 100644 index e94238781..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_docs.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -http://www.example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_generator.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_generator.xml deleted file mode 100644 index f35a3bdd9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_generator.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example generator - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_description.xml deleted file mode 100644 index 7032087ff..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_description.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Sample image -http://example.org/url -http://example.org/link -80 -15 -Available in Netscape RSS 0.91 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_height.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_height.xml deleted file mode 100644 index aa8414bed..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_height.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Sample image -http://example.org/url -http://example.org/link -80 -15 -Available in Netscape RSS 0.91 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_link.xml deleted file mode 100644 index d9a270b81..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_link.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Sample image -http://example.org/url -http://example.org/link -80 -15 -Available in Netscape RSS 0.91 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_link_conflict.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_link_conflict.xml deleted file mode 100644 index 0fb8ba945..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_link_conflict.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -http://channel.example.com/ - -http://image.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_title.xml deleted file mode 100644 index c3cdee6a6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_title.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Sample image -http://example.org/url -http://example.org/link -80 -15 -Available in Netscape RSS 0.91 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_title_conflict.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_title_conflict.xml deleted file mode 100644 index d2a67a4cb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_title_conflict.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -Real title - -textInput title - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_url.xml deleted file mode 100644 index f0aa4d330..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_url.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Sample image -http://example.org/url -http://example.org/link -80 -15 -Available in Netscape RSS 0.91 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_width.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_width.xml deleted file mode 100644 index 93cc59369..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_image_width.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Sample image -http://example.org/url -http://example.org/link -80 -15 -Available in Netscape RSS 0.91 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_link.xml deleted file mode 100644 index d7592db91..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -http://example.com/ - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor.xml deleted file mode 100644 index 7b10a7a33..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml deleted file mode 100644 index f49c8bf13..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor_map_author_detail_email.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml deleted file mode 100644 index c69247d9f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_managingEditor_map_author_detail_name.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_description.xml deleted file mode 100644 index d0eb4ee31..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_description.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - -Real title -Real description - -textInput title -textInput description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_description_conflict.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_description_conflict.xml deleted file mode 100644 index dedf07265..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_description_conflict.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -Real description - -textInput description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_link.xml deleted file mode 100644 index f5816a4f4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_link.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -http://channel.example.com/ - -http://textinput.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_link_conflict.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_link_conflict.xml deleted file mode 100644 index 390f3780b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_link_conflict.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -http://channel.example.com/ - -http://textinput.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_name.xml deleted file mode 100644 index cedf8526b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -textinput name - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_title.xml deleted file mode 100644 index ab423a8fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_title.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -Real title - -textInput title - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_title_conflict.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_title_conflict.xml deleted file mode 100644 index 8d2f47901..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_textInput_title_conflict.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -Real title - -textInput title - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title.xml deleted file mode 100644 index 9d1a17d11..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example feed - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_apos.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_apos.xml deleted file mode 100644 index f7eb6fe40..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_apos.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Mark's title - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_gt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_gt.xml deleted file mode 100644 index 5b5df5c13..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_gt.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -2 > 1 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_lt.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_lt.xml deleted file mode 100644 index b1ab027f0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_title_lt.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -1 < 2 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_ttl.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_ttl.xml deleted file mode 100644 index ec9783dd8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_ttl.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -60 - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster.xml deleted file mode 100644 index ecca525d0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster_email.xml deleted file mode 100755 index 5a861a14d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster_email.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster_name.xml deleted file mode 100755 index aff2c63af..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/channel_webMaster_name.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example editor (me@example.com) - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author.xml deleted file mode 100644 index 69b327574..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author_map_author_detail_email.xml deleted file mode 100644 index 46a72b0a5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author_map_author_detail_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author_map_author_detail_name.xml deleted file mode 100644 index f508ec31f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_author_map_author_detail_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category.xml deleted file mode 100644 index a250d2a21..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example category - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_domain.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_domain.xml deleted file mode 100644 index e408474cc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_domain.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example category - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_multiple.xml deleted file mode 100644 index cedb36205..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_multiple.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example category 1 -Example category 2 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_multiple_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_multiple_2.xml deleted file mode 100644 index 34b6ba699..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_category_multiple_2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example category 1 -Example category 2 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_comments.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_comments.xml deleted file mode 100644 index 75c006fb0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_comments.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded.xml deleted file mode 100644 index 12061c82a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded_mode.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded_mode.xml deleted file mode 100644 index e7438a7ec..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded_mode.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded_type.xml deleted file mode 100644 index 9d0de6484..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_content_encoded_type.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author.xml deleted file mode 100644 index fb580e292..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author_map_author_detail_email.xml deleted file mode 100644 index f05b26325..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author_map_author_detail_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author_map_author_detail_name.xml deleted file mode 100644 index e8e817803..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_author_map_author_detail_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_contributor.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_contributor.xml deleted file mode 100755 index a2592b104..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_contributor.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example contributor - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator.xml deleted file mode 100644 index 68b375c76..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator_map_author_detail_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator_map_author_detail_email.xml deleted file mode 100644 index a89e526ed..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator_map_author_detail_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator_map_author_detail_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator_map_author_detail_name.xml deleted file mode 100644 index 6c1c96343..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_creator_map_author_detail_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher.xml deleted file mode 100644 index 58000fbf3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher_email.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher_email.xml deleted file mode 100755 index 002ec4ffc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher_name.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher_name.xml deleted file mode 100755 index d2e624aa6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_publisher_name.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example editor (me@example.com) - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_rights.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_rights.xml deleted file mode 100644 index a9c1126fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_rights.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example copyright - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject.xml deleted file mode 100644 index 7769c963e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example category - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject_2.xml deleted file mode 100644 index 7f56abdaa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject_2.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example category - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject_multiple.xml deleted file mode 100644 index cc80de57a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_subject_multiple.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example category 1 -Example category 2 - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_title.xml deleted file mode 100644 index 18393af95..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_dc_title.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example title - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description.xml deleted file mode 100644 index ea06204f2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_and_summary.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_and_summary.xml deleted file mode 100755 index 9beb8ff54..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_and_summary.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example description -Example summary - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_br.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_br.xml deleted file mode 100755 index 64e38e292..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_br.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
    article byline

    text of article]]>
    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_br_shorttag.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_br_shorttag.xml deleted file mode 100755 index aa11391fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_br_shorttag.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://www.example.com/ -<b>x</b><br/> - - - diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_escaped_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_escaped_markup.xml deleted file mode 100644 index 2031c19c0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_escaped_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example description</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_map_summary.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_map_summary.xml deleted file mode 100644 index a1a2c324c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_map_summary.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Example description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_naked_markup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_naked_markup.xml deleted file mode 100644 index 8db0dfe38..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_naked_markup.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -

    Example description

    -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_not_a_doctype.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_not_a_doctype.xml deleted file mode 100755 index 1930555ca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_description_not_a_doctype.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<!' <a href="foo"> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_length.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_length.xml deleted file mode 100644 index 3dbd2a435..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_length.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_multiple.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_multiple.xml deleted file mode 100644 index 9ffce451c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_multiple.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - -http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_type.xml deleted file mode 100644 index eedee7376..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_type.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_url.xml deleted file mode 100644 index 52b8d25b9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_enclosure_url.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem.xml deleted file mode 100644 index d520e17c1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem_mode.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem_mode.xml deleted file mode 100644 index 5dfddddfb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem_mode.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem_type.xml deleted file mode 100644 index 02b84986d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_fullitem_type.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -<p>Example content</p> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid.xml deleted file mode 100644 index c3c186564..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_conflict_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_conflict_link.xml deleted file mode 100644 index ccb792cda..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_conflict_link.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://link.example.com/ -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_guidislink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_guidislink.xml deleted file mode 100755 index 57de39ea5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_guidislink.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml deleted file mode 100644 index fc358fd42..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_conflict_link.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://link.example.com/ -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml deleted file mode 100755 index 8e2e991db..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_conflict_link_not_guidislink.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://link.example.com/ -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_guidislink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_guidislink.xml deleted file mode 100755 index 65b65186d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_guidislink.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_map_link.xml deleted file mode 100644 index b06be1d95..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_isPermaLink_map_link.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_map_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_map_link.xml deleted file mode 100644 index 529823bd4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_map_link.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink.xml deleted file mode 100644 index c47e452f0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_conflict_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_conflict_link.xml deleted file mode 100644 index 04f02a5ac..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_conflict_link.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://link.example.com/ -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml deleted file mode 100755 index ff1ab044c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_not_guidislink.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml deleted file mode 100755 index 9359c57bb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_guid_not_permalink_not_guidislink_2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -http://link.example.com/ -http://guid.example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_link.xml deleted file mode 100644 index 95dcdd7f6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_link.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -http://example.com/ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_source.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_source.xml deleted file mode 100644 index 7fbf5343b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_source.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example source - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_source_url.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_source_url.xml deleted file mode 100644 index aea5202cb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_source_url.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example source - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_summary_and_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_summary_and_description.xml deleted file mode 100755 index 8158adb8f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_summary_and_description.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Example summary -Example description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_title.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_title.xml deleted file mode 100644 index 23872937c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_title.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Item 1 title - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body.xml deleted file mode 100644 index 967df361e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -

    Example content

    - -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body_mode.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body_mode.xml deleted file mode 100644 index 72251fb39..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body_mode.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -

    Example content

    - -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body_type.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body_type.xml deleted file mode 100644 index 33c8d75ba..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/item_xhtml_body_type.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -

    Example content

    - -
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_1.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_1.xml deleted file mode 100644 index e136e168d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_2.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_2.xml deleted file mode 100644 index 0a607b60c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_3.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_3.xml deleted file mode 100644 index 725165a85..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_3.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_4.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_4.xml deleted file mode 100644 index 1f9a93ad0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_namespace_4.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_090.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_090.xml deleted file mode 100644 index 72dbc2648..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_090.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_091_netscape.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_091_netscape.xml deleted file mode 100644 index 22d5d02e3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_091_netscape.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_091_userland.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_091_userland.xml deleted file mode 100644 index 3b0746c94..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_091_userland.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_092.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_092.xml deleted file mode 100644 index 77f729c7f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_092.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_093.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_093.xml deleted file mode 100644 index b6fd96237..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_093.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_094.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_094.xml deleted file mode 100644 index 32ec37c7d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_094.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_20.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_20.xml deleted file mode 100644 index 803dc48c2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_20.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_201.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_201.xml deleted file mode 100644 index 46464f625..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_201.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_21.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_21.xml deleted file mode 100644 index ba4629dd3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_21.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_missing.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_missing.xml deleted file mode 100644 index ba4638cfc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/rss/rss_version_missing.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -Example description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_applet.xml deleted file mode 100644 index fec04872e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_applet.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<applet code="foo.class" codebase="http://example.com/"></applet> <b>description</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_blink.xml deleted file mode 100644 index 0935fd57a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_blink.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<blink>safe</blink> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_crazy.xml deleted file mode 100644 index a026d7ae5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_crazy.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_embed.xml deleted file mode 100644 index 47bca116b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_embed.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<embed src="http://example.com/"> <b>description</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_frame.xml deleted file mode 100644 index 6295db025..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_frame.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> <b>description</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_iframe.xml deleted file mode 100644 index d6082f4bc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_iframe.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<iframe src="http://example.com/"> <b>description</b></iframe> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_link.xml deleted file mode 100644 index d5a5a2436..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> <b>description</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_meta.xml deleted file mode 100644 index 0ec8003db..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_meta.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> <b>description</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_object.xml deleted file mode 100644 index ea3ddde88..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_object.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> <b>description</b> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onabort.xml deleted file mode 100644 index 68be87324..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onabort.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onblur.xml deleted file mode 100644 index e5e787a31..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onblur.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onchange.xml deleted file mode 100644 index c1c6fc6b8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onchange.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onclick.xml deleted file mode 100644 index 79e804230..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onclick.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_ondblclick.xml deleted file mode 100644 index bf10846c4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_ondblclick.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onerror.xml deleted file mode 100644 index 6cf87b18c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onerror.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onfocus.xml deleted file mode 100644 index 2e3cd8ffb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onfocus.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeydown.xml deleted file mode 100644 index 4fbd45613..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeydown.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeypress.xml deleted file mode 100644 index cdc624907..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeypress.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeyup.xml deleted file mode 100644 index 16b61189a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onkeyup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onload.xml deleted file mode 100755 index 17bc822a5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onload.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmousedown.xml deleted file mode 100644 index 8edabb596..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmousedown.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseout.xml deleted file mode 100644 index ee9bb746b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseout.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseover.xml deleted file mode 100644 index a1a8d445f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseover.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseup.xml deleted file mode 100644 index 02d36e49d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onmouseup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onreset.xml deleted file mode 100644 index c6c87e8da..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onreset.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onresize.xml deleted file mode 100644 index 1deb7c892..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onresize.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onsubmit.xml deleted file mode 100644 index 7723229b9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onsubmit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onunload.xml deleted file mode 100644 index 41a11c775..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_onunload.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script.xml deleted file mode 100644 index 56b722823..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_base64.xml deleted file mode 100644 index e1ccf93be..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_base64.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -c2FmZTxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij5sb2NhdGlvbi5ocmVmPSdodHRwOi8n -KycvZXhhbXBsZS5jb20vJzs8L3NjcmlwdD4gZGVzY3JpcHRpb24= - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_cdata.xml deleted file mode 100644 index 3ff4989fe..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_cdata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -location.href='http:/'+'/example.com/'; description]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_inline.xml deleted file mode 100644 index 3f93fc610..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_script_inline.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    safe description
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_style.xml deleted file mode 100755 index b589acfc9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_content_style.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_applet.xml deleted file mode 100644 index 34b4917b2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_applet.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<applet code="foo.class" codebase="http://example.com/"></applet> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_blink.xml deleted file mode 100755 index ed7bbc339..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_blink.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<blink>safe</blink> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_crazy.xml deleted file mode 100644 index 4ce8a7fae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_crazy.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_embed.xml deleted file mode 100644 index b12470867..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_embed.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<embed src="http://example.com/"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_frame.xml deleted file mode 100644 index 990e79d13..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_frame.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_iframe.xml deleted file mode 100644 index 6531c4f34..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_iframe.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<iframe src="http://example.com/"> description</iframe> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_link.xml deleted file mode 100644 index cbba045b7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_meta.xml deleted file mode 100644 index e726c3028..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_meta.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_object.xml deleted file mode 100644 index b7cdd61d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_object.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onabort.xml deleted file mode 100644 index 680a472e6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onabort.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onblur.xml deleted file mode 100644 index f0cddd93c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onblur.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onchange.xml deleted file mode 100644 index 77558a6a1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onchange.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onclick.xml deleted file mode 100644 index 33711d531..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onclick.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_ondblclick.xml deleted file mode 100644 index d2b4f7e41..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_ondblclick.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onerror.xml deleted file mode 100644 index e04b45897..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onerror.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onfocus.xml deleted file mode 100644 index adb55713d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onfocus.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeydown.xml deleted file mode 100644 index 3fa1f8d00..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeydown.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeypress.xml deleted file mode 100644 index e0b024376..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeypress.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeyup.xml deleted file mode 100644 index abf7730be..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onkeyup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onload.xml deleted file mode 100755 index b819ea90f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onload.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmousedown.xml deleted file mode 100644 index c6b45455f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmousedown.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseout.xml deleted file mode 100644 index ac1706150..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseout.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseover.xml deleted file mode 100644 index 2d5037111..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseover.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseup.xml deleted file mode 100644 index 17a926c93..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onmouseup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onreset.xml deleted file mode 100644 index 6c323aaef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onreset.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onresize.xml deleted file mode 100644 index 39316cd09..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onresize.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onsubmit.xml deleted file mode 100644 index ac83d5e4e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onsubmit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onunload.xml deleted file mode 100644 index c2a110d2b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_onunload.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script.xml deleted file mode 100644 index e240d3a80..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_base64.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_base64.xml deleted file mode 100644 index 3b49fef17..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_base64.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -c2FmZTxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij5sb2NhdGlvbi5ocmVmPSdodHRwOi8n -KycvZXhhbXBsZS5jb20vJzs8L3NjcmlwdD4gZGVzY3JpcHRpb24= - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_cdata.xml deleted file mode 100644 index 9455deb00..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_cdata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -location.href='http:/'+'/example.com/'; description]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_inline.xml deleted file mode 100644 index da5fa82c6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_inline.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -
    safe description
    -
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_map_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_map_description.xml deleted file mode 100644 index ad8837ea6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_script_map_description.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_style.xml deleted file mode 100755 index 7a0ff25fa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_summary_style.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_applet.xml deleted file mode 100644 index 1bb5f3a47..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_applet.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<applet code="foo.class" codebase="http://www.example.com/"></applet> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_blink.xml deleted file mode 100755 index 6d211613d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_blink.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<blink>safe</blink> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_crazy.xml deleted file mode 100644 index d42758f02..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_crazy.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_embed.xml deleted file mode 100644 index 5fffe1a8f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_embed.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<embed src="http://www.example.com/"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_frame.xml deleted file mode 100644 index 5ba442c95..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_frame.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_iframe.xml deleted file mode 100644 index 109f82d0e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_iframe.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<iframe src="http://www.example.com/"></iframe> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_link.xml deleted file mode 100644 index 9cf64f78a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_meta.xml deleted file mode 100644 index 51103aad5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_meta.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_object.xml deleted file mode 100644 index b6afba7f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_object.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onabort.xml deleted file mode 100644 index 252ecaaa9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onabort.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onblur.xml deleted file mode 100644 index 6dc5656ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onblur.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onchange.xml deleted file mode 100644 index 379cbbec2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onchange.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onclick.xml deleted file mode 100644 index 1ca85a839..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onclick.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_ondblclick.xml deleted file mode 100644 index f4977e177..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_ondblclick.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onerror.xml deleted file mode 100644 index b33e21aef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onerror.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onfocus.xml deleted file mode 100644 index b4dc1ee80..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onfocus.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeydown.xml deleted file mode 100644 index 954468af4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeydown.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeypress.xml deleted file mode 100644 index 5e741db20..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeypress.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeyup.xml deleted file mode 100644 index 3fd611745..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onkeyup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onload.xml deleted file mode 100755 index fb99cf1c6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onload.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmousedown.xml deleted file mode 100644 index 9f7e9f09b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmousedown.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseout.xml deleted file mode 100644 index 753e46e28..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseout.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseover.xml deleted file mode 100644 index 4ad0c00f4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseover.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseup.xml deleted file mode 100644 index e4247d383..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onmouseup.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onreset.xml deleted file mode 100644 index 90bc857d5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onreset.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onresize.xml deleted file mode 100644 index 2f70f28f8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onresize.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onsubmit.xml deleted file mode 100644 index 009dda3e3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onsubmit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onunload.xml deleted file mode 100644 index 1f46fef68..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_onunload.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script.xml deleted file mode 100644 index 6b871caca..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script_cdata.xml deleted file mode 100644 index c987f8951..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script_cdata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<![CDATA[safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description]]> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script_inline.xml deleted file mode 100644 index d83c420af..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_script_inline.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<div xmlns="http://www.w3.org/1999/xhtml">safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description</div> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_style.xml deleted file mode 100755 index 36272ffdd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/entry_title_style.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_applet.xml deleted file mode 100644 index ab66eced5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_applet.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<applet code="foo.class" codebase="http://www.example.com/"></applet> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_blink.xml deleted file mode 100755 index 049293467..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_blink.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<blink>safe</blink> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_crazy.xml deleted file mode 100644 index 3fad40b36..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_crazy.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_embed.xml deleted file mode 100644 index ef9c4298d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_embed.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<embed src="http://www.example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_frame.xml deleted file mode 100644 index eaeba6f7b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_frame.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_iframe.xml deleted file mode 100644 index a2793df37..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_iframe.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<iframe src="http://www.example.com/"></iframe> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_link.xml deleted file mode 100644 index 0e75ab3b6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_meta.xml deleted file mode 100644 index 347649507..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_meta.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_object.xml deleted file mode 100644 index d3582099a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_object.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onabort.xml deleted file mode 100644 index 48c0163d6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onabort.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onblur.xml deleted file mode 100644 index 6bcdf4058..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onblur.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onchange.xml deleted file mode 100644 index c1d59f738..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onchange.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onclick.xml deleted file mode 100644 index 5a7eb0383..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_ondblclick.xml deleted file mode 100644 index a8005532d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_ondblclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onerror.xml deleted file mode 100644 index 388483bd3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onerror.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onfocus.xml deleted file mode 100644 index 0360d6fae..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onfocus.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeydown.xml deleted file mode 100644 index 8b4ad8e04..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeydown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeypress.xml deleted file mode 100644 index ac5819362..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeypress.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeyup.xml deleted file mode 100644 index c023996b8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onkeyup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onload.xml deleted file mode 100755 index b789efa6f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmousedown.xml deleted file mode 100644 index 380f1e94f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmousedown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseout.xml deleted file mode 100644 index 0d23572de..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseout.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseover.xml deleted file mode 100644 index 6bbc5bb61..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseover.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseup.xml deleted file mode 100644 index 0dd03151a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onmouseup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onreset.xml deleted file mode 100644 index 2cfa54ae4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onreset.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onresize.xml deleted file mode 100644 index 66877979c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onresize.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onsubmit.xml deleted file mode 100644 index 4315dc4dc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onsubmit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onunload.xml deleted file mode 100644 index 34a8e874a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_onunload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script.xml deleted file mode 100644 index 25023f744..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script_cdata.xml deleted file mode 100644 index b4f52b5aa..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script_cdata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -location.href='http:/'+'/example.com/'; description]]> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script_inline.xml deleted file mode 100644 index c04e19fe9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_script_inline.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    safe description
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_style.xml deleted file mode 100755 index c9960be61..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_copyright_style.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_applet.xml deleted file mode 100644 index 467517a62..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_applet.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<applet code="foo.class" codebase="http://example.com/"></applet> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_blink.xml deleted file mode 100755 index 8b645cb57..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_blink.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<blink>safe</blink> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_crazy.xml deleted file mode 100644 index 72886c313..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_crazy.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_embed.xml deleted file mode 100644 index 4298e944d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_embed.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<embed src="http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_frame.xml deleted file mode 100644 index 657592e8b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_frame.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_iframe.xml deleted file mode 100644 index d974dbf0d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_iframe.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<iframe src="http://example.com/"> description</iframe> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_link.xml deleted file mode 100644 index 688156395..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_meta.xml deleted file mode 100644 index 39db41bdd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_meta.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_object.xml deleted file mode 100644 index 878b2f1cc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_object.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onabort.xml deleted file mode 100644 index 63285c0dd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onabort.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onblur.xml deleted file mode 100644 index 26bba2825..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onblur.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onchange.xml deleted file mode 100644 index 3ef1ac3b3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onchange.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onclick.xml deleted file mode 100644 index 0858bd19a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_ondblclick.xml deleted file mode 100644 index 84f981e46..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_ondblclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onerror.xml deleted file mode 100644 index e5cdbe720..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onerror.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onfocus.xml deleted file mode 100644 index 7aaa00767..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onfocus.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeydown.xml deleted file mode 100644 index e4e4f85d8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeydown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeypress.xml deleted file mode 100644 index 2428f1fcd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeypress.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeyup.xml deleted file mode 100644 index 04b933c88..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onkeyup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onload.xml deleted file mode 100755 index 57afdd2d1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmousedown.xml deleted file mode 100644 index 2d6e0b382..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmousedown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseout.xml deleted file mode 100644 index ae43e3f44..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseout.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseover.xml deleted file mode 100644 index b458aa76e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseover.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseup.xml deleted file mode 100644 index 69738954b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onmouseup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onreset.xml deleted file mode 100644 index c7139358c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onreset.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onresize.xml deleted file mode 100644 index 4b7df3eec..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onresize.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onsubmit.xml deleted file mode 100644 index 3d3ac6f3e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onsubmit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onunload.xml deleted file mode 100644 index 9a276572f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_onunload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script.xml deleted file mode 100644 index f7fe6dc32..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script_cdata.xml deleted file mode 100644 index 33baa3669..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script_cdata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -location.href='http:/'+'/example.com/'; description]]> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script_inline.xml deleted file mode 100644 index 607c68298..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_script_inline.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    safe description
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_style.xml deleted file mode 100755 index c0fa48a76..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_info_style.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_applet.xml deleted file mode 100644 index f47151dd4..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_applet.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<applet code="foo.class" codebase="http://example.com/"></applet> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_blink.xml deleted file mode 100755 index f29c0d4d9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_blink.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<blink>safe</blink> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_crazy.xml deleted file mode 100644 index e6afc01e6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_crazy.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_embed.xml deleted file mode 100644 index 67cd19add..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_embed.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<embed src="http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_frame.xml deleted file mode 100644 index 028c77cc6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_frame.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_iframe.xml deleted file mode 100644 index 2ee776296..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_iframe.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<iframe src="http://example.com/"> description</iframe> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_link.xml deleted file mode 100644 index 10fa388bc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_meta.xml deleted file mode 100644 index c8bf60c3c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_meta.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_object.xml deleted file mode 100644 index 478090dfd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_object.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onabort.xml deleted file mode 100644 index 2113c65dd..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onabort.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onblur.xml deleted file mode 100644 index 396218e08..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onblur.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onchange.xml deleted file mode 100644 index d4563e336..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onchange.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onclick.xml deleted file mode 100644 index 594257333..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_ondblclick.xml deleted file mode 100644 index 34413b151..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_ondblclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onerror.xml deleted file mode 100644 index 970b98382..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onerror.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onfocus.xml deleted file mode 100644 index 9d26195a3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onfocus.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeydown.xml deleted file mode 100644 index ddc4a6e07..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeydown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeypress.xml deleted file mode 100644 index 9d078aac7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeypress.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeyup.xml deleted file mode 100644 index ed97d6b4f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onkeyup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onload.xml deleted file mode 100755 index ed23ff272..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmousedown.xml deleted file mode 100644 index 20f360aad..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmousedown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseout.xml deleted file mode 100644 index 27aa161a6..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseout.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseover.xml deleted file mode 100644 index 9f8e129b2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseover.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseup.xml deleted file mode 100644 index 2bafba274..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onmouseup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onreset.xml deleted file mode 100644 index 801c41118..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onreset.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onresize.xml deleted file mode 100644 index 92e02a3fc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onresize.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onsubmit.xml deleted file mode 100644 index cc6a40fc1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onsubmit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onunload.xml deleted file mode 100644 index ecee7ac17..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_onunload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script.xml deleted file mode 100644 index 4e26cc9cb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script_cdata.xml deleted file mode 100644 index 506d21fac..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script_cdata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -location.href='http:/'+'/example.com/'; description]]> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script_inline.xml deleted file mode 100644 index c67aaac9a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_script_inline.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    safe description
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_style.xml deleted file mode 100755 index 00592119a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_subtitle_style.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_applet.xml deleted file mode 100644 index 938549d90..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_applet.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<applet code="foo.class" codebase="http://example.com/"></applet> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_blink.xml deleted file mode 100755 index 3cab8f6d3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_blink.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<blink>safe</blink> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_crazy.xml deleted file mode 100644 index 8b09d09ac..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_crazy.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_embed.xml deleted file mode 100644 index 3b876f3bb..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_embed.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<embed src="http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_frame.xml deleted file mode 100644 index 92f17869a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_frame.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_iframe.xml deleted file mode 100644 index cf50af725..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_iframe.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<iframe src="http://example.com/"></iframe> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_link.xml deleted file mode 100644 index 15d00ba16..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_meta.xml deleted file mode 100644 index 838d9bd9f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_meta.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_object.xml deleted file mode 100644 index f2b8e306c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_object.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onabort.xml deleted file mode 100644 index 5a7b187c7..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onabort.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onblur.xml deleted file mode 100644 index 64eb1e5b3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onblur.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onchange.xml deleted file mode 100644 index ca0a0240b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onchange.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onclick.xml deleted file mode 100644 index 4ac0978ab..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_ondblclick.xml deleted file mode 100644 index 2d14258ba..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_ondblclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onerror.xml deleted file mode 100644 index df9e22c5f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onerror.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onfocus.xml deleted file mode 100644 index 0cc945943..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onfocus.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeydown.xml deleted file mode 100644 index 394dc7d2b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeydown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeypress.xml deleted file mode 100644 index ae0db063a..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeypress.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeyup.xml deleted file mode 100644 index a38fa534b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onkeyup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onload.xml deleted file mode 100755 index 9b886eeda..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmousedown.xml deleted file mode 100644 index 3c85b058c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmousedown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseout.xml deleted file mode 100644 index 717f84ad2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseout.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseover.xml deleted file mode 100644 index 3d95cb862..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseover.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseup.xml deleted file mode 100644 index 2e464cd07..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onmouseup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onreset.xml deleted file mode 100644 index e24f80c37..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onreset.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onresize.xml deleted file mode 100644 index 6831a1c6f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onresize.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onsubmit.xml deleted file mode 100644 index 8ac2c6b41..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onsubmit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onunload.xml deleted file mode 100644 index e54cda2c0..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_onunload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script.xml deleted file mode 100644 index 6cd283fce..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_cdata.xml deleted file mode 100644 index 6289fd5cc..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_cdata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -location.href='http:/'+'/example.com/'; description]]> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_inline.xml deleted file mode 100644 index 850a74355..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_inline.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -
    safe description
    -
    \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_map_description.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_map_description.xml deleted file mode 100644 index 7562a63ee..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_script_map_description.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_style.xml deleted file mode 100755 index 195c22602..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_tagline_style.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_applet.xml deleted file mode 100644 index b7c1d9269..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_applet.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<applet code="foo.class" codebase="http://example.com/"></applet> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_blink.xml deleted file mode 100755 index c4bbef8ef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_blink.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<blink>safe</blink> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_crazy.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_crazy.xml deleted file mode 100644 index ac59447ea..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_crazy.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Crazy HTML -- Can Your Regex Parse This?</title> - -</head> -<body notRealAttribute="value"onload="executeMe();"foo="bar" - -> -<!-- <script> --> - -<!-- - <script> ---> - -</script> - - -<script - - -> - -function executeMe() -{ - - - - -/* <script> -function am_i_javascript() -{ - var str = "Some innocuously commented out stuff"; -} -< /script> -*/ - - - - - - - - - - alert("Executed"); -} - - </script - - - -> -<h1>Did The Javascript Execute?</h1> -<div notRealAttribute="value -"onmouseover=" -executeMe(); -"foo="bar"> -I will execute here, too, if you mouse over me -</div> - -</body> - -</html> - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_embed.xml deleted file mode 100644 index 94f74adc2..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_embed.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<embed src="http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_frame.xml deleted file mode 100644 index 12bd9c522..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_frame.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<frameset rows="*"><frame src="http://example.com/"></frameset> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_iframe.xml deleted file mode 100644 index 5a1f666b8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_iframe.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<iframe src="http://example.com/"></iframe> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_link.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_link.xml deleted file mode 100644 index a6da8aa12..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_link.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<link rel="stylesheet" type="text/css" href="http://example.com/evil.css"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_meta.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_meta.xml deleted file mode 100644 index e548b7142..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_meta.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<meta http-equiv="Refresh" content="0; URL=http://example.com/"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_object.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_object.xml deleted file mode 100644 index 7e6bd1d1f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_object.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<object classid="clsid:C932BA85-4374-101B-A56C-00AA003668DC"> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onabort.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onabort.xml deleted file mode 100644 index 678abc072..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onabort.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onabort="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onblur.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onblur.xml deleted file mode 100644 index d1b6f07f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onblur.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onblur="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onchange.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onchange.xml deleted file mode 100644 index 331408376..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onchange.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onchange="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onclick.xml deleted file mode 100644 index d4f7be242..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_ondblclick.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_ondblclick.xml deleted file mode 100644 index 0256eb4da..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_ondblclick.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" ondblclick="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onerror.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onerror.xml deleted file mode 100644 index c44117918..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onerror.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onerror="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onfocus.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onfocus.xml deleted file mode 100644 index e7cba0bd9..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onfocus.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onfocus="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeydown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeydown.xml deleted file mode 100644 index 82da4fea8..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeydown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeydown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeypress.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeypress.xml deleted file mode 100644 index ef9a2ea62..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeypress.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeypress="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeyup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeyup.xml deleted file mode 100644 index bee8c968f..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onkeyup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onkeyup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onload.xml deleted file mode 100755 index 6a94b4c04..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmousedown.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmousedown.xml deleted file mode 100644 index f33ab6ebf..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmousedown.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmousedown="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseout.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseout.xml deleted file mode 100644 index d5e7cb84e..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseout.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseout="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseover.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseover.xml deleted file mode 100644 index cb2c61d84..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseover.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseover="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseup.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseup.xml deleted file mode 100644 index 075f1d768..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onmouseup.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onmouseup="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onreset.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onreset.xml deleted file mode 100644 index ba422cc7b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onreset.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onreset="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onresize.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onresize.xml deleted file mode 100644 index a6a5908d5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onresize.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onresize="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onsubmit.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onsubmit.xml deleted file mode 100644 index 3d425c37c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onsubmit.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onsubmit="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onunload.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onunload.xml deleted file mode 100644 index 9692b155b..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_onunload.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<img src="http://www.ragingplatypus.com/i/cam-full.jpg" onunload="location.href='http://www.ragingplatypus.com/';" /> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script.xml deleted file mode 100644 index eff9cbd5c..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script_cdata.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script_cdata.xml deleted file mode 100644 index 4865066f1..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script_cdata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<![CDATA[safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description]]> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script_inline.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script_inline.xml deleted file mode 100644 index 368ac0029..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_script_inline.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<div xmlns="http://www.w3.org/1999/xhtml">safe<script type="text/javascript">location.href='http:/'+'/example.com/';</script> description</div> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_style.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_style.xml deleted file mode 100755 index 36f124aef..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/feed_title_style.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -<a href="http://www.ragingplatypus.com/" style="display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;">never trust your upstream platypus</a> - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/index.php b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/index.php deleted file mode 100644 index 051e0122d..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/index.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2010-2021 Webkul IN -* @license https://store.webkul.com/license.html -*/ - -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/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_applet.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_applet.xml deleted file mode 100644 index 651070ff5..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_applet.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -safe description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_blink.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_blink.xml deleted file mode 100755 index 500b262b3..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_blink.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -safe description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_embed.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_embed.xml deleted file mode 100644 index dcf3b5f40..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_embed.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -safe description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_frame.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_frame.xml deleted file mode 100644 index 6c0bf0e94..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_frame.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -safe description - - - \ No newline at end of file diff --git a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_iframe.xml b/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_iframe.xml deleted file mode 100644 index 9e77f4d65..000000000 --- a/modules/blockrss/vendor/pear/xml_feed_parser/samples/feedparsertests/wellformed/sanitize/item_body_iframe.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -safe