Mercurial > hgrepos > hgweb.cgi > s4
changeset 1005:c2fc7a148d2c draft
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 wrap: on
line diff
--- a/s4-funcs.sh Sun Jan 29 14:38:28 2023 +0900 +++ b/s4-funcs.sh Sun Jan 29 14:48:33 2023 +0900 @@ -2940,9 +2940,11 @@ cond="where a.id in (select id from blog_s where key='owner' and val=$qgrp) order by 稼動状態, ctime desc" colstate="state:稼動状態:frozen=rowclass=凍結" frzbtn='<button class="toggle-frozen"></button>' + if [ -n "$ismember" ]; then + DT_COUNT=author DT_COUNT_HEADER="書" DT_COUNT_BY=$user + fi DT_CHLD=article:blogid \ DT_QOWNER="$qgrp" \ - DT_COUNT=author DT_COUNT_HEADER="書" DT_COUNT_BY=$user \ DT_VIEW=replyblog dumptable html blog \ "ctime title heading team notify:通知$colmd $colstate" "$cond" \ | if [ -n "$iamowner" ]