__section__ default __description__ Display user's info * title = passed to titlebar * nick = nickname * useredit = hashref of info of the user being viewed * points = available moderation points * commentstruct = arrayref of comments * nickmatch_flag = current user is same as viewed user * mod_flag = is moderator * karma_flag = boolean for display karma * admin_block = admin stuff * admin_flag = boolean for whether to display admin stuff __title__ __page__ users __lang__ en_US __name__ userInfo __template__ [% USE Slash %] [% PROCESS titlebar width="95%" %] [% IF form.formkey %] [% END %] [% IF nickmatch_flag %]
This is your 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. [% IF mod_flag %]
You're a moderator with [% points %] points[% IF points && lastgranted %] (expire after [% lastgranted %])[% END %]. Please read the
Moderator Guidelines
before you do any moderation.
[% END %] [% IF ! useredit.registered %]
This account is currently expired. Please re-register at your earliest opportunity.
[% END %]
[% IF useredit.homepage %]
[% useredit.homepage | strip_literal %]
[% END; IF useredit.fakeemail %]
[% useredit.fakeemail | strip_literal %]
[% END; IF useredit.journal_last_entry_date.search('[1-9]') %]
Last Journal Entry was [% Slash.timeCalc(useredit.journal_last_entry_date) %]
[ List ]
[% END %]
[% END %]
[% IF useredit.pubkey %]
Public Key
[% constants.absolutedir %]/~[% nick_plain | fixparam %]/pubkey/
[% END %]
[% IF stories %]
[% nick %] has submitted [% storycount %] stories.[% IF storycount > constants.user_submitter_display_default %] Below are the most recent [% form.min %] stories.[% END %]
[% n = 0 %]
[% FOREACH story = stories %]
[% n = n + 1 %]
[% story.title %] on [% Slash.timeCalc(story.time) %]
[% END %]
[% END %]
[% nick %] has posted [% commentcount %] comments.
[% IF commentcount > commentstruct.size %]Below find
[% IF min_comment == 0 %]the most recent [% commentstruct.size %] comments.
[% ELSE %][% commentstruct.size %] of them.
[% END %][% END %]
[% n = min_comment %]
[% FOREACH comment = commentstruct %]
[% n = n + 1 %]
[% replies = comment.replies ? " Replies: $comment.replies" : "" %]
[% IF comment.type == 'poll';
label = "Poll: $comment.disc_title ";
ELSIF comment.type == 'journal';
label = "Journal Discussion: $comment.disc_title";
ELSE;
label = comment.disc_title;
END %]
[% n %]
[% comment.subj %] posted on [% comment.cdate %]
(Score:[% comment.pts %][% replies %])
attached to [% label %]
[% END %]
[% IF admin_flag && commentcount > n %]
[% END %] __seclev__ 500