Exemple #1
0
if (empty($_conf['expack.iphone.toolbars.no_label'])) {
    echo '<br>ページ';
}
echo '</td>';
// 上へ
echo '<td>';
echo toolbar_i_standard_button('img/gp1-up.png', '上', '#header');
echo '</td>';
// }}}
echo '</tr><tr>';
// {{{ その他ボタン類
// あぼーん中のスレッド一覧を開く
echo '<td>';
if ($ta_num) {
    $escaped_url = "{$_conf['subject_php']}?{$host_bbs_q}{$norefresh_q}&amp;spmode=taborn{$_conf['k_at_a']}";
    echo toolbar_i_badged_button('img/glyphish/icons2/128-bone.png', 'あぼーん', $escaped_url, $ta_num);
} elseif ($aThreadList->spmode == 'taborn') {
    $escaped_url = "{$_conf['subject_php']}?{$host_bbs_q}{$_conf['k_at_a']}";
    echo toolbar_i_standard_button('img/glyphish/icons2/63-runner.png', '板に戻る', $escaped_url);
} else {
    echo toolbar_i_disabled_button('img/glyphish/icons2/128-bone.png', 'あぼーん');
}
echo '</td>';
// dat倉庫を開く
echo '<td>';
if (!$aThreadList->spmode || $aThreadList->spmode == 'taborn') {
    $escaped_url = "{$_conf['subject_php']}?{$host_bbs_q}{$norefresh_q}&amp;spmode=soko{$_conf['k_at_a']}";
    echo toolbar_i_standard_button('img/glyphish/icons2/33-cabinet.png', 'dat倉庫', $escaped_url);
} elseif ($aThreadList->spmode == 'soko') {
    $escaped_url = "{$_conf['subject_php']}?{$host_bbs_q}{$_conf['k_at_a']}";
    echo toolbar_i_standard_button('img/glyphish/icons2/63-runner.png', '板に戻る', $escaped_url);
Exemple #2
0
<div class="ntoolbar" id="header">
<h1 class="ptitle hoverable">{$ptitle_ht}</h1>
EOP;
// {{{ 各種ボタン類
echo '<table><tbody><tr>';
// 新着まとめ読み
$shinchaku_norefresh_ht = '';
echo '<td>';
if ($aThreadList->spmode != 'soko') {
    $shinchaku_matome_url = "{$_conf['read_new_k_php']}?host={$aThreadList->host}&amp;bbs={$aThreadList->bbs}&amp;spmode={$aThreadList->spmode}&amp;nt={$newtime}{$_conf['k_at_a']}";
    if ($aThreadList->spmode == 'merge_favita') {
        $shinchaku_matome_url .= $_conf['m_favita_set_at_a'];
    }
    if ($shinchaku_attayo) {
        $shinchaku_norefresh_ht = '<input type="hidden" name="norefresh" value="1">';
        echo toolbar_i_badged_button('img/glyphish/icons2/104-index-cards.png', '新まとめ', $shinchaku_matome_url . $norefresh_q, $shinchaku_num);
    } else {
        echo toolbar_i_standard_button('img/glyphish/icons2/104-index-cards.png', '新まとめ', $shinchaku_matome_url);
    }
} else {
    echo toolbar_i_disabled_button('img/glyphish/icons2/104-index-cards.png', '新まとめ');
}
echo '</td>';
// スレ検索
echo '<td>';
if (!$spmode_without_palace_or_favita) {
    echo toolbar_i_showhide_button('img/glyphish/icons2/06-magnifying-glass.png', '検索', 'sb_toolbar_filter');
} else {
    echo toolbar_i_disabled_button('img/glyphish/icons2/06-magnifying-glass.png', '検索');
}
echo '</td>';