1 <patTemplate:tmpl name="_widget">
\r
2 <script type="text/javascript">
\r
4 function updateProfile(){
\r
5 if (!window.confirm('プロフィールを更新しますか?')) return false;
\r
6 document.main.act.value = 'update';
\r
7 document.main.submit();
\r
10 function registProfile(){
\r
11 if (!window.confirm('プロフィールを登録しますか?')) return false;
\r
12 document.main.act.value = 'add';
\r
13 document.main.submit();
\r
16 function uploadAvatar(){
\r
17 if (!window.confirm('アバターをアップロードしますか?')) return false;
\r
18 document.upload.act.value = 'upload_avatar';
\r
19 document.upload.submit();
\r
24 var image = new Image();
\r
25 image.src = $("#{AVATAR_ID}").attr("src");
\r
29 <div id="{CSS_ID}" style="{BLOG_STYLE}" >
\r
30 <patTemplate:tmpl name="top_link_area" visibility="hidden"><div style="{LINK_STYLE_TOP}"><a href="{MYPAGE_URL}"><b>投稿</b></a></div></patTemplate:tmpl>
\r
31 <div align="center">
\r
32 <!-- m3:ErrorMessage -->
\r
33 <div style="{MAKE_THREAD_STYLE}">
\r
34 <form method="post" class="form" name="main">
\r
35 <input type="hidden" name="task" value="profile" />
\r
36 <input type="hidden" name="act" />
\r
37 <input type="hidden" name="ticket" value="{TICKET}" />
\r
38 <fieldset class="chacha_profile">
\r
39 <legend>{PAGE_TITLE}</legend>
\r
41 <table border="0" cellpadding="1" width="100%">
\r
42 <tr><td style="border:none;width:25%;white-space:nowrap;">ID:</td><td style="border:none;width:75%;">{ID}</td></tr>
\r
43 <tr><td style="border:none;white-space:nowrap;">ニックネーム:</td><td style="border:none;white-space:nowrap;"><input type="text" name="name" size="40" maxlength="40" value="{NAME}" style="width:60%;" {NAME_DISABLED}/>
\r
44 <patTemplate:tmpl name="name_required_area" visibility="hidden"> <font color="red">*必須</font></patTemplate:tmpl></td></tr>
\r
45 <patTemplate:tmpl name="email_area" visibility="hidden">
\r
46 <tr><td style="border:none;white-space:nowrap;">Eメール:</td><td style="border:none;white-space:nowrap;"><patTemplate:tmpl name="show_email_area" visibility="hidden"><input type="text" name="email" size="40" maxlength="40" value="{EMAIL}" style="width:60%;" {EMAIL_DISABLED}/> <input type="checkbox" name="show_email" {SHOW_EMAIL} />公開する</patTemplate:tmpl>{EMAIL}</td></tr>
\r
48 <tr><td style="border:none;white-space:nowrap;">URL:</td><td style="border:none;"><patTemplate:tmpl name="url_area" visibility="hidden"><input type="text" name="url" size="40" maxlength="100" value="{URL}" style="width:60%;" {URL_DISABLED}/></patTemplate:tmpl>{URL}</td></tr>
\r
49 <tr><td colspan="2" style="border:none;">
\r
50 <patTemplate:tmpl name="add_area" visibility="hidden"><input type="button" class="button" onclick="registProfile();" value="登録" /></patTemplate:tmpl>
\r
51 <patTemplate:tmpl name="update_area" visibility="hidden"><input type="button" class="button" onclick="updateProfile();" value="更新" /></patTemplate:tmpl>
\r
56 <patTemplate:tmpl name="upload_area" visibility="hidden">
\r
57 <form enctype="multipart/form-data" method="post" name="upload">
\r
58 <input type="hidden" name="task" value="profile" />
\r
59 <input type="hidden" name="act" />
\r
60 <input type="hidden" name="ticket" value="{TICKET}" />
\r
62 <legend>アバター</legend>
\r
63 64x64のサイズのGIFまたはPNG、JPEGの画像をアップロードしてください<br />サイズの大きい画像は自動調整されます
\r
64 <table border="0" cellpadding="1" width="100%">
\r
65 <tr><td colspan="2" style="border:none;"><input type="file" name="upfile" size="50" /></td></tr>
\r
66 <tr><td colspan="2" style="border:none;"><input type="button" class="button" onclick="uploadAvatar();" value="アップロード" /></td></tr>
\r
73 <div style="{LINK_STYLE_BOTTOM}"><a href="{HOME_URL}"><b>ブログホーム</b></a></div>
\r