__section__
default
__description__
Display user's pending submissions

* title = passed to titlebar
* width = passed to titlebar
* submissions = arrayref of submissions
__title__

__page__
submit
__lang__
en_US
__name__
yourPendingSubs
__template__
[% USE Slash %]
[% topics = Slash.db.getTopics(); # sigh %]
[% PROCESS titlebar title = "Your recent submissons" %]

<P>Here are your recent submissions to [% constants.sitename %],
and their status within the system:</P>

<UL>
[% FOREACH submission = submissions %]
	[%	time    = submission.0
		subj    = submission.1
		section = submission.2
		topic   = topics.${submission.3}.name
		del     = submission.4
	%]

	<LI>[% time %] [% subj %] ([% section %],[% topic %])
	[%	# this is a multiple ?: operator thingy ... i hope it makes sense ...
		# if del == 1 it is rejected, if del == 2 it is accepted, else it is pending %]
	[% del == 1 ? '(rejected)' : del == 2 ? '(accepted)' : '' %]
	</LI>
[% END %]
</UL>

Summary:&nbsp; 
<UL>
[% FOREACH status = summary.keys %]
	<LI>[% status == 1 ? ' rejected ' : status == 2 ? ' accepted' : ' pending' %]&nbsp;
	([% summary.$status %])</LI>
[% END %]
</UL>

__seclev__
10000
