||include||na_head.htm|| ||define||sw_onload||spam_onload();|| ||define||sw_menu||true|| ||include||na_pgstart.htm|| ||if(equal(friend_mode,(disabled)))||
Friends system is currently disabled. It is strongly recommended to at least use of the Friends "Safe Sender Whitelist" when using surgeweb. In addition the actions below can be enabled for unknown senders.
||endif|| #
((Surgeweb unknown1.htm user.cgi template))
||include||sw_fmenu.htm|| # All required friends and spam fields, any commented out here will be explicitly defined as inputs later on the page instead # # ||include||na_reqd.htm|| ||include||na_wpage.htm|| # show invalid global default in users ui as disabled ||ifequal||spam_userconfig||true|| ||ifnequal||allow_spam||true|| # Chrisp added the next two, no idea why this is needed, I can't see why it disables # this on the screen in this way.. ||ifequal||friend_mode||smite|| ||ifndef||user_isadmin|| ||ifndef||user_isdomadmin|| ||define||friend_mode||disabled|| ||endif|| ||endif|| ||endif|| ||endif|| ||endif|| # if spam settings are enables both are saved at the same time in the cmd_user_spam_save command, else cmd_user_spam_save not available so must use cmd_user_friends_save ||iftrue(allow_spam)||    ||else||    ||endif||   * $$The 'Pending Mail' folder is also called the 'Spam' or 'Friends Pending' folder.$$
||ifequal||friend_mode||disabled|| ||else|| Advanced Settings ||ifequal||friend_temp_status||notblocking|| ||else|| ||endif|| ||ifequal||g_spam_lang||true||   ||endif||
Raw user.cgi settings (directly editable via advanced settings):
# Special surgeweb fields (only required for display of spam page) ||include||na_pgend.htm||