* @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 kitchen caddy

Food Caddy - Kitchen caddiesKitchen caddies are an important part of food recycling, and are designed for the collection of food waste. Once full the contents can be transferred into a home composter or into a kerbside caddy.

If you use compostable liners with your food caddy they will help you easily take your food waste to your compost bin. Equally you can just deposit the content of your food caddy into a compost bin.

Won't the caddy smell with food in it?

Food caddies with air vents are specially designed to allow water to evaporate which will minimise smells. However we recommend that you empty your caddy once or twice a week and be kept away from radiators and other heating elements to reduce any unpleasant odours. In addition your caddy can be washed by hand or cleaned in the dishwasher. If you do not like the idea of washing up you can use biodegradable liners.

If you would like to share your own tips or you have questions regarding Food Caddies please feel free to post a comment below.

Dim lights Embed Embed this video on your site

Add comment


Security code
Refresh