--- まるちトーク・管理者操作専用ドレス --- Rel-0.3.4 使用ファイル admin.dml Rel-0.3.4 macro.dml Rel-0.3.4 macro2.dml Rel-0.3.4 (訂正/フレンドメール使用時) user.dml *** タブカラムは「4」で表示してください *** このドレスは単体でも使用できますが、 通常は他のドレスから管理者モードで読み込まれます。 このドレスはマイメニューには出現しません。 単体で起動した場合、アイコン選択などの使用/修正はできません。 (他のドレスの設定定義を流用するため) === デザインカスタマイズ(単体使用時) === 【掲示板タイトル】 【アイコンディレクトリ】 【イメージディレクトリ】 【チップディレクトリ】 【細部の色設定】 *マークの色は削除すると透明化されます。 テキスト色 全体背景色 * 未参照リンク 移動済リンク 移動中リンク リンクのホバリングカラー 影色・バルーンの縁取り(IE) バルーン内の通常テキスト色 スレッド全体背景色 * バルーン不可時の通常テキスト色 バルーンを使わないときのテキスト背景色 * 引用文表示色 スレッド題名文字色 スレッド題名背景 * 左リボン文字色(スレッド番号) 左のリボン背景色 * 右リボン文字色(名前や日付け) 右のリボン背景色 * メール認証 汎用マクロ ユーザ定義 %{macro_init:} %s'> bbs:post_signup bbs:user_correct bbs:thread_sort bbs:skip_killnote bbs:post_ress sys:timestr icon_hello icon_good icon_bad bbs:depth_limit A,管理 C,訂正 D,削除 U,ユーザー === マクロ定義 === 【HTMLヘッダ】 %{tagdeath:bbs_title} %{style:}
【HTMLフッタ】 MULTIX
<!endm> 【リザルトヘッダ】 <!set form_id="main1"> <!macro post_header> <!set sys:var:tmp=> <html><head> <meta http-equiv="Content-type" content="text/html; charset=%{bbs:charset}"> <title>%{tagdeath:bbs_title} - %{tagdeath:tmp}</title> %{style:}</head> <body text="%{text_color}"%{bg_back_color} link="%{link_color}" vlink="%{vlink_color}" alink="%{alink_color}"> <form name=%{form_id} action="%{cgi}" method=POST%{enctype}> <input name=dml type=hidden value="%{bbs:dml}"> <input name=password type=hidden value="%{bbs:password}"> <center> <font size=6>%{tmp}</font> <hr size=1> <!endm> 【リザルトフッタ】 <!macro post_footer> <hr size=1> <input type=submit value=" BACK "> <input name=password type=submit value="END OF MODE"> </center> <!endm> 【メイン入力欄】 <!macro main_form> <!set sys:var:add_bt=> <!set sys:var:array=void> <!set sys:var:flag=input_mail> <!if bbs:append_notes> <table border=0 cellspacing=0 cellpadding=0> <tr> <td align=right nowrap>名前:</td> <td> <input type=text name=name size=20 maxlength=30 value="%{bbs:name}" tabindex=1> <!set icon_sel:='アイコン,icon,bbs:icon_list,bbs:icon,,onChange="document.img_%%1.src=iList[this.selectedIndex]"'> </td> <td rowspan=4> <!if bbs:icon_list> <img src="%{chip_path}bs.gif"%{icon_size} name=img_icon> <script language="JavaScript"><!-- iList = new Array('%{array}') function iconSel(){document.img_icon.src = iList[document.main1.icon.selectedIndex]} iconSel()//--></script> <!endif> </td> </tr> <tr> <td align=right nowrap>リンク:</td> <td nowrap> <input type=text name=link size=20 maxlength=80 value="%{bbs:link}" tabindex=2> <!set icon_sel:='シンボル,symbol,bbs:symbol_list,bbs:symbol'> </td> </tr> <tr> <td align=right nowrap>Eメール:</td> <td nowrap> <input type=text name=mail size=20 maxlength=50 value="%{bbs:mail}" tabindex=3> <!set icon_sel:='カラー,color,bbs:color_list,bbs:color'> </td> </tr> <tr> <td align=right nowrap>件名:</td> <td><input type=text name=subject size=20 maxlength=40 value="%{form_s}" tabindex=4> <!set icon_sel:='セレクト,select,bbs:select_list,bbs:select'> </td> </tr> <tr><td nowrap>メッセージ:</td><td> <input type=checkbox name=cookie value=on %{bbs:cookie}> Cookie <!if bbs:mail_auth> <input type=text name=pass size=4 maxlength=5 value="%{bbs:c_pass}"> <input type=submit name=make_key value="認証キー"> <!else> <input type=hidden name=pass value="%{bbs:c_pass}"> <!endif> </td></tr> <tr><td colspan=3><center><textarea name=text cols=45 rows=4 wrap=soft tabindex=5>%{form_t}</textarea><br> 添付ファイル:<input type=file size=30 name=file> </center></td></tr> </table> <p> <input type=submit name=post value=" 投稿 " tabindex=6 ><input name=password type=submit value="モード解除">%{add_bt} </p> <!else> %{admin_message} <!endif> <!endm> 【記事表示(ひとつずつ)】 <!macro article_view> <!set sys:void="temp,type"> <!ifn bbs:status=/^D/> <!set temp='<input type=submit name=note%{bbs:article} value=" 訂正 "><input type=submit name=delete%{bbs:article} value=" 削除 ">'> <!endif> <!if bbs:undo> <!set temp='%{temp}<input type=submit name=undo%{bbs:article} value="アンドゥ:%{bbs:undo}">'> <!endif> <!if bbs:mail> <!set temp='%{temp}<input type=submit name=mail_menu%{bbs:article} value="フレンドメール">'> <!endif> <a name=%{bbs:article}></a> <table background border=0 width=700> <tr><th colspan=2%{bg_subject_bgcolor}><font size=4 color="%{subject_color}">%{bbs:subject}</font></th></tr><tr> <th width=10%%%{bg_left_ribbon_bgcolor} nowrap><font size=2 color="%{left_ribbon_color}">[%{bbs:article}]</font></th> <td width=90%%%{bg_right_ribbon_bgcolor}><font size=2 color=%{right_ribbon_color}> %{ranking:}(%{bbs:count}) <b>%{bbs:name}</b> %{link:} %{bbs:user_agent}</font></td></tr> <!ifn bbs:status=/^D/> <tr><td colspan=2 background%{bg_note_bgcolor}><dl><dd><font size=3 color=%{note_color}> %{expand:intext} </font></td></dl></tr> <!endif> </table> icon=%{bbs:icon} / symbol=%{bbs:symbol} / color=%{bbs:color} / select=%{bbs:select} / file=%{bbs:file} <table background border=0><tr> <td %{bg_subject_bgcolor} nowrap><font size=2 color="%{subject_color}"> <!each bbs:status=/,/> <!if =/^([CD])([AU])_(\d+)/> <!endif> %{timestr:sys:3} %{hashtbl:histry:sys:2}%{hashtbl:histry:sys:1}<br> <!ende> %{timestr:bbs:time} 投稿 </font></td> <td>%{temp}</td></tr> </table> <table><tr><td align=right><a href=#top>コメント</a>:</td><td align=center> 件名:<input name=s%{bbs:article} size=30><small> (省略可)</small><br> <textarea name=t%{bbs:article} wrap=soft cols=40 rows=2></textarea><br> ファイル:<input name=f%{bbs:article} type=file size=30></td> <td><input type=submit name=post value=" 投稿 "></td></tr></table> <hr size=1> <!endm> 【返信画面】 <!macro thread_view> <!macro bbs:thread:bbs:submit="article_view"> <a name="top"></a> <input type=hidden name=page value="%{bbs:page}"> <a href=#%{bbs:submit}>【このスレッドへの返信】⇒先頭記事</a> <h4>【新規発言】</h4> %{main_form:} <!endm> <!endm> <!set mode=bbs:mode> 【投稿ボタン/ステータス】<!if bbs:result>------------------------------------ <!if :="%{bbs:id}<0"e> <!set private_cmp=no> <!endif> %{result_view:} 【ログイン】<!elifn bbs:admin_mode> <!set post_header:="Administrator's Login"> <ul><li>管理者パスワードを入力してください。 <p><input name=password type=password size=10> <input type=submit value=" LOGIN "></p></ul> %{post_footer:} 【返信ボタン】<!elif mode="RESS">-------------------------------------------- <!set post_header:="MULTI POST"> %{thread_view:} %{post_footer:} 【フレンドメール】<!elif mode="MAIL_MENU">----------------------------------- <!set sys:include="macro2.dml"> <!set post_header:="FRIEND MAIL"> %{friendmail_view:} %{post_footer:} 【訂正画面】<!elif mode="NOTE">---------------------------------------------- <!set sys:include="macro2.dml"> <!set post_header:="NOTE CORRECT"> %{notecorrect_view:} %{post_footer:} 【メイン画面】<!else>-------------------------------------------------------- %{html_header:} <input name=password type=hidden value="%{bbs:password}"> <center> <h2>%{bbs_title} (管理者専用モード)</h2> <hr size=1> <p>【新規発言】</p> <!set main_form:='<input type=submit value=" 更新 ">'> <hr size=1> <p> <small>チェックした記事を <input type=submit name=delete value=" 削除 " ><input type=submit name=note value=" 訂正 " ><input type=submit name=undo value="アンドゥ" ><input type=submit name=mail_menu value=" フレンドメール "> できます。(box の右の数字はアンドゥ可能な回数)<br> * 削除/アンドゥは一度に複数処理可能。訂正は1つずつ。削除記事を訂正するには先にアンドゥしてください。<br> </small> </p> <!if yes> <table width=90% cellspacing=0 cellpadding=0 border=1 bordercolor="%{back_color}"%{bg_thread_bgcolor}> <tr><td colspan=7 %{bg_back_color}><sub>↓ボタンを押して返信フォームへ。</sub></tr> <!each bbs:page_list> </table> <table width=90% cellspacing=0 cellpadding=0 border=1 bordercolor="%{back_color}"%{bg_thread_bgcolor}> <tr%{bg_subject_bgcolor} style="color:%{subject_color}"> <th width=150>Notes %_<th width=50>Chk<th width=32>Rank <th width=150>Name<th width=50>Link<th>Subject<th>Date</tr> <!macro bbs:thread_list:> <!macro bbs:thread> <tr> <!if bbs:thread=bbs:article> <td nowrap><input name=ress type=submit value="%{bbs:thread}"> x %{bbs:thread_notes} <!else> <td nowrap><tt style="font-size:larger"> %{bbs:indent}</tt> %{bbs:article} <!endif> <td nowrap><input name=id type=checkbox value="%{bbs:article}"> <!if bbs:undo> %{bbs:undo} <!endif> <!if bbs:file> <!set add='<img src=%{chip_path}file.gif hspace=1 alt="%{bbs:file}">'> <!else> <!set add=void> <!endif> <td nowrap>%{ranking:} <td nowrap>%{bbs:name} <td nowrap>%{link:}%{add} <td nowrap>%{bbs:subject} <td nowrap>%{timestr:bbs:time}</tr> <!endm> <!endm> <!ende> </table> <!else> <blockquote> <div align=left> <sub>↓ボタンを押して返信フォームへ。</sub><br> <!each bbs:page_list> <!macro bbs:thread_list:> <!macro bbs:thread> <!if bbs:thread=bbs:article> <input name=ress type=submit value="%{bbs:thread}"> x %{bbs:thread_notes} <!else> <tt style="font-size:larger"> %{bbs:indent}</tt> %{bbs:article} <!endif> <input name=id type=checkbox value="%{bbs:article}"> <!if bbs:undo> %{bbs:undo} <!endif> <!if bbs:file> <!set add='<img src=%{chip_path}file.gif hspace=1 alt="%{bbs:file}">'> <!else> <!set add=void> <!endif> %{ranking:} %{bbs:name} %{link:}%{add} %{bbs:subject} %{timestr:bbs:time}<br> <!endm> <!endm> <!ende> </div></blockquote> <!endif> <p> %{bbs:all} notes. (%{sys:line} dml's) <input type=submit name=delete value=" 削除 " ><input type=submit name=note value=" 訂正 " ><input type=submit name=undo value=" アンドゥ " ><input type=submit name=mail_menu value=" フレンドメール "> --- <input name=password type=submit value="モード解除"><input type=submit value=" 更新 "> </p> <small> <input name=src_tree size=8> 番を <input name=dst_tree size=8> 番の下に <input type=submit name=tree_move value="ツリー移動"> <input type=checkbox name=chk_tree value=1>(連番のスレッドも含む)<br> ** 左だけ指定すれば新規スレッドを作成します。ツリー移動はアンドゥできません ** </small> </center> <hr size=1> <!endif> %{html_footer:}