__section__
default
__description__
This template controls how the Discussion List is printed. For default
Slash, this list is printed when comments.pl executed with no
arguments.

* discussions = arrayref of arrayrefs of discussions (sid = 0, title=1, url=2)
* suppress_create = if it has value then the create is not displayed even if the user has enough of a seclev

NO LONGER USED

__title__

__page__
comments
__lang__
en_US
__name__
discuss_list
__template__
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td align="left">
[% IF discussions.size > 0  %]
<table width="100%" cellpadding="0" cellspacing="0">
<tr bgcolor="[% user.colors.bg_3 %]"><th align="LEFT">Discussion</th><th align="LEFT">Referrer</th><th align="LEFT">Last Update</th><th align="RIGHT">Comment Count</th></tr>
[% FOR discussion = discussions %]
	<tr bgcolor="[% user.colors.bg_2 %]"><td><a href="[% gSkin.rootdir %]/comments.pl?sid=[% discussion.id %]">[%
IF discussion.title.defined %][% discussion.title | strip_html %][% ELSE %]untitled[% END %]</a></td>
	<td><a href="[% discussion.url | strip_attribute %]">referrer</a></td><td>[% Slash.timeCalc(discussion.last_update) %]</td><td align="RIGHT">[% discussion.commentcount %] comment[% discussion.commentcount == 1 ? "&nbsp;" : "s" %] </td></tr>
[% END %]
[% END %]
</table>
<p>
[% PROCESS pagination label=label %]
		</td>
	</tr>
</table>

<p>

[% IF user.seclev >= constants.discussion_create_seclev && !suppress_create;
    # PROCESS discreate topic=constants.discussion_default_topic label=label; 
    PROCESS edit_comment indextype=indextype newdiscussion=1 topic=constants.discussion_default_topic label=label hide_name=1 hide_email=1; 
ELSIF user.seclev < constants.discussion_create_seclev;
	Slash.getData('no_discreate_msg');
END %]

__seclev__
100
__version__
$Id$
