[Affelio-cvs 324] CVS update: affelio/apps/diary/templates

Back to archive index

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> />
 外部ブログのRDFをインポート
-(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>


Affelio-cvs メーリングリストの案内
Back to archive index