Yoshihisa Fukuhara
higef****@users*****
2006年 3月 3日 (金) 20:19:58 JST
Index: affelio/apps/diary/templates/write_diary_done.tmpl diff -u affelio/apps/diary/templates/write_diary_done.tmpl:1.1 affelio/apps/diary/templates/write_diary_done.tmpl:1.2 --- affelio/apps/diary/templates/write_diary_done.tmpl:1.1 Wed Mar 1 14:40:36 2006 +++ affelio/apps/diary/templates/write_diary_done.tmpl Fri Mar 3 20:19:58 2006 @@ -2,7 +2,13 @@ <div class="afPubContentHeading"> <table border="0" cellspacing="0"> -<tr><td align="left"><AF_M text="A contribution of an article was completed."></td></tr> +<tr><td align="left"> +<TMPL_IF NAME="DELETE"> +<AF_M text="Done."> +<TMPL_ELSE> +<AF_M text="A contribution of an article was completed."> +</TMPL_IF> +</td></tr> </table> </div><!-- afPubContentHeading --> @@ -16,4 +22,4 @@ </div> </form> -</div> \ No newline at end of file +</div> Index: affelio/apps/diary/templates/write_diary_edit.tmpl diff -u affelio/apps/diary/templates/write_diary_edit.tmpl:1.13 affelio/apps/diary/templates/write_diary_edit.tmpl:1.14 --- affelio/apps/diary/templates/write_diary_edit.tmpl:1.13 Fri Mar 3 11:50:36 2006 +++ affelio/apps/diary/templates/write_diary_edit.tmpl Fri Mar 3 20:19:58 2006 @@ -48,6 +48,22 @@ </TMPL_IF> <input type="button" name="preview_btn" value="<AF_M text='Preview'>" onClick="previewDiary()" /> <input type="submit" name="submit" value="<AF_M text='Post'>" /> +<TMPL_IF NAME="EDIT"> + + + + + + + + + + + + + +<input type="submit" name="delete" value="<AF_M text='Delete'>" /> +</TMPL_IF> </td></tr> </table>