1 <patTemplate:tmpl name="_widget">
\r
2 <link rel="stylesheet" href="{_ROOT_URL}/scripts/js_color_picker_v2/js_color_picker_v2.css" media="screen" />
\r
3 <script src="{_ROOT_URL}/scripts/js_color_picker_v2/color_functions.js"></script>
\r
4 <script type="text/javascript" src="{_ROOT_URL}/scripts/js_color_picker_v2/js_color_picker_v2.js"></script>
\r
5 <script type="text/javascript">
\r
7 function updateItem(){
\r
8 if (!window.confirm('設定を更新しますか?')) return false;
\r
9 document.main.act.value = 'update';
\r
10 document.main.submit();
\r
15 m3_tableWithScrollbar('item_list', -1, 0);
\r
18 m3_setHtmlEditor('top_contents', true);
\r
22 <div align="center">
\r
24 <!-- m3:ErrorMessage -->
\r
25 <form method="post" name="main">
\r
26 <input type="hidden" name="act" />
\r
27 <input type="hidden" name="task" value="other" />
\r
29 <table width="90%"><tr><td>
\r
30 <table id="item_list" class="simple-table" width="100%">
\r
33 <td class="table-headside" width="150">トップコンテンツ</td>
\r
34 <td colspan="3" height="200"><textarea name="top_contents" style="width:100%;height:100%;">{TOP_CONTENTS}</textarea></td>
\r
38 <td class="table-headside">背景色</td>
\r
39 <td colspan="3"><input type="text" name="bg_color" value="{BG_COLOR}" size="10" maxlength="10" /><input type="button" value="カラー" onclick="showColorPicker(this,document.forms[0].bg_color);" /></td>
\r
42 <td class="table-headside">内枠背景色</td>
\r
43 <td colspan="3"><input type="text" name="inner_bg_color" value="{INNER_BG_COLOR}" size="10" maxlength="10" /><input type="button" value="カラー" onclick="showColorPicker(this,document.forms[0].inner_bg_color);" /></td>
\r
46 <td class="table-headside">プロフィール背景色</td>
\r
47 <td colspan="3"><input type="text" name="profile_color" value="{PROFILE_COLOR}" size="10" maxlength="10" /><input type="button" value="カラー" onclick="showColorPicker(this,document.forms[0].profile_color);" /></td>
\r
50 <td class="table-headside">エラーメッセージ文字色</td>
\r
51 <td colspan="3"><input type="text" name="err_message_color" value="{ERR_MESSAGE_COLOR}" size="10" maxlength="10" /><input type="button" value="カラー" onclick="showColorPicker(this,document.forms[0].err_message_color);" /></td>
\r
54 <td class="table-headside">投稿文文字数</td>
\r
55 <td colspan="3"><input type="text" name="message_length" value="{MESSAGE_LENGTH}" size="4" maxlength="4" onkeypress="return m3_numericKey(event,true);" /></td>
\r
61 <tr><td align="right">
\r
62 <input type="button" class="button" onclick="updateItem();" value="更新" />
\r