1 | ({$inc_header|smarty:nodefaults}) |
---|
2 | ({ext_include file="inc_subnavi_adminSNSConfig.tpl"}) |
---|
3 | |
---|
4 | ({assign var="parent_page_name" value="プロフィール項目設定"}) |
---|
5 | ({capture name=parent_page_url})?m=({$module_name})&a=page_({$hash_tbl->hash('edit_c_profile')})({/capture}) |
---|
6 | |
---|
7 | ({assign var="page_name" value="プロフィール項目編集"}) |
---|
8 | ({ext_include file="inc_tree_adminSNSConfig.tpl"}) |
---|
9 | </div> |
---|
10 | |
---|
11 | ({*ここまで:navi*}) |
---|
12 | |
---|
13 | ({if $msg})<p class="actionMsg">({$msg})</p>({/if}) |
---|
14 | <h2>プロフィール項目編集</h2> |
---|
15 | <div class="contents"> |
---|
16 | |
---|
17 | <form action="./" method="post"> |
---|
18 | <table class="basicType2"> |
---|
19 | <tr> |
---|
20 | <th><input type="hidden" name="m" value="({$module_name})" /><input type="hidden" name="a" value="do_({$hash_tbl->hash('update_c_profile','do')})" /><input type="hidden" name="sessid" value="({$PHPSESSID})" /><input type="hidden" name="c_profile_id" value="({$requests.c_profile_id})" />項目名</th> |
---|
21 | <td><input type="text" class="basic" name="caption" value="({$c_profile.caption})" size="30" /></td> |
---|
22 | </tr> |
---|
23 | <tr> |
---|
24 | <th>識別名</th> |
---|
25 | <td><input type="text" class="basic" name="name" value="({$c_profile.name})" size="20" /> <span class="caution">※半角英数 と _ のみ(数値のみも不可)</span></td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <th>必須</th> |
---|
29 | <td><input type="checkbox" name="is_required" value="1"({if $c_profile.is_required}) checked="checked"({/if}) /></td> |
---|
30 | </tr> |
---|
31 | <tr> |
---|
32 | <th>公開設定の選択</th> |
---|
33 | <td> |
---|
34 | <label><input type="radio" name="public_flag_edit" value="0"({if !$c_profile.public_flag_edit}) checked="checked"({/if}) />固定</label> |
---|
35 | <label><input type="radio" name="public_flag_edit" value="1"({if $c_profile.public_flag_edit}) checked="checked"({/if}) />メンバー選択</label></td> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <th>公開設定<br>デフォルト値</th> |
---|
39 | <td><select class="basic" name="public_flag_default"> |
---|
40 | <option value="public"({if $c_profile.public_flag_default == 'public'}) selected="selected"({/if})>全員に公開</option> |
---|
41 | <option value="friend"({if $c_profile.public_flag_default == 'friend'}) selected="selected"({/if})>({$smarty.const.WORD_MY_FRIEND})まで公開</option> |
---|
42 | <option value="private"({if $c_profile.public_flag_default == 'private'}) selected="selected"({/if})>公開しない</option> |
---|
43 | </select></td> |
---|
44 | </tr> |
---|
45 | <tr> |
---|
46 | <th>並び順</th> |
---|
47 | <td><input type="text" class="basic" name="sort_order" value="({$c_profile.sort_order})" size="10" /></td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <th>新規登録</th> |
---|
51 | <td> |
---|
52 | <label><input type="radio" name="disp_regist" value="1"({if $c_profile.disp_regist}) checked="checked"({/if}) />表示する</label> |
---|
53 | <label><input type="radio" name="disp_regist" value="0"({if !$c_profile.disp_regist}) checked="checked"({/if}) />表示しない</label></td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <th>プロフィール変更</th> |
---|
57 | <td> |
---|
58 | <label><input type="radio" name="disp_config" value="1"({if $c_profile.disp_config}) checked="checked"({/if}) />表示する</label> |
---|
59 | <label><input type="radio" name="disp_config" value="0"({if !$c_profile.disp_config}) checked="checked"({/if}) />表示しない</label></td> |
---|
60 | </tr> |
---|
61 | <tr> |
---|
62 | <th>メンバー検索</th> |
---|
63 | <td> |
---|
64 | <label><input type="radio" name="disp_search" value="1"({if $c_profile.disp_search}) checked="checked"({/if}) />表示する</label> |
---|
65 | <label><input type="radio" name="disp_search" value="0"({if !$c_profile.disp_search}) checked="checked"({/if}) />表示しない</label></td> |
---|
66 | </tr> |
---|
67 | <tr> |
---|
68 | <th>説明</th> |
---|
69 | <td><input type="text" name="info" value="({$c_profile.info})" size="30"></td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <th>フォームタイプ</th> |
---|
73 | <td><select class="basic" name="form_type"> |
---|
74 | <option value="text"({if $c_profile.form_type == 'text'}) selected="selected"({/if})>テキスト</option> |
---|
75 | <option value="textlong"({if $c_profile.form_type == 'textlong'}) selected="selected"({/if})>テキスト(長)</option> |
---|
76 | <option value="textarea"({if $c_profile.form_type == 'textarea'}) selected="selected"({/if})>テキスト(複数行)</option> |
---|
77 | <option value="select"({if $c_profile.form_type == 'select'}) selected="selected"({/if})>単一選択(プルダウン)</option> |
---|
78 | <option value="radio"({if $c_profile.form_type == 'radio'}) selected="selected"({/if})>単一選択(ラジオボタン)</option> |
---|
79 | <option value="checkbox"({if $c_profile.form_type == 'checkbox'}) selected="selected"({/if})>複数選択(チェックボックス)</option> |
---|
80 | </select></td> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <td colspan="2" class="caution">以下の項目はフォームタイプが「テキスト」、「テキスト(長)」、「テキスト(複数行)」の場合のみ有効です。</td> |
---|
84 | </tr> |
---|
85 | <tr> |
---|
86 | <th>入力値タイプ</th> |
---|
87 | <td><select class="basic" name="val_type"> |
---|
88 | <option value="string"({if $c_profile.val_type == 'string'}) selected="selected"({/if})>文字列</option> |
---|
89 | <option value="int"({if $c_profile.val_type == 'int'}) selected="selected"({/if})>数値</option> |
---|
90 | <option value="regexp"({if $c_profile.val_type == 'regexp'}) selected="selected"({/if})>正規表現</option> |
---|
91 | </select></td> |
---|
92 | </tr> |
---|
93 | <tr> |
---|
94 | <th>最小値~最大値</th> |
---|
95 | <td><input type="text" class="basic" name="val_min" value="({if $c_profile.val_min != 0})({$c_profile.val_min})({/if})" size="10">~<input type="text" class="basic" name="val_max" value="({if $c_profile.val_max != 0})({$c_profile.val_max})({/if})" size="10" /><br /> |
---|
96 | <span class="caution">※入力値タイプが「数値」の場合は数値の範囲、それ以外の場合は(半角の)文字数</span></td> |
---|
97 | </tr> |
---|
98 | <tr> |
---|
99 | <th>正規表現</th> |
---|
100 | <td><input type="text" class="basic" name="val_regexp" value="({$c_profile.val_regexp})" size="30" /><br /> |
---|
101 | <span class="caution">※入力値タイプで「正規表現」を選んだ場合のみ有効(PHPのPerl互換(PCRE)正規表現関数を使用)<br />例: /^[a-c]\d+$/</span></td> |
---|
102 | </tr> |
---|
103 | </table> |
---|
104 | <p class="textBtn"><input type="submit" value="編集する" /></p> |
---|
105 | </form> |
---|
106 | <p class="groupLing"><a href="?m=({$module_name})&a=page_({$hash_tbl->hash('edit_c_profile')})">プロフィール項目設定へ戻る</a></p> |
---|
107 | ({$inc_footer|smarty:nodefaults}) |
---|