Rev 14921 | Rev 14924 | 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 | !endif |
||
27 | <td $css_connected> |
||
14861 | guerimand | 28 | !href cmd=reply&+user=$(ulist[$i])&job=edit $(nlist[$i]) |
14777 | guerimand | 29 | </td> |
30 | <td> |
||
14923 | guerimand | 31 | !if $(tchatisopen_$(ulist[$i]))!=$empty |
14777 | guerimand | 32 | ✔ |
33 | !endif |
||
34 | </td> |
||
35 | <td> |
||
14861 | guerimand | 36 | !readproc script/lastmsg.proc $(ulist[$i]) |
14777 | guerimand | 37 | !if $lastmsg!=$empty |
38 | <span class="tchat-date2"> |
||
39 | !let dt1=!char 1 to 8 of $lastdate |
||
40 | !let dt2=!char 10 to 14 of $lastdate |
||
41 | !readproc adm/date.phtml $dt1 |
||
42 | $l_date_out $wims_name_at |
||
43 | !replace internal : by H in $dt2 |
||
44 | </span> |
||
45 | <div class="lastmsg"> |
||
14861 | guerimand | 46 | $lastmsg ... |
47 | !href module=$module&job=edit&job2=newmsg&user=$(ulist[$i]) $name_answer |
||
48 | </div> |
||
49 | !endif |
||
50 | </td> |
||
51 | </tr> |
||
52 | !next i |
||
53 | </tbody> |
||
54 | $table_end |
||
14779 | bpr | 55 | |
14861 | guerimand | 56 | !if $livinglist!=$empty |
57 | !! ----- displaying table of living |
||
58 | !set table_id=TABLE_livinglist |
||
59 | !set table_class=sortable |
||
60 | $table_header |
||
61 | <thead> |
||
62 | $table_hdtr |
||
63 | <th scope="col">$name_living</th> |
||
64 | <th scope="col">$name_tchatopen</th> |
||
65 | <th scope="col">$name_newmsg</th> |
||
66 | </tr> |
||
67 | </thead> |
||
68 | <tbody> |
||
69 | !for i in $livinglist |
||
70 | $table_tr |
||
71 | <td> |
||
72 | !href cmd=reply&+user=.living$i&job=edit $(livingname_$i) |
||
73 | </td> |
||
74 | <td> |
||
75 | !let n=!itemcnt $(living_connected_$i) |
||
76 | $n / $(livingnb_$i) |
||
77 | </td> |
||
78 | <td> |
||
79 | !readproc script/lastmsg.proc .living$i |
||
80 | !if $lastmsg!=$empty |
||
81 | <span class="tchat-date2"> |
||
82 | !let dt1=!char 1 to 8 of $lastdate |
||
83 | !let dt2=!char 10 to 14 of $lastdate |
||
84 | !readproc adm/date.phtml $dt1 |
||
85 | $l_date_out $wims_name_at |
||
86 | !replace internal : by H in $dt2 |
||
87 | </span> |
||
88 | <div class="lastmsg"> |
||
14777 | guerimand | 89 | $lastmsg ... |
90 | !href module=$module&job=edit&job2=newmsg&user=$(ulist[$i]) $name_answer |
||
91 | </div> |
||
92 | !endif |
||
93 | </td> |
||
94 | </tr> |
||
95 | !next i |
||
96 | </tbody> |
||
14861 | guerimand | 97 | $table_end |
98 | !endif |
||
14777 | guerimand | 99 | !read tablesort.phtml |
100 | |||
101 | |||
102 | |||
103 |