*
* Functions to make working with address books easier
*
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright 1999-2011 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
}
}
+ function CheckAll(ch) {
+ var chkObj = "";
+ for (var i = 0; i < document.addressbook.elements.length; i++) {
+ chkObj = document.addressbook.elements[i];
+ if (chkObj.type == "checkbox" && chkObj.name.substr(0,16) == "send_to_search[" + ch) {
+ chkObj.checked = !(chkObj.checked);
+ }
+ }
+ }
+
// --></script>
<?php
} /* End of included JavaScript */