s4
changeset 1005:c2fc7a148d2c
Suppress post-count in non-member group
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 29 Jan 2023 14:48:33 +0900 |
parents | 70d9e8f1a85a |
children | 4bc9494c00ff |
files | s4-funcs.sh |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Sun Jan 29 14:38:28 2023 +0900 1.2 +++ b/s4-funcs.sh Sun Jan 29 14:48:33 2023 +0900 1.3 @@ -2940,9 +2940,11 @@ 1.4 cond="where a.id in (select id from blog_s where key='owner' and val=$qgrp) order by 稼動状態, ctime desc" 1.5 colstate="state:稼動状態:frozen=rowclass=凍結" 1.6 frzbtn='<button class="toggle-frozen"></button>' 1.7 + if [ -n "$ismember" ]; then 1.8 + DT_COUNT=author DT_COUNT_HEADER="書" DT_COUNT_BY=$user 1.9 + fi 1.10 DT_CHLD=article:blogid \ 1.11 DT_QOWNER="$qgrp" \ 1.12 - DT_COUNT=author DT_COUNT_HEADER="書" DT_COUNT_BY=$user \ 1.13 DT_VIEW=replyblog dumptable html blog \ 1.14 "ctime title heading team notify:通知$colmd $colstate" "$cond" \ 1.15 | if [ -n "$iamowner" ]