__section__
default
__description__
Template which contains most if not all of the error messages
generated by the "comments" script.

* type = the name of the data element to retrieve

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

__page__
misc
__lang__
en_US
__name__
formkeyErrors
__template__
[% IF ! no_error_comment %]
<!-- Error type: [% type %] -->
[% END %]

[% USE Slash %]
[% SWITCH value %]

[% CASE "usedform" %]
[% PROCESS titlebar width="95%" title="Form Error!" %]
[% IF interval %]
This form has been used already [% interval %] ago.
You can not use a form and hit the back button to use it again.
[% ELSE %]
There was an error in your submission; please get a new form
and try again.
[% END %]

[% CASE "invalid" %]
[% PROCESS titlebar width="95%" title="Invalid form key!" %]
<BR><P><B>Invalid form key: [% formkey %] !</B></P>
 
[% CASE "users_maxreads" %]
[% PROCESS titlebar width="95%" title="Maximum Users Viewings Exceeded!" %]
<BR><P><B>You've reached the maximum number of times you can access users.pl: [% limit %] accesses over [% interval %].
</B></P>

[%# Why can't these all just be genericized?  this is supposed to
  # be easy to use. I shouldn't have to create a new entry for
  # every single form that uses formkeys.  %]

[% CASE "comments_maxposts" %]
[% PROCESS titlebar width="95%" title="Maximum Comments Exceeded!" %]
<BR><P><B>You've reached your maximum number of comments you can post: [% limit %] comments over [% interval %].
</B></P>

[% CASE "discussions_maxposts" %]
[% PROCESS titlebar width="95%" title="Maximum Discussions Exceeded!" %]
<BR><P><B>You've reached your maximum number of discussions you can submit: [% limit %] discussions over [% interval %].
</B></P>

[% CASE "submissions_maxposts" %]
[% PROCESS titlebar width="95%" title="Maximum Submissions Exceeded!" %]
<BR><P><B>You've reached your maximum number of submissions you can post: [% limit %] submissions over [% interval %].
The authors can only read so many submissions in a day!
</B></P>

[% CASE "users_maxposts" %]
[% PROCESS titlebar width="95%" title="Maximum User Changes Exceeded!" %]
<BR><P><B>You've reached your maximum number of user settings you can perform: [% limit %] user modifications over [% interval %].
</B></P>

[% CASE "comments_response" %]
[% PROCESS titlebar width="95%" title="Slow Down Cowboy!" %]
<P>[% constants.sitename %] requires you to wait [% limit %] between
hitting 'reply' and submitting a comment.</P>
<P>It's been [% interval %] since you hit 'reply'!</P>

[% CASE "comments_unused" %]
[% PROCESS titlebar width="95%" title="Post or Not?" %]
You have hit reply without submitting [% limit %] times, which 
the system doesn't permit. Either submit the form, or don't.

[% CASE "users_unused" %]
[% PROCESS titlebar width="95%" title="Post or Not?" %]
You have pulled up a user modification form without submitting [% limit %] times, which 
the system doesn't permit. Either submit the form, or don't.

[% CASE "submissions_unused" %]
[% PROCESS titlebar width="95%" title="Post or Not?" %]
You have brought up the submission form without submitting [% limit %] times, which 
the system doesn't permit. Either submit your submission, or don't.

[% CASE "discussions_unused" %]
[% PROCESS titlebar width="95%" title="Post or Not?" %]
You have brought up the discussions form without submitting [% limit %] times, which 
the system doesn't permit. Either submit your discussion, or don't.

[% CASE "comments_speed" %]
[% PROCESS titlebar width="95%" title="Slow Down Cowboy!" %]
<P>[% constants.sitename %] requires you to wait [% limit %] between
each [% IF attempt %] attempt to reply to [% ELSE %] successful posting of [% END %]
 a comment to allow everyone a fair chance at posting a comment.</P>
	[% IF interval %]
<P>It's been [% interval %] since you last [% IF attempt %] tried to reply to 
[% ELSE %] successfully posted [% END %] a comment</P>
	[% END %]

[% CASE "submissions_speed" %]
[% PROCESS titlebar width="95%" title="Slow Down Cowboy!" %]
<P>[% constants.sitename %] requires you to wait [% limit %] between
each [% IF attempt %] attempt to post [% ELSE %] successful posting of [% END %]
 a submission to allow everyone a fair chance
, and the authors a fair chance at reviewing your
submission!</P>
	[% IF interval %]
<P>It's been [% interval %] since you last [% IF attempt %] loaded the form to post 
[% ELSE %] successfully posted [% END %] a submission</P>
	[% END %]

[% CASE "discussions_speed" %]
[% PROCESS titlebar width="95%" title="Slow Down Cowboy!" %]
<P>[% constants.sitename %] requires you to wait [% limit %] between
each [% IF attempt %] attempt to create [% ELSE %] successful creation of [% END %]
 a discussion .</P>
	[% IF interval %]
<P>It's been [% interval %] since you last [% IF attempt %] tried to create 
[% ELSE %] successfully created [% END %] a discussion</P>
	[% END %]

[% CASE "users_speed" %]
[% PROCESS titlebar width="95%" title="Slow Down Cowboy!" %]
<P>[% constants.sitename %] requires you to wait [% limit %] between
each change of user settings.</P>
	[% IF interval %]
<P>It's been [% interval %] since you [% IF attempt %] last loaded a form to change [% ELSE %]
last changed [% END %] a user setting</P>
	[% END %]

[% CASE "formabuse_invalid" %]
invalid formkey [% formname %] [% formkey %] 

[% CASE "formabuse_usedform" %]
form [% formname %] [% formkey %] already submitted 

[% CASE "journal_speed" %]
You need to wait [% limit %] between posts.

[% CASE "journal_unused" %]
You have accessed the journal entry form [% limit %] times, which the system
doesn't permit. Please submit the form.

[% CASE "journal_maxposts" %]
You can only post [% limit %] posts per [% interval %].

[% CASE %]
An unexpected error has occured.<BR><B>[% value %]</B><BR>
[% END %]

<P>If you this error seems to be incorrect, please provide the following in your report to
<A HREF="http://sf.net/tracker/?func=add&amp;group_id=4421&amp;atid=104421&amp;category_id=354712">SourceForge.net</A>:
<UL>
	<LI>Browser type</LI>
	<LI>User ID/Nickname or AC</LI>
	<LI>What steps caused this error</LI>
	<LI>Whether or not you know your ISP to be using a proxy or some sort of service that gives you an IP that others 
	are using simultaneously.</LI>
	<LI>How many posts to this form you successfully submitted during the day</LI>
</UL>
<B>* Please choose 'formkeys' for the category!</B><BR>
Thank you.

__seclev__
1000
