Masato Kikuhara
en-sf****@users*****
2005年 7月 12日 (火) 06:05:16 JST
Index: affelio/apps/diary/templates/edit_diary_edit.tmpl diff -u affelio/apps/diary/templates/edit_diary_edit.tmpl:1.6 affelio/apps/diary/templates/edit_diary_edit.tmpl:1.7 --- affelio/apps/diary/templates/edit_diary_edit.tmpl:1.6 Wed Jul 6 07:06:14 2005 +++ affelio/apps/diary/templates/edit_diary_edit.tmpl Tue Jul 12 06:05:16 2005 @@ -19,12 +19,14 @@ <table> <tr><td><AF_M text="Title">: <input class="text" type="text" name="title" value="<TMPL_VAR ESCAPE="HTML" NAME="TITLE">" size="32"></td></tr> <tr><td><textarea name="contents" rows="15" cols="50"><TMPL_VAR NAME="CONTENTS"></textarea></td></tr> +<tr><td><small><AF_M text="Allowed HTML tags:"> <br> <a> <b> <big> <blockquote> <em> <i> <p> <strong> <small> <u> <br> <AF_M text="Only href attribute is allowed in anchor tag"></small></td></tr> <tr><td><AF_M text="Image"> 1<input type="file" name="filename_1" size="32"></td></tr> <tr><td><AF_M text="Image"> 2<input type="file" name="filename_2" size="32"></td></tr> <tr><td><input type="checkbox" name="delete_images" value="delete"><AF_M text="Remove Image"></td></tr> <tr><td><AF_M text="Send Trackback Ping"><input type="text" name="tping_url" size="32"></td></tr> <tr><td><input type="submit" name="edit" value="<AF_M text='Update'>"></td></tr> </table> + </div><!-- afPubMessageTable --> </div><!-- afPubContentBlock --> Index: affelio/apps/diary/templates/menu.tmpl diff -u affelio/apps/diary/templates/menu.tmpl:1.13 affelio/apps/diary/templates/menu.tmpl:1.14 --- affelio/apps/diary/templates/menu.tmpl:1.13 Wed Jul 6 07:06:14 2005 +++ affelio/apps/diary/templates/menu.tmpl Tue Jul 12 06:05:16 2005 @@ -65,7 +65,11 @@ <TMPL_IF NAME="EDITABLE"> <div class="afPubContentBlock"> <div class="afPubContentBlockTitle">Import BLOG</div><!-- afPubContentBlockTitle --> +<TMPL_UNLESS NAME="NO_PARSER"> <a href="external_blog.cgi">blog</a> +<TMPL_ELSE> +<AF_M text="To use this feature, you need XML::Parser module on youre system"> +</TMPL_UNLESS> </div><!-- afPubContentBlock --> <br> </TMPL_IF> Index: affelio/apps/diary/templates/owner.tmpl diff -u affelio/apps/diary/templates/owner.tmpl:1.8 affelio/apps/diary/templates/owner.tmpl:1.9 --- affelio/apps/diary/templates/owner.tmpl:1.8 Wed Jul 6 07:06:14 2005 +++ affelio/apps/diary/templates/owner.tmpl Tue Jul 12 06:05:16 2005 @@ -6,6 +6,7 @@ <br> +<!-- Diary and RSS Settings --> <div class="afPubContentBlock"> <div class="afPubContentBlockTitle"> <AF_M text="Diary Configuration"> @@ -26,6 +27,21 @@ </form> </div> <br> + +<!-- Access Control --> +<TMPL_IF NAME="access_control_URL"> +<div class="afPubContentBlock"> +<div class="afPubContentBlockTitle"> +<AF_M text="Access Control"> +</div> +<p><a href="<TMPL_VAR NAME="access_control_URL">" target="_blank"> +<AF_M text="Access Control Page"> +</a></p> +</div> +<br> +</TMPL_IF> + +<!-- Write Diary --> <TMPL_IF NAME="SELECT_DIARY"> <form method="post" action="write_diary.cgi"> <div class="afPubContentBlock"> @@ -39,6 +55,7 @@ <tr><td><input class="text" type="text" name="title" size="40" value="<TMPL_VAR ESCAPE='HTML' NAME='TITLE'>" /></td></tr> <tr><th>Content</th></tr> <tr><td><textarea name="contents" rows="15" cols="50"><TMPL_VAR ESCAPE="HTML" NAME="CONTENTS"></textarea></td></tr> +<tr><td><small><AF_M text="Allowed HTML tags:"> <br> <a> <b> <big> <blockquote> <em> <i> <p> <strong> <small> <u> <br> <AF_M text="Only href attribute is allowed in anchor tag"></small></td></tr> <tr><td><input type="submit" name="confirm" value="<AF_M text='Confirm'>" /></td></tr> </table> </div> Index: affelio/apps/diary/templates/write_diary_edit.tmpl diff -u affelio/apps/diary/templates/write_diary_edit.tmpl:1.9 affelio/apps/diary/templates/write_diary_edit.tmpl:1.10 --- affelio/apps/diary/templates/write_diary_edit.tmpl:1.9 Wed Jul 6 07:06:14 2005 +++ affelio/apps/diary/templates/write_diary_edit.tmpl Tue Jul 12 06:05:16 2005 @@ -14,8 +14,10 @@ <tr><td><input class="text" type="text" size="50" name="title" value="<TMPL_VAR ESCAPE='HTML' NAME='TITLE'>" /></td></tr> <tr><th>Contents</th></tr> <tr><td><textarea name="contents" rows="15" cols="50"><TMPL_VAR ESCAPE="HTML" NAME="CONTENTS"></textarea></td></tr> +<tr><td><small><AF_M text="Allowed HTML tags:"> <br> <a> <b> <big> <blockquote> <em> <i> <p> <strong> <small> <u> <br> <AF_M text="Only href attribute is allowed in anchor tag"></small></td></tr> <tr><td><input type="submit" name="confirm" value="<AF_M text='Confirm'>" /></td></tr> </table> + </div> </div>