* @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]; }

What are the benefits of worm composting?

  • A wormery not only produces top quality compost, but also generates concentrated liquid fertiliser. This can be used as a liquid feed for plants, just diluted with water for outdoor and indoor plants. With a wormery you do not need chemical fertilisers.
  • You can run a wormery whatever the size of your garden.
  • Wormeries are clean and odourless due to the rapid digestion process.
  • They are flexible in use since they can be purchased in a range of sizes to suit your needs.
  • Because it is so rich, normally the worm compost is mixed with other materials and can consequently can be used in many different ways in the garden or special containers.

For example you can:

  • Mix it with other ingredients to make your own potting compost.
  • Use it in the ground, in planting holes for flowers, shrubs etc.
  • Mix it with other compost, in hanging baskets, tubs and pots in your garden, on the patio, in your front or back porch, in window boxes etc.
  • Mix it with other compost for potting indoor plants.

Add comment

Security code