#┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #┃C-BOARD Moyuku msg.skin.pl #┠────────────────────────────────────── #┃for PDA #┃ツリー、一覧画面のスキンファイルです。 #┃途中にある「$〜」はそれぞれプログラムによって任意の文字列に #┃置き換えられます。 #┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ package DESIGN; require './app/helper/etc.pl'; #┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #┃ ツリー全体 #┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sub make_tree_all { my ( $tree ) = @_; if ( $::FORM{'cmd'} ne 'thr' ) { return <<"__MyHTML__";
・ツリー全体表\示
__MyHTML__ } return ''; } #┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #┃ ツリー表示 #┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sub tree { local *MSG = shift; #── 記事 my $type = shift; #── タイプ my $r_branch = shift; #── インデント my %type = qw(prt Parent chl Child); if ( ! $MSG{'subject'} ) { #空コール回避 map使用の弊害か? return; } # PDA用 $CNF::STY::tre{'indent'}{'width'} = 2; $CNF::STY::tre{'branch'}{'icon'}{'width'} = 4; print <<"__MyHTML__";
${$r_branch} @{[&make_no(\$MSG{'no'})]}$MSG{'subject'}
     $MSG{'name'} $MSG{'date'}
@{[&make_clips(\$MSG{'file'})]}@{[&make_new(\$MSG{'time'})]} @{[&make_notread(\$MSG{'no'})]}@{[&make_select(\$MSG{'no'})]}
__MyHTML__ } %SUB = ( %SUB, tree_split => <<'__SUB__', #┌────────────────────────────────────── #│ツリー間のスペース #└────────────────────────────────────── sub tree_split { print <<"__MyHTML__";
__MyHTML__ } #────ここまで─────────────────────────────── __SUB__ all => <<'__SUB__', #┌────────────────────────────────────── #│記事表示 #└────────────────────────────────────── sub all { local *MSG = shift; #── 記事 my $r_width = shift; #── 題名の幅 my $r_attach = shift; #── 添付ファイル情報 my $r_body_color = shift; #── 本文色 #一覧の時はホストを表示しない if ( $::FORM{'cmd'} ne 'one' ) { $r_agent = ""; } print <<"__MyHTML__";
by  $MSG{'name'}@{[(&ETC::name_matching($MSG{'name'},$CNF::master{'name'},$CNF::master{'mode'})) && ($CNF::STY::bse{'master_icon'}) ? "\"この掲示板の管理人です\"" : '']} @{[&make_new(\$MSG{'time'})]} @{[&make_mail(\$MSG{'email'},\$MSG{'mail_mode'},\$MSG{'no'})]}@{[&make_web(\$MSG{'web'})]} @{[&make_genre(\$MSG{'genre'})]}  $MSG{'date'}

$MSG{'body'}

${$r_attach} @{[&make_hit(\$MSG{'hit'})]} @{[&make_sage(\$MSG{'sage'})]} @{[&make_agent(\$MSG{'agent'},\$MSG{'host'})]}

引用なし
パスワード
@{[&make_tree_all(\$MSG{'tree'})]}

__MyHTML__ } __SUB__ attach_info => <<'__SUB__', #┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #┃ 添付ファイル情報 #┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sub attach_info { local *file = shift; return(\<<"__MyHTML__");
$CNF::STY::clip{'icon'}:$file{'name'}($file{'size'})
__MyHTML__ } __SUB__ attach_delete_info => <<'__SUB__', #┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #┃ 添付ファイル削除済み情報 #┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sub attach_delete_info { return(\<<"__MyHTML__"); 【添付ファイル】 :添付ファイル[削除されました]
__MyHTML__ } __SUB__ ); 1;