__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 %]

   [% # -- User's Article Box. %] [% IF user.is_anon; # User is anonymous contents = BLOCK; PROCESS userlogin return_url = "${constants.rootdir}/article.pl?sid=${form.sid}"; END; PROCESS fancybox title = "${constants.sitename} Login" contents = contents center = 1; ELSE; # User is logged in. M = BLOCK %][ Preferences[% END %] [% IF user.seclev > 99 && user.uid; M = BLOCK %] [% M %] | Admin | Editor [% END; END; M = "$M ]

\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!)

  • You can't post & moderate the same discussion.
  • Concentrate on Promoting more than Demoting.
  • Browse at -1 to keep an eye out for abuses.
  • Mail the admin URLs showing abuse (the cid link please!). [% END; END; M = "$M

    $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 %] [% BLOCK nextStory; IF !s; RETURN; ELSIF s.title == story.title; RETURN; ELSE; ls = { link => s.title, sid => s.sid, section => s.section }; Slash.linkStory(ls); END; END %] __seclev__ 1000