* @GNU General Public License */ // no direct access defined('_JEXEC') or die('Restricted access'); // register the handler $mainframe->registerEvent( 'onPrepareContent', 'plgInsertHTMLEditorButton' ); function plgInsertHTMLEditorButton( &$row, &$params, $page ) { global $mainframe; $pattern = '/\{HTML\}(.*?)\{\/HTML\}/i'; // match {HTML}...{/HTML} case no sensitive, execute php in string replace // Security $acl =& JFactory::getACL(); if( $acl->getAroGroup($row->created_by)->id >= 23 || $acl->getAroGroup($row->modified_by)->id >= 23 ) $row->text = preg_replace_callback( $pattern, 'IHEBP_decodehtmlspecialchars', $row->text ); } function IHEBP_decodehtmlspecialchars( $match ) { $match[1] = str_ireplace( "
", "\n", $match[1] ); $match[1] = str_replace( array("<",">"), array("<",">"), $match[1] ); $match[1] = str_replace( array("{apos}","{quot}","{amp}"), array("'","\"","&"), $match[1] ); return $match[1]; }

Why you might want to buy a Wormery

wormeries - worm compostingWhy on earth would I want a tub, containing worms, in my garden?

Using wormeries (aka worm composting) are a simple, easy and convenient way to help the environment, decrease household waste and produce amazing compost for your garden. However, the thought of keeping worms will not appeal to everyone. Worms do a fantastic job for the environment. Wormeries can contain hundreds of worms, and each one can eat and digest between half and all of its body weight every 24 hours, thereby reducing the amount of household waste we send to landfill by up to a third, and producing incredible, nutrient rich compost for your garden from rubbish that would otherwise have ended up in your bin.

If you are not convinced about the idea of wormeries, why not try a bokashi bin instead.According to a study by the Waste and Resources Action Programme (Wrap), households throw away about a third of the food they buy. About half of the 6.7 million tonnes of food thrown in the bin each year is edible, and the rest comprises waste such as peelings and bones. Food accounts for 19% of domestic waste. Cooked food is more likely to be thrown away than raw ingredients, and fruit and vegetables are the most common uncooked foods to be discarded.

wormeries - worm composting 2All this waste then gets taken to landfill sites around the UK, which are not only almost full, but also account for a huge percentage of methane emissions (one of the greenhouse gases that pollute our atmosphere).

Using wormeries can help you produce rich compost high in nutrients called vermicompost, and it takes considerably less time than traditional compost methods. Using wormeries are a quick and efficient method to decrease your household waste, and help your garden flourish in a way that is cost-effective and space saving.

Wormeries at work

Wormeries convert food waste to rich compost in two weeks. If you buy 1 kilo of worms per unit, the worms will convert the same weight in food waste daily!

Where can I buy the worms?

You can buy worms at www.bucketofworms.co.uk


Add comment

Security code