Rev 14886 | Rev 14923 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14777 | guerimand | 1 | !! liste des sujets |
2 | |||
3 | !if $nbuser<=0 |
||
4 | $name_noparticipant |
||
5 | !exit |
||
6 | !endif |
||
7 | |||
8 | !! ----- displaying table of participant |
||
9 | !set table_id=TABLE_userlist |
||
10 | !set table_class=sortable |
||
11 | $table_header |
||
12 | <thead> |
||
13 | $table_hdtr |
||
14861 | guerimand | 14 | <th scope="col">$wims_name_lastname - $wims_name_firstname</th> |
14777 | guerimand | 15 | <th scope="col">$name_tchatopen</th> |
16 | <th scope="col">$name_newmsg</th> |
||
17 | </tr> |
||
18 | </thead> |
||
19 | <tbody> |
||
20 | !for i=1 to $nbuser |
||
21 | $table_tr |
||
22 | !reset css_connected tchatisopen lastmsg |
||
23 | !if $(ulist[$i]) isitemof $wims_connectedlogin |
||
24 | !set css_connected=class="wims_connected" |
||
25 | !set wims_ref_title=connected |
||
26 | !readproc script/testtchatopen.proc $(ulist[$i]) |
||
27 | !endif |
||
28 | <td $css_connected> |
||
14861 | guerimand | 29 | !href cmd=reply&+user=$(ulist[$i])&job=edit $(nlist[$i]) |
14777 | guerimand | 30 | </td> |
31 | <td> |
||
14861 | guerimand | 32 | !if $tchatisopen!=$empty |
14777 | guerimand | 33 | ✔ |
34 | !endif |
||
35 | </td> |
||
36 | <td> |
||
14861 | guerimand | 37 | !readproc script/lastmsg.proc $(ulist[$i]) |
14777 | guerimand | 38 | !if $lastmsg!=$empty |
39 | <span class="tchat-date2"> |
||
40 | !let dt1=!char 1 to 8 of $lastdate |
||
41 | !let dt2=!char 10 to 14 of $lastdate |
||
42 | !readproc adm/date.phtml $dt1 |
||
43 | $l_date_out $wims_name_at |
||
44 | !replace internal : by H in $dt2 |
||
45 | </span> |
||
46 | <div class="lastmsg"> |
||
14861 | guerimand | 47 | $lastmsg ... |
48 | !href module=$module&job=edit&job2=newmsg&user=$(ulist[$i]) $name_answer |
||
49 | </div> |
||
50 | !endif |
||
51 | </td> |
||
52 | </tr> |
||
53 | !next i |
||
54 | </tbody> |
||
55 | $table_end |
||
14779 | bpr | 56 | |
14861 | guerimand | 57 | !if $livinglist!=$empty |
58 | !! ----- displaying table of living |
||
59 | !set table_id=TABLE_livinglist |
||
60 | !set table_class=sortable |
||
61 | $table_header |
||
62 | <thead> |
||
63 | $table_hdtr |
||
64 | <th scope="col">$name_living</th> |
||
65 | <th scope="col">$name_tchatopen</th> |
||
66 | <th scope="col">$name_newmsg</th> |
||
67 | </tr> |
||
68 | </thead> |
||
69 | <tbody> |
||
70 | !for i in $livinglist |
||
71 | $table_tr |
||
72 | <td> |
||
73 | !href cmd=reply&+user=.living$i&job=edit $(livingname_$i) |
||
74 | </td> |
||
75 | <td> |
||
76 | !let n=!itemcnt $(living_connected_$i) |
||
77 | $n / $(livingnb_$i) |
||
78 | </td> |
||
79 | <td> |
||
80 | !readproc script/lastmsg.proc .living$i |
||
81 | !if $lastmsg!=$empty |
||
82 | <span class="tchat-date2"> |
||
83 | !let dt1=!char 1 to 8 of $lastdate |
||
84 | !let dt2=!char 10 to 14 of $lastdate |
||
85 | !readproc adm/date.phtml $dt1 |
||
86 | $l_date_out $wims_name_at |
||
87 | !replace internal : by H in $dt2 |
||
88 | </span> |
||
89 | <div class="lastmsg"> |
||
14777 | guerimand | 90 | $lastmsg ... |
91 | !href module=$module&job=edit&job2=newmsg&user=$(ulist[$i]) $name_answer |
||
92 | </div> |
||
93 | !endif |
||
94 | </td> |
||
95 | </tr> |
||
96 | !next i |
||
97 | </tbody> |
||
14861 | guerimand | 98 | $table_end |
99 | !endif |
||
14777 | guerimand | 100 | !read tablesort.phtml |
101 | |||
102 | |||
103 | |||
104 |