||header: modified=false tpl_set=cwm_o2 tpl_version=2.7a||
<html>

<head><script language="JavaScript">
<!---
function do_copy(sel){
 var i;
 for (i=0; i<sel.options.length; i++)
   if (sel.options[i].selected==true)
     document.childform.child_edit.value
      = sel.options[i].value;
    document.childform.submit();
}

function check_duplicates(){
	var accept = document.childform.ch_accept_from.value;
	var reject = document.childform.ch_reject_from.value;
	var string, lastindex;

	lastindex = accept.indexOf('\n', 0);
	string = accept.substring(0, lastindex - 1);
	i=0;
	while (lastindex >= 0){
		i++;
		if(reject.indexOf(string, 0) >= 0){
			alert("The address \"" + string + "\" is contained in both the accept and reject lists.\nThe reject list will override the accept list.");
		}
		string = accept.substring(lastindex+1, (lastindex = accept.indexOf('\n', lastindex+1)) - 1);
	}
}
// -->
</script>

<title>Control settings for child's email account</title>
</head>

<body background="||nwimg||/cwback.jpg" onload="check_duplicates();">
<form name="childform" method="POST" action="||b_action||">
  <input type="hidden" name="utoken" value="||utoken||">
  <input type="hidden" name="fld" value="||fld||">
  <input type="hidden" name="cmd" value="child_load">
||include||confmenu.tpl||
<table><tr>
<td colspan="2">Child email address: 
 <input type="text" size="20" name="child_edit" value="||child_edit||">
 <select size="1" name="child_pick" onchange="do_copy(this)">
        <option>||child_pick||</option>
      </select>
 Password: 
<input type="text" name="child_pass" size="20" value="||child_pass||">
</td></tr>
<tr>
  <td><input type="submit" name="child_save" value="Save">
  <input type="submit" name="child_load" value="Load">
  <input type="submit" name="child_release" value="Release">
  <p>If your child receives email from someone not on
      their accept or reject lists then it is forwarded to you. They do not see it. You can then
      either press the accept or reject buttons which will appear on the forwarded email. Accept
      will add the sender to their accept list and return it to them. Reject will add the sender
      to their reject list and delete the message.</p>
   <p>The accept and reject lists contain one email address per line.</p>
   <p>The release button releases the selected child from parental email control and removes the child from the list of chilren. To later reintroduce control the childs current password will be required.</p>
      <br>
  <input type="submit" name="child_save" value="Save"> 
 <input type="submit" name="child_load" value="Load">
   <input type="submit" name="child_release" value="Release">
    </td>
      <td>Accept email from:<textarea name="ch_accept_from" rows="5" cols="30">||ch_accept_from||</textarea>
      <p>Reject emails from:<textarea name="ch_reject_from" rows="5" cols="30">||ch_reject_from||</textarea></td>
    </tr>
  </table>
</form>
</body>
</html>


































































||checksum=591466||
