__section__ default __description__ Template which describes the layout of the article display (and included comments if preferred). * poll = pollbooth block * section = section hashref * section_block = section block hashref * show_poll = boolean for showing poll or not * story = story data structure * next = data structure for next story * prev = data structure for previous story __title__ __page__ article __lang__ en_US __name__ display __template__ [% USE Slash %] [% data = Slash.displayStory(story.sid, 'Full'); data.0 %] [% IF form.refresh %] How Refreshing! ([% form.sid %]) [% END %]
[% n = BLOCK; PROCESS nextStory s=next; END %] [% p = BLOCK; PROCESS nextStory s=prev; END %] [% IF p %] < [% p %][% END %] [% IF n %] [% IF p %] | [% END %][% n %] > [% END %]
\n"; IF user.points || user.seclev > 99; M = BLOCK %] [% M %]You have moderator access and [% user.points %] points. Welcome to those of you just joining: please read the moderator guidelines for instructions. (updated 9.9!)
$user.mylinks "; # User can be logged in as both a regular user and author. This box should probably # show both names to make the user aware. name = user.nickname; IF user.uid; name = "$name ($user.uid)"; END; PROCESS fancybox title = name contents = M center = 1; END %] [% IF show_poll; PROCESS fancybox title = 'Article Poll' contents = poll center = 1; END; PROCESS fancybox title = 'Related Links' contents = story.relatedtext center = 1; IF section_block.block; PROCESS fancybox title = section.title contents = section_block.block center = 1; END; IF user.is_admin AND form.op == 'preview'; PROCESS fancybox title = 'Story admin' contents = authorbox center = 1; END %]