[掲示板に戻る] [一覧表示に戻る] [新着表示に戻る] [ツリー表示に戻る] []
過去ログ[0013]
過去ログ
検 索
キーワード 条件 表示
標準表示/一覧表示

質問   sasaki : 2012/06/11(Mon) 22:40 No.3943
カテゴリ:携帯対応YY-BOARD(改)   投稿数:1回/ベビー
チャトラ YYBORDを最新版にしたのですがレス記事の部分に「新しいレスから表示」と言うのが表示されますが消す方法はないでしょうか?以前のようなシンプルな形が好きなので・・・よろしくお願いします。
PC
ID:jqgjV23ox.
[→3943] Re: 質問   Tambo ◆Uur6CmAwso : 2012/06/13(Wed) 13:52 No.3944
カテゴリ:携帯対応YY-BOARD(改)   投稿数:1140回/管理人
! 以下を削除またはコメントアウトしてみて下さい。

lib/res_form.pl
325行目付近
# 閲覧者限定時
if ($miruPass) {
if (!$tv) {
print qq |<table border="0" cellspacing="0" cellspacing="0"><tr>\n|;
}
print <<EOM;

−−−(中略)−−−

# 閲覧者限定時以外
} else {
if ($in{'resVRev'} == 1 || ($resVRev2 == 1 && $in{'resVRev'} != 2)) {
print qq |【<a href="$script?${multi_link}mode=res&amp;no=$in{'no'}&amp;mode2=$in{'mode2'}&amp;page=$page&amp;bl=$in{'bl'}&amp;resVRev=2">初めのレスから表\示</a>】\n|;
} else {
print qq |【<a href="$script?${multi_link}mode=res&amp;no=$in{'no'}&amp;mode2=$in{'mode2'}&amp;page=$page&amp;bl=$in{'bl'}&amp;resVRev=1">新しいレスから表\示</a>】\n|;
}
}

lib/logview_pc1.pl
758行目付近
print qq |<blockquote>|;
print qq |<table border="0" cellspacing="0" cellpadding="0"><tr>\n|;
if ($resView || $in{'resView'}) {
if ($in{'resView'} eq all) {
print qq |<td>【全スレッド全レス表\示中】</td>|;

−−−(中略)−−−

# 閲覧者限定時以外
} else {
if ($in{'resVRev'} == 1 || ($resVRev1 == 1 && $in{'resVRev'} != 2)) {
print qq |<td><a href="$script?${multi_link}mode=std&amp;page=$page&amp;bl=$in{'bl'}&amp;resVRev=2">初めのレスから表\示</a> / 新しいレスから表\示中</td>\n|;
} else {
print qq |<td>初めのレスから表\示中 / <a href="$script?${multi_link}mode=std&amp;page=$page&amp;bl=$in{'bl'}&amp;resVRev=1">新しいレスから表\示</a></td>\n|;
}
}
print qq |<td>】</td>\n|;
print qq |</tr></table>\n|;
print qq |</blockquote>\n|;

1072行目付近
if ($resView && !$flag) {
if ($res_all > $resView && $miruPass) { # 閲覧者限定時
print <<EOM;
<td>【</td>
<td>最新$resViewレス表\示中</td>
<td>/</td>
<td><form action="$script" method="POST">
EOM

−−−(中略)−−−

# 閲覧者限定時以外
} elsif ($flag == 1 || !$flag) {
if ($in{'resVRev'} == 1 || ($resVRev1 == 1 && $in{'resVRev'} != 2)) {
print qq |<td>【<a href="$script?${multi_link}mode=res&amp;no=$re&amp;mode2=std&amp;page=$page&amp;bl=$in{'bl'}&amp;resVRev=2">初めのレスから表\示</a>】</td>\n|;
} else {
print qq |<td>【<a href="$script?${multi_link}mode=res&amp;no=$re&amp;mode2=std&amp;page=$page&amp;bl=$in{'bl'}&amp;resVRev=1">新しいレスから表\示</a>】</td>\n|;
}
print qq |</tr></table>\n|;
if ($SubBkgrd) { print qq |<hr noshade size="1" width="95%" align="right" class="hr1">\n|; }
$flag = 2;
}
PC
ID:3juxRi9qsQ

 []