} ajaxObj.open("GET","<?php echo CATSUtility::getIndexName(); ?>?m=settings&a=downloads&sendDevEmail=true",true); ajaxObj.send(null); } </script> <?php if (isset($_GET['sendDevEmail']) && !strcmp($_GET['sendDevEmail'], 'true') && file_exists('modules/asp') && $_SESSION['CATS'] && $_SESSION['CATS']->isLoggedIn()) { if (isset($_COOKIE['CATS_firefoxToolbar']) && !strcmp($_COOKIE['CATS_firefoxToolbar'], 'true')) exit(0); include_once('./modules/asp/lib/ASPUtility.php'); ASPUtility::sendDevEmail( 'Firefox Download', sprintf( 'User(<b>%s</b>) @ Site(<b>%s</b>) has clicked to download the Firefox toolbar.', ucwords($_SESSION['CATS']->getUsername()), ucwords($_SESSION['CATS']->getSiteName()) ) ); // Set a cookie so we don't get multiple e-mails from the same computer setcookie('CATS_firefoxToolbar', 'true', time()+(60*60*24*7*15), null, null, null, null); exit(0); } // End Move to Asp Hook ----------------------------------> ?> <table width="100%"> <tr> <td width="100%"> <p class="noteUnsized">Additional tools to enhance your productivity.</p> <table class="searchTable" width="100%">