-// Option: media_allbox
-echo html_tag( 'tr' ) .
- html_tag( 'td', _("Check all boxes, not just INBOX").':', 'right', '', 'style="white-space: nowrap;"' ) .
- html_tag( 'td', '', 'left' ) .
- '<input type="checkbox" ';
-if ($newmail_allbox == 'on') {
- echo 'checked="checked" ';
-}
-echo 'name="media_allbox" /></td></tr>' . "\n";
+/* newmail_unseen_notify */
+$newmail_unseen_opts = array( 0 => _("Follow folder preferences"),
+ SMPREF_UNSEEN_INBOX => _("INBOX"),
+ SMPREF_UNSEEN_ALL => _("All folders"),
+ SMPREF_UNSEEN_SPECIAL => _("Special folders"),
+ SMPREF_UNSEEN_NORMAL => _("Regular folders"));
+echo html_tag('tr',
+ html_tag('td',_("Check for new messages in:"),'right', '', 'style="white-space: nowrap;"').
+ html_tag('td',addSelect('newmail_unseen_notify',$newmail_unseen_opts,$newmail_unseen_notify,true),'left')
+ );