X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fforum%2Fthread.tt2;h=bd3a1be8d7aa66e1062351a6f60007ed12dd9974;hb=d9e0bd63f3f0522b4eaebe7d525048570fe43ef6;hp=2e068312dc206abc57450e7b8ad536df4e909568;hpb=3f776a02a0596d504342d16d34b71ec05558e8a6;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 %]