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

Everyday watering tips

When you are watering your plants there are many things you can do to make better use of water in your garden:

  1. Use a watering can instead of a hose.
  2. If you do use a hose, use a trigger to control the flow.
  3. Avoid using a watering can, except on young seedlings, as much of the water does not reach the roots where it is needed.
  4. Watering early in the morning or late at night means water does not evaporate in the heat of the day before it can reach the roots.
  5. Leave plants and shrubs dry until they show signs of wilting. Watering too often can keep roots shallow and weaken plants.
  6. Weed regularly to make sure that watering helps plants and not weeds.
  7. Prioritise young plants and seedlings; more established plants will survive longer periods without water.

Saving water while keeping your lawn healthy

Lawns are usually the thirstiest part of a garden. A sprinkler can use as much water in an hour as a family of four uses in a day. There are easy steps you can take to reduce the amount of water your lawn needs:

  • Let the grass grow longer in dry spells to help keep moisture in the soil.
  • Infrequent soaks will be more effective than frequent sprinkling as they will encourage roots to search for water deeper in the ground.
  • Even if your lawn goes brown in dry weather it does not mean it has died. It will usually recover when the rain returns.
  • If you are redoing your lawn, choose grass varieties that are better suited to dry conditions, like fescue grass or smooth stalked meadow grass.

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

Add comment

Security code