__section__
default
__description__
Display user's info

* title = passed to titlebar
* useredit = hashref of info of the user being viewed
* commentstruct = arrayref of comments
* commentcount = count of comments
* min_comment = min comment to start displaying
* nickmatch_flag = current user is same as viewed user
* karma_flag = boolean for display karma
* admin_flag = boolean for whether to display admin stuff
* reasons = hashref from $moddb->getReasons()

__title__

__page__
users
__lang__
en_US
__name__
userCom
__template__
[% IF commentstruct.size %]
	[% commenttitle = "Latest $commentstruct.size of $commentcount comments " %]
	[% PROCESS titlebar width="100%" title = commenttitle %]
	[% n = min_comment %]
	[% FOREACH comment = commentstruct %]
		[% n = n + 1 %]
		[% 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 %]
		<br><b>[% n %]</b> <a href="[% gSkin.rootdir %]/comments.pl?sid=[% comment.sid %]&amp;cid=[% comment.cid %]">
		[% comment.subject %]</a> posted on [% Slash.timeCalc(comment.date) %]
	(Score:[% comment.points %][% IF comment.replies %] Replies: [% comment.replies %][% END %])
		<br>attached to <a href="[% comment.url %]">[% label %]</a>
	[% END %]
	[% IF (user.seclev > constants.comments_more_seclev || (comments_more_seclev == 2 && user.is_subscriber)) && commentcount > n %]
		<p><a href="[% gSkin.rootdir %]/users.pl?op=userinfo&amp;nick=[% useredit.nickname | strip_paramattr %]&amp;min_comment=[% n %]"     >More Comments...</a>
	[% END %]
[% ELSE %]
	[% title = useredit.nickname | strip_literal %]
	[% PROCESS titlebar width="100%" %]
	<b>[% useredit.nickname | strip_literal %] has yet to post any comments.</b>
[% END %]

__seclev__
500
__version__
$Id: userCom;users;default,v 1.14 2006/10/26 17:33:10 jamiemccarthy Exp $
