X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fforum%2Fthread.tt2;h=bd3a1be8d7aa66e1062351a6f60007ed12dd9974;hb=c4b993d742eff701dfe3784bfaedf81f9e4cd34d;hp=2e068312dc206abc57450e7b8ad536df4e909568;hpb=f6206b8cc6a5d1acfacebe8cabda5889e3369a14;p=ndwebbie.git diff --git a/root/src/forum/thread.tt2 b/root/src/forum/thread.tt2 index 2e06831..bd3a1be 100644 --- a/root/src/forum/thread.tt2 +++ b/root/src/forum/thread.tt2 @@ -26,3 +26,36 @@ [% END %] + +[% IF access.size > 0 %] +[% hasaccess = 0 %] +

The following ppl have access to this thread: [% FOR a IN access %] + [% IF a.uid == UID; hasaccess = 1; END %] +[% a.username %] + [% END %]

+ [% IF hasaccess %] +

Remove your access

+ [% END %] +[% END %] + +[% IF thread.moderate %] +
+
Change thread access + + + + + + +
AddRemove
+ +
+[% END %]