__section__
default
__description__
A template with logic to return the various messages in users.pl, used
by the subroutine getMessages in users.pl

* value = the name of the data element to retrieve

Each data element may have any number of other variables.
__title__

__page__
users
__lang__
en_US
__name__
messages
__template__
[% SWITCH value %]

[% CASE 'note' %]
[% FOREACH n = note %]
<h2>[% n %]</h2>
[% END %]

[% CASE 'user_header' %]
	[%- IF useredit.nonuid != 1 -%]
	[% useredit.nickname | strip_notags %] - [% constants.sitename %] User
	[%- ELSIF fieldkey == 'ipid' -%]
	[% useredit.ipid_vis %] - [% constants.sitename %] IPID
	[%- ELSIF fieldkey == 'subnetid' -%]
	[% useredit.subnetid_vis %] - [% constants.sitename %] SubnetID
	[%- ELSIF fieldkey == 'srcid' -%]
	[% useredit.srcid %] - [% constants.sitename %] SRCID
	[%- ELSE -%]
	[% useredit.md5id_vis %] - [% constants.sitename %] md5ID
	[%- END -%]

[% CASE 'userclose' %]
	you are now logged out.

[% CASE 'newuser_msg' %]
	[% PROCESS titlebar title=title width="100%" %]
	<b>email</b>=[% form.email | strip_literal %]<br>
	<b>user id</b>=[% uid %]<br>
	<b>nick</b>=[% form.newusernick %]<br>
	<b>passwd</b>=mailed to [% form.email | strip_literal %]<br>
	[% IF suadmin_flag %]
		<p>Now you can edit the newly created user  
		<a href="[% gSkin.rootdir %]/users.pl?op=userinfo&amp;userfield=[% uid %]">
		[% form.newusernick %], UID [% uid %]</a></p>
	[% ELSE %]
	<p>Once you receive your password, you can
	<a href="[% gSkin.rootdir %]/login.pl">log in and set your account up.</a>
	[% END %]

[% CASE 'reset_acct_msg' %]
This message has been sent to to verify your registration and the associated email address.

Your password has been set to: [% newpasswd %].  Go to the URL below to log in:

<[% gSkin.absolutedir %]/index.pl?op=userlogin&upasswd=[% newpasswd %]&unickname=[% tempnick | fixparam %]&returnto=%2Flogin.pl%3Fop=changeprefs>

Make sure you then CHANGE YOUR PASSWORD!

We apologize for any inconvenience this may have caused.  If you have any problems
with or suggestions for improving this procedure feel free to email the 
administrator ([% constants.adminmail %]).

[% CASE 'mailpasswd_msg' %]

Your new password is [% newpasswd %].  Your old password will still work until
this password is used.  Go to the URL below to log in:

<[% gSkin.absolutedir %]/index.pl?op=userlogin&upasswd=[% newpasswd %]&unickname=[% tempnick | fixparam %]&returnto=%2Flogin.pl%3Fop=changeprefs>

Make sure you then CHANGE YOUR PASSWORD!

If you have received this message without having requested it, it is
because someone attempted to use your username or e-mail address.  It
was mostly likely an innocent mistake, and they are not getting your
password, so you can safely disregard this message.

Thanks.

In case you get multiple emails you didn't request, the requester's IP
was [% remote_ip %].[% IF user_agent %]  Its User-Agent was
"[% user_agent %]"
(not that you should trust that value, but it might be interesting).[% END %]
[% IF x_forwarded_for %]In case that's a properly-configured proxy,
the value of its X-Forwarded-For header was "[% x_forwarded_for %]" --
but don't trust that value unless you know a reason to (we don't).[% END %]

[% CASE 'userinfo_msg' %]

<p>This is <b>your</b> User Info page.  There are thousands more, but
this one is yours.  You most likely are not so interested in yourself,
and probably would be more interested in the Preferences links you see
up top there, where you can customize [% constants.sitename %],
change your password, or just click pretty widgets to kill time.

[% CASE 'tilded_criteria_msg' %]
	<p>[% constants.sitename %] posts stories into topical groups
	we call Sections. Many of these sections include extra content
	not normally displayed when you visit [% constants.sitename %].
	Here is where you can choose to ignore subjects you have no
	interest in, or to include all that extra sectional content
	right alongside the rest of our stories.<p>

[% CASE 'tilded_customize_msg' %]
	<table width="100%" bgcolor="[% user.colors.bg_2 %]" border="0"><tr><td>
	<p><p>You can choose at most [% constants.slashboxes_maxnum %] boxes.
	<br>If you choose 
	'<b>User Space</b>' above, the contents of this box will be inside:
	<br><textarea name="mylinks" rows=8 cols="40" wrap="VIRTUAL">[% userspace | strip_literal %]</textarea>

[% CASE 'tilded_box_msg' %]
	<p>If you find a problem, or have a reasonable suggestion
	for new RSS feeds, please contact
	<a href="mailto:[% constants.adminmail | strip_attribute %]">[% constants.siteadmin_name %]</a>.

	<p></td></tr></table>

[% CASE 'saveuser_email_msg' %]
The user account [% nickname | strip_literal %] on [% constants.sitename %] had this email associated
with it.  A web user from [% env.remote_addr %] has just changed it to
[% realemail | strip_literal %].

If this is not correct, if you did not request this change,
please contact the site administrator immediately.

	[% constants.siteadmin_name %]
	[% constants.adminmail %]

[% CASE 'saveuseradmin_saveduser' %]
	Saved [% field %] [% id %] user settings

[% CASE 'saveuseradmin_authorchg' %]
	<p>Since you changed the author status of this user, you will probably
	want to rebuild the authors cache at your earliest convenience. To do
	so, run this at the command line: <tt>[% basedir %]/bin/runtask -u
	[% virtuser %] refresh_authors_cache</tt> and then restart your
	webserver.</p>

[% CASE 'reset_acct_complete' %]
	[% IF useredit.uid %]
	<p>The account for user [% useredit.nickname | strip_literal %] has been reset.  The password
	has been changed and an e-mail has been sent with the new password to verify
	the e-mail account associated with this account. 
	[% ELSE %]
	<p><b>Error:</b> Non-existent UID given.  Account could not be reset.
	[% END %]

[% CASE 'dispform_new_msg_1' %]
	If your registration attempt is failing, it is most likely because
	you tried to register with a <b>duplicate nickname</b>, a <b>duplicate
	email address</b>, or an <b>invalid email</b>.  You can try another below,
	or use the form on the left to either log in, or retrieve your forgotten password.

[% CASE 'newuserform_msg' %]
	Don't have an account yet? <a href="[% env.script_name %]?op=newuserform">How about creating one?</a>

[% CASE 'dispform_new_msg_2' %]
	What? You don't have an account yet?  Well, enter your preferred
	<b>nick</b> name here:

[% CASE 'mailpasswd_mailed_msg' %]
	<p>The password for [% name %] was just emailed.<br>

[% CASE 'savenickname_msg' %]
	<p>Saving [% nickname.substr(0,20) | strip_literal %].<br>

[% CASE 'changeemail_msg' %]
	Notifying [% realemail | strip_literal %] of the change to their account.<br>
	E-mail address changed and re-registration information sent to:
	[% form.realemail | strip_literal %]<br>

[% CASE 'saveuser_passchanged_msg' %]
	Password changed for [% nick %], UID [% uid %].<br>

[% CASE 'savemiscopts_msg' %]
	<p>Option(s) changed.<br>

[% CASE 'savetags_msg' %]
	<p>Tag options saved.<br>

[% CASE 'no_registration_needed' %]
	<p>Hello, [% user.nickname | strip_literal %]. Your account is currently registered with
	the system. No re-registration is necessary at this time.<br>

[% CASE DEFAULT %]
	-- MISSING USER MESSAGE SEGMENT -- [[% value %]] block not found.<br>

[% END %]
__seclev__
10000
__version__
$Id: messages;users;default,v 1.38 2006/03/08 17:36:07 jamiemccarthy Exp $
