Masato Kikuhara
en-sf****@users*****
2005年 6月 30日 (木) 07:57:14 JST
Index: affelio/apps/diary/templates/edit_diary_edit.tmpl diff -u affelio/apps/diary/templates/edit_diary_edit.tmpl:1.2 affelio/apps/diary/templates/edit_diary_edit.tmpl:1.3 --- affelio/apps/diary/templates/edit_diary_edit.tmpl:1.2 Mon Jun 27 18:45:04 2005 +++ affelio/apps/diary/templates/edit_diary_edit.tmpl Thu Jun 30 07:57:14 2005 @@ -1,10 +1,12 @@ <!-- ç·¨éç»é¢ --> -<form method="post" action="edit_diary.cgi"> +<form method="post" action="edit_diary.cgi" enctype="multipart/form-data"> <table> <tr><th>æ¥è¨ã®ç·¨é (<TMPL_VAR NAME="DATETIME">)</th></tr> <tr><td align="right">ã¿ã¤ãã«: <input class="text" type="text" name="title" value="<TMPL_VAR ESCAPE="HTML" NAME="TITLE">" /></td></tr> <tr><td align="right"><textarea name="contents" rows="15" cols="50"><TMPL_VAR NAME="CONTENTS"></textarea></td></tr> +<tr><td>ç»å 1<input type="file" name="filename_1" size="32"></td><tr> +<tr><td>ç»å 2<input type="file" name="filename_2" size="32"></td><tr> <tr><td align="right"><input type="submit" name="edit" value="ç·¨é" /></td></tr> </table> <br /> Index: affelio/apps/diary/templates/list_diary.tmpl diff -u affelio/apps/diary/templates/list_diary.tmpl:1.2 affelio/apps/diary/templates/list_diary.tmpl:1.3 --- affelio/apps/diary/templates/list_diary.tmpl:1.2 Sun Jun 26 13:08:35 2005 +++ affelio/apps/diary/templates/list_diary.tmpl Thu Jun 30 07:57:14 2005 @@ -4,9 +4,9 @@ <TMPL_LOOP NAME="ENTRIES"> <table id="diary"> -<tr><th><TMPL_VAR ESCAPE="HTML" NAME="TITLE"></th></tr> +<tr><th><TMPL_VAR NAME="TITLE"></th></tr> <tr><td><div id="date"><TMPL_VAR NAME="MONTH">æ<TMPL_VAR NAME="DAY">æ¥</div></td></tr> -<tr><td id="contents"><p><TMPL_VAR NAME="CONTENTS"></p></td></tr> +<tr><td id="contents"><TMPL_VAR NAME="IMAGES"><p><TMPL_VAR NAME="CONTENTS"></p></td></tr> <tr><td> <small> <a href="show_diary.cgi?id=<TMPL_VAR NAME="ID">">ã³ã¡ã³ãï¼<TMPL_VAR NAME="COMMENT_NO">ï¼</a>ï½ Index: affelio/apps/diary/templates/menu.tmpl diff -u affelio/apps/diary/templates/menu.tmpl:1.5 affelio/apps/diary/templates/menu.tmpl:1.6 --- affelio/apps/diary/templates/menu.tmpl:1.5 Thu Jun 30 02:38:51 2005 +++ affelio/apps/diary/templates/menu.tmpl Thu Jun 30 07:57:14 2005 @@ -66,7 +66,7 @@ <p> <br /> -<a href="get_rss.cgi"><img src="./resource/xml.gif" /></a> +<a href="get_rss.cgi"><img src="./resource/xml.gif" border="0" /></a> </p> <p><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></p> Index: affelio/apps/diary/templates/owner.tmpl diff -u affelio/apps/diary/templates/owner.tmpl:1.1 affelio/apps/diary/templates/owner.tmpl:1.2 --- affelio/apps/diary/templates/owner.tmpl:1.1 Thu Jun 30 02:38:51 2005 +++ affelio/apps/diary/templates/owner.tmpl Thu Jun 30 07:57:14 2005 @@ -7,11 +7,25 @@ <input type="radio" name="type" value="normal" checked /> éå¸¸ã®æ¥è¨ãå©ç¨ <br /> -<input type="radio" name="type" value="import" /> +<input type="radio" name="type" value="import" <TMPL_IF NAME="NO_PARSER">disabled</TMPL_IF> /> å¤é¨ããã°ã®ï¼²ï¼¤ï¼¦ãã¤ã³ãã¼ã -(URL: <input type="text" name="url" />) +(URL: <input type="text" name="url" <TMPL_IF NAME="NO_PARSER">readonly</TMPL_IF> />) +<TMPL_IF NAME="NO_PARSER"> +<br /><small>(ãã®æ©è½ãå©ç¨ããã«ã¯XML::Parserã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ã)</small> +</TMPL_IF> </p> <input type="submit" name="save_state" value="è¨å®" /> </form> <p><br /></p> + +<form method="post" action="write_diary.cgi"> +<table boerder="1"> +<tr><th colspan="2">æ¥è¨ãæ¸ã</th></tr> +<tr><td>ã¿ã¤ãã«</td><td><input class="text" type="text" name="title" value="<TMPL_VAR ESCAPE='HTML' NAME='TITLE'>" /></td></tr> +<tr><td colspan="2"><textarea name="contents" rows="15" cols="50"><TMPL_VAR ESCAPE="HTML" NAME="CONTENTS"></textarea></td></tr> +<tr><td colspan="2" align="center"><input type="submit" name="confirm" value="確èªç»é¢" /></td></tr> +</table> +</form> + +<p><br /></p> Index: affelio/apps/diary/templates/show_diary.tmpl diff -u affelio/apps/diary/templates/show_diary.tmpl:1.4 affelio/apps/diary/templates/show_diary.tmpl:1.5 --- affelio/apps/diary/templates/show_diary.tmpl:1.4 Mon Jun 27 18:45:04 2005 +++ affelio/apps/diary/templates/show_diary.tmpl Thu Jun 30 07:57:14 2005 @@ -2,9 +2,9 @@ <!-- æ¥è¨ --> <table id="diary"> -<tr><th><TMPL_VAR ESCAPE="HTML" NAME="TITLE"></th></tr> +<tr><th><TMPL_VAR NAME="TITLE"></th></tr> <tr><td><div id="date"><TMPL_VAR NAME="MONTH">æ<TMPL_VAR NAME="DAY">æ¥</div></td></tr> -<tr><td id="contents"><p><TMPL_VAR NAME="CONTENTS"></p></td></tr> +<tr><td id="contents"><TMPL_VAR NAME="IMAGES"><p><TMPL_VAR NAME="CONTENTS"></p></td></tr> </table> <!-- ã³ã¡ã³ã --> Index: affelio/apps/diary/templates/write_comment_confirm.tmpl diff -u affelio/apps/diary/templates/write_comment_confirm.tmpl:1.3 affelio/apps/diary/templates/write_comment_confirm.tmpl:1.4 --- affelio/apps/diary/templates/write_comment_confirm.tmpl:1.3 Thu Jun 30 02:38:51 2005 +++ affelio/apps/diary/templates/write_comment_confirm.tmpl Thu Jun 30 07:57:14 2005 @@ -3,6 +3,9 @@ <table> <tr><th>以ä¸ã®å 容ã§ã³ã¡ã³ããã¾ã</th></tr> <tr><td><TMPL_VAR NAME="COMMENT_SHOW"></td></tr> +<TMPL_IF NAME="REQUIRE_NAME"> +<tr><td><p><br />ãååï¼ <input type="text" name="visitor_name"></p></td></tr> +</TMPL_IF> <tr><td align="right"><input type="submit" name="comment_commit" value="ã³ã¡ã³ã" /></td></tr> </table> <input type="hidden" name="id" value="<TMPL_VAR NAME='ID'>" /> Index: affelio/apps/diary/templates/write_diary_confirm.tmpl diff -u affelio/apps/diary/templates/write_diary_confirm.tmpl:1.3 affelio/apps/diary/templates/write_diary_confirm.tmpl:1.4 --- affelio/apps/diary/templates/write_diary_confirm.tmpl:1.3 Thu Jun 30 02:38:51 2005 +++ affelio/apps/diary/templates/write_diary_confirm.tmpl Thu Jun 30 07:57:14 2005 @@ -1,9 +1,11 @@ <!-- 確èªç»é¢ --> -<form method="post" action="write_diary.cgi"> +<form method="post" action="write_diary.cgi" enctype="multipart/form-data"> <table> <tr><th>以ä¸ã®å å®¹ã§æ¥è¨ã追å ãã¾ã</th></tr> <tr><td><h3><TMPL_VAR NAME="TITLE_SHOW"></h3></td></tr> <tr><td><p><br /><TMPL_VAR NAME="CONTENTS_SHOW"><br /></p></td></tr> +<tr><td>ç»å 1<input type="file" name="filename_1" size="32"></td><tr> +<tr><td>ç»å 2<input type="file" name="filename_2" size="32"></td><tr> <tr><td align="center"> <input type="submit" name="submit" value="追å "> <input type="submit" name="noname" value="ä¿®æ£"> Index: affelio/apps/diary/templates/write_diary_edit.tmpl diff -u affelio/apps/diary/templates/write_diary_edit.tmpl:1.4 affelio/apps/diary/templates/write_diary_edit.tmpl:1.5 --- affelio/apps/diary/templates/write_diary_edit.tmpl:1.4 Thu Jun 30 03:00:43 2005 +++ affelio/apps/diary/templates/write_diary_edit.tmpl Thu Jun 30 07:57:14 2005 @@ -1,5 +1,5 @@ <!-- ç·¨éç»é¢ --> -<form method="post" action="write_diary.cgi"> +<form method="post" enctype="multipart/form-data" action="write_diary.cgi"> <table boerder="1"> <tr><th colspan="2">æ¥è¨ãæ¸ã</th></tr> <tr><td>ã¿ã¤ãã«</td><td><input class="text" type="text" name="title" value="<TMPL_VAR ESCAPE='HTML' NAME='TITLE'>" /></td></tr>