Tadashi Okoshi
slash****@users*****
2005年 10月 25日 (火) 04:20:45 JST
Index: affelio_farm/admin/skelton/affelio/apps/album/templates/album.tmpl
diff -u affelio_farm/admin/skelton/affelio/apps/album/templates/album.tmpl:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/album/templates/album.tmpl:removed
--- affelio_farm/admin/skelton/affelio/apps/album/templates/album.tmpl:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/album/templates/album.tmpl Tue Oct 25 04:20:45 2005
@@ -1,160 +0,0 @@
-<TMPL_IF NAME="IMAGEMAGICK">
- <div class="afPubContent">
- <table>
- <tr><td>
- <AF_M text="Cannot create thumbnail. please install ImageMagick module.">
- </td></tr>
- </table>
- </div>
-</TMPL_IF>
-<TMPL_IF NAME="DONE_UPLOAD">
- <div class="afPubContent">
- <table>
- <tr><td>
- <TMPL_VAR NAME="UPLOAD_IMAGE"><AF_M text=" was uploaded">
- </td></tr>
- </table>
- </div>
-</TMPL_IF>
-
-<TMPL_IF NAME="EXIST_SAMEFILE">
- <div class="afPubContent">
- <table>
- <tr><td>
- <TMPL_VAR NAME="UPLOAD_IMAGE"><AF_M text=" is already exist."><br>
- <AF_M text="If you want overwrite it, you have to delete it before.">
- </td></tr>
- </table>
- </div>
-</TMPL_IF>
-
-<TMPL_IF NAME="NO_FILENAME">
- <div class="afPubContent">
- <table>
- <tr><td>
- <AF_M text="Select a picture.">
- </td></tr>
- </table>
- </div>
-</TMPL_IF>
-
-<TMPL_IF NAME="ERR_FILENAME">
- <div class="afPubContent">
- <table>
- <tr><td>
- <AF_M text="Please use English one byte characters.">
- </td></tr>
- </table>
- </div>
-</TMPL_IF>
-
-<div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left">
- <TMPL_VAR ESCAPE="HTML" NAME="TITLE">
- </td>
- <td align="right"><font size="-2">
- <TMPL_VAR NAME="YEAR">/<TMPL_VAR NAME="MONTH">/<TMPL_VAR NAME="DAY">:<AF_M text="Entry"> (<TMPL_VAR NAME="UP_YEAR">/<TMPL_VAR NAME="UP_MONTH">/<TMPL_VAR NAME="UP_DAY"> <AF_M text="Update">)</font>
- </td></tr>
- </table>
-</div>
-
-<div class="afPubContentBlock">
- <!-- Caption of the album -->
- <table>
- <tr><td id="contents"><p><TMPL_VAR NAME="CONTENTS"></p></td></tr>
- </table>
-
- <!-- thumbnails -->
- <center>
- <TMPL_IF NAME="HAS_IMAGE">
- <table class="photo_table">
- <TMPL_LOOP NAME="THUMBNAIL">
- <tr>
- <TMPL_LOOP NAME="IMG">
- <td class="photo_frame">
- <TMPL_IF NAME="IMAGE">
- <a href="album.cgi?mode=image_view&id=<TMPL_VAR NAME="ID2">&pkey=<TMPL_VAR NAME="PKEY">"><img src="show_image.cgi?id=<TMPL_VAR NAME="ID2">&image=<TMPL_VAR NAME="IMAGE">&type=thumbnail" border="0"></a>
- <TMPL_ELSE>
-
- </TMPL_IF>
- </td>
- </TMPL_LOOP>
- </tr>
- </TMPL_LOOP>
- </table>
- <TMPL_ELSE>
- <br><br>
- <div><AF_M text="No image"></div>
- </TMPL_IF>
- </center>
- <br>
-</div>
-<br>
-
-<TMPL_IF NAME="EDITABLE">
- <!-- Upload picture -->
- <FORM ENCTYPE="multipart/form-data" METHOD="POST" ACTION="album.cgi">
- <table border="0" cellpadding="5" width=100%>
- <tr><td>
- <div class="afPubContentBlock">
- <div class="afPubContentBlockTitle">
- <AF_M text="Add new picture">
- </div>
- <a href="javascript:void(0);" onClick="showHide('c0');">
- <font size="-2"><AF_M text="Write a caption"></font></a>
- <div class="sidehide" id="c0">
- <AF_M text="Title">:<br>
- <input class="text" type="text" name="title" /><br>
- <AF_M text="Comment">:<BR>
- <textarea name="comment" rows="15" cols="50"></textarea>
- <BR>
- </div><!--afPubContentBlockTitle-->
- <br><br>
- <INPUT TYPE="FILE" NAME="uploadingfile">
- <INPUT TYPE="hidden" name="id" value="<TMPL_VAR NAME="ID">">
- <INPUT TYPE="submit" name="image_upload" VALUE="<AF_M text="Upload">">
- <br>
- </div>
- </td></tr>
- </table>
- </FORM>
-</TMPL_IF>
-
-<!-- show comment -->
-<TMPL_IF NAME="HAS_COMMENTS">
- <table border="0" cellpadding="5" width=100%>
- <tr><td>
- <div class="afPubContentBlock">
- <div class="afPubContentBlockTitle">
- <AF_M text="Comment">
- </div>
- <br>
- <TMPL_LOOP NAME="COMMENTS">
- <TMPL_VAR NAME="COMMENT">
- <p><strong><TMPL_VAR NAME="UNAME"></strong> <small>(<TMPL_VAR NAME="COMMENT_TIME">)</small></p><hr>
- </TMPL_LOOP>
- </div>
- </td></tr>
- </table>
-</TMPL_IF>
-
-<!-- write a comment -->
-<TMPL_IF NAME="comment_write">
- <form method="post" action="album.cgi">
- <table border="0" cellpadding="5" width=100%>
- <tr><td>
- <div class="afPubContentBlock">
- <div class="afPubContentBlockTitle">
- <AF_M text="Please write your comment">
- </div>
- <br>
- <textarea name="comment" rows="5" cols="40"></textarea><br>
- <input type="hidden" name="mode" value="write_comment" />
- <input type="hidden" name="id" value="<TMPL_VAR NAME="ID">" />
- <input type="submit" name="comment_confirm" value="<AF_M text="Confirm">" />
- </div>
- </td></tr>
- </table>
- </form>
-</TMPL_IF>
Index: affelio_farm/admin/skelton/affelio/apps/album/templates/edit_caption.tmpl
diff -u affelio_farm/admin/skelton/affelio/apps/album/templates/edit_caption.tmpl:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/album/templates/edit_caption.tmpl:removed
--- affelio_farm/admin/skelton/affelio/apps/album/templates/edit_caption.tmpl:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/album/templates/edit_caption.tmpl Tue Oct 25 04:20:45 2005
@@ -1,49 +0,0 @@
-<!-- Edit mode -->
-<TMPL_IF NAME="EDIT">
- <div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left"><AF_M text="Edit picture information"></td>
- </tr></table>
- </div>
-
- <div class="afPubContent">
- <form method="post" action="album.cgi">
- <table>
- <tr><th align="left"><AF_M text="Title">:</th></tr>
- <tr><td><input class="text" type="text" name="title" value="<TMPL_VAR ESCAPE="HTML" NAME="TITLE">" /></td></tr>
- <tr><th align="left"><AF_M text="Comment">:</th></tr>
- <tr><td><textarea name="comment" rows="15" cols="40"><TMPL_VAR NAME="COMMENT"></textarea></td></tr>
- <tr><td>
- <input type="hidden" name="mode" value="edit_caption" />
- <input type="hidden" name="id" value="<TMPL_VAR NAME="ID">" />
- <input type="hidden" name="pkey" value="<TMPL_VAR NAME="PKEY">" />
- <input type="submit" name="edit" value="<AF_M text="Submit">" />
- </td></tr>
- </table>
- </form>
- </div>
-</TMPL_IF>
-
-<!-- Done edit -->
-<TMPL_IF NAME="DONE">
- <div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left">
- <AF_M text="Your comment was updated.">
- </td></tr>
- </table>
- </div>
- <div class="afPubContent">
- <form method="post" action="album.cgi">
- <input type="hidden" name="mode" value="image_view">
- <input type="hidden" name="id" value="<TMPL_VAR NAME="ID">">
- <input type="hidden" name="pkey" value="<TMPL_VAR NAME="PKEY">">
- <table>
- <tr><td>
- <br><br>
- <input type="submit" name="noname" value="<AF_M text="Return">" />
- </td></tr>
- </table>
- </form>
- </div>
-</TMPL_IF>
Index: affelio_farm/admin/skelton/affelio/apps/album/templates/error.tmpl
diff -u affelio_farm/admin/skelton/affelio/apps/album/templates/error.tmpl:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/album/templates/error.tmpl:removed
--- affelio_farm/admin/skelton/affelio/apps/album/templates/error.tmpl:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/album/templates/error.tmpl Tue Oct 25 04:20:45 2005
@@ -1,26 +0,0 @@
-<div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left">
- <AF_M text="Error">
- </td><td align="right">
- <font size="-2">(<TMPL_VAR NAME="V_TYPE"> <AF_M text="mode">)</font>
- <a href="javascript:void(0);" onClick="showHide('c0');">
- <font size="-2">login/logout</font></a>
- </td></tr>
- </table>
- <div class="sidehide" id="c0">
- <AF_M text="Current Login"> : <TMPL_VAR NAME="AF_ID"><BR>
- <AF_M text="Current mode"> :<TMPL_VAR NAME="V_TYPE">
- <BR>
- <FORM class="afPubLoginarea" ACTION="../../bin/loginexec.cgi" METHOD="POST">
- <AF_M text="Login ID">: <INPUT TYPE="text" NAME="username" SIZE="20">
- <AF_M text="Password">: <INPUT TYPE="password" NAME="password" SIZE="10">
- <INPUT TYPE="submit" NAME="button" VALUE="<AF_M text="Login">">
- <A HREF="../../bin/logoutexec.cgi"><AF_M text="Logout"></A>
- </FORM>
- </div>
-</div><!--afPubContentHeading-->
-
-<div class="information">
- <p><TMPL_VAR NAME="MSG"></p>
-</div>
Index: affelio_farm/admin/skelton/affelio/apps/album/templates/image_view.tmpl
diff -u affelio_farm/admin/skelton/affelio/apps/album/templates/image_view.tmpl:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/album/templates/image_view.tmpl:removed
--- affelio_farm/admin/skelton/affelio/apps/album/templates/image_view.tmpl:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/album/templates/image_view.tmpl Tue Oct 25 04:20:45 2005
@@ -1,65 +0,0 @@
-<div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left"><TMPL_VAR ESCAPE="HTML" NAME="TITLE"></td>
- <td align="right"><font size="-2">posted by <TMPL_VAR NAME="IMAGE_OWNER"></font></td>
- </tr>
- </table>
-</div>
-
-<div class="afPubContent">
-<!-- show image -->
- <TMPL_IF NAME="HAS_IMAGE">
- <div class="afPubContentBlock">
- <!-- title -->
- <TMPL_IF NAME="HAS_TITLE">
- <div class="afPubContentBlockTitle" id="ImageOverview"><TMPL_VAR NAME="IMAGE_TITLE"></div>
- </TMPL_IF>
- <center>
- <table border="0">
- <tr><td colspan="3" align="center">
- <img src="show_image.cgi?id=<TMPL_VAR NAME="ID">&image=<TMPL_VAR NAME="IMAGE">&type=large">
- </td></tr>
- <tr><td align="left">
- <TMPL_IF NAME="HAS_PREV">
- <a href="album.cgi?mode=image_view&id=<TMPL_VAR NAME="ID">&pkey=<TMPL_VAR NAME="PREV_IMAGE">"><<</a>
- <TMPL_ELSE>
-
- </TMPL_IF>
- </td><td align="center">
- <a href="album.cgi?id=<TMPL_VAR NAME="ID">"><AF_M text="Return to index"></a>
- </td><td align="right">
- <TMPL_IF NAME="HAS_NEXT">
- <a href="album.cgi?mode=image_view&id=<TMPL_VAR NAME="ID">&pkey=<TMPL_VAR NAME="NEXT_IMAGE">">>></a>
- <TMPL_ELSE>
-
- </TMPL_IF>
- </td></tr>
- </table>
- </center>
- </div>
- <!-- comment -->
- <br>
- <TMPL_IF NAME="HAS_COMMENT">
- <div class="afPubContentBlock">
- <table>
- <tr><td><TMPL_VAR NAME="IMAGE_COMMENT"></td></tr>
- </table>
- </div>
- </TMPL_IF>
-
- <TMPL_IF NAME="EDIT_COMMENT">
- <FORM action="album.cgi" method="post">
- <input type="hidden" name="mode" value="edit_caption">
- <input type="hidden" name="id" value="<TMPL_VAR NAME="ID">">
- <input type="hidden" name="pkey" value="<TMPL_VAR NAME="PKEY">">
- <input type="submit" name="comment_edit" value="<AF_M text="Edit the caption">">
- </FORM>
- </TMPL_IF>
-
- <TMPL_ELSE>
- <div>
- <br><AF_M text="No image">
- </div>
- </TMPL_IF>
-</div>
-
Index: affelio_farm/admin/skelton/affelio/apps/album/templates/index.tmpl
diff -u affelio_farm/admin/skelton/affelio/apps/album/templates/index.tmpl:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/album/templates/index.tmpl:removed
--- affelio_farm/admin/skelton/affelio/apps/album/templates/index.tmpl:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/album/templates/index.tmpl Tue Oct 25 04:20:45 2005
@@ -1,75 +0,0 @@
-<div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left"><TMPL_VAR ESCAPE="HTML" NAME="install_title"></td></tr>
- </table>
-</div>
-
-<div class="afPubModeList">
-<!--
- <a href="list_album.cgi">index</a> | <a href="list_album.cgi?mode=thumbnail">thumbnail</a>
--->
-</div>
-
-<!--==============================================-->
-<div class="afPubContent">
-<!--==============================================-->
- <TMPL_IF NAME="THUMB">
- <div class="afPubContentBlock">
- <!-- thumbnail -->
- <center>
- <table class="photo_table">
- <TMPL_LOOP NAME="THUMBNAIL">
- <tr>
- <TMPL_LOOP NAME="IMG">
- <td class="photo_frame">
- <TMPL_IF NAME="IMAGE">
- <a href="show_album.cgi?id=<TMPL_VAR NAME="ID2">"><img src="show_image.cgi?id=<TMPL_VAR NAME="ID2">&image=<TMPL_VAR NAME="IMAGE">&type=thumbnail" border="0"></a>
- <TMPL_ELSE>
-
- </TMPL_IF>
- </td>
- </TMPL_LOOP>
- </tr>
- </TMPL_LOOP>
- </table>
- </center>
- <br>
- </div>
- <br>
- </TMPL_IF>
-
-<table border="0" cellpadding="5" width=100%>
-<TMPL_LOOP NAME="ENTRIES">
- <tr>
- <td align="center" VALIGN="top" width="120">
- <a href="album.cgi?id=<TMPL_VAR NAME="ID">"><img src="show_image.cgi?id=<TMPL_VAR NAME="ID">&image=<TMPL_VAR NAME="IMAGE">&type=thumbnail" border="0"></a>
- </td>
- <td ALIGN="left" VALIGN="top">
- <div class="afPubContentBlock">
- <div class="afPubContentBlockTitle" id="AlbumOverview">
- <TMPL_VAR ESCAPE="HTML" NAME="TITLE">
- </div>
- <div class="afPubMessageTable">
- <TABLE><TR><TD>
- <TMPL_VAR NAME="CONTENTS">
- </TD></TR>
- <TR><TD style="text-align: right">
- <a href="album.cgi?id=<TMPL_VAR NAME="ID">"><AF_M text="Comment">(<TMPL_VAR NAME="COMMENT_NO">)</a>
-  
- <TMPL_VAR NAME="MONTH">/<TMPL_VAR NAME="DAY"> <AF_M text="Update">
- </TD></TR></TABLE>
- </div>
- </td>
-</tr>
-</TMPL_LOOP>
-</table>
-
-<TMPL_IF NAME="EDITABLE">
-<form method="post" action="owner.cgi">
-<p>
-<input type="hidden" name="mode" value="add_album" /></p><input type="submit" name="add_album" value="<AF_M text="Add new album">" /></p>
-</form>
-</TMPL_IF>
-
-</div>
-
Index: affelio_farm/admin/skelton/affelio/apps/album/templates/write_comment.tmpl
diff -u affelio_farm/admin/skelton/affelio/apps/album/templates/write_comment.tmpl:1.1.1.1 affelio_farm/admin/skelton/affelio/apps/album/templates/write_comment.tmpl:removed
--- affelio_farm/admin/skelton/affelio/apps/album/templates/write_comment.tmpl:1.1.1.1 Tue Oct 25 04:14:40 2005
+++ affelio_farm/admin/skelton/affelio/apps/album/templates/write_comment.tmpl Tue Oct 25 04:20:45 2005
@@ -1,51 +0,0 @@
-<!-- Confirm -->
-<TMPL_IF NAME="CONFIRM">
- <div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left">
- <AF_M text="Submit following comment">
- </td></tr>
- </table>
- </div>
- <div class="afPubContent">
- <form action="album.cgi" method="post">
- <div class="afPubMessageTable">
- <table>
- <tr><th align="left"><AF_M text="Your name">:</th></tr>
- <tr><td><TMPL_VAR NAME="USER_NAME"></td></tr>
- <tr><th align="left"><AF_M text="Comment">:</th></tr>
- <tr><td><TMPL_VAR NAME="COMMENT"></td></tr>
- <tr><td>
- <input type="hidden" name="mode" value="write_comment" />
- <input type="hidden" name="comment" value="<TMPL_VAR NAME="COMMENT">" />
- <input type="hidden" name="id" value="<TMPL_VAR NAME="ID">" />
- <input type="submit" name="comment_commit" value="<AF_M text="Submit">" /></td></tr>
- </table>
- </div>
- </form>
- </div>
-</TMPL_IF>
-
-<!-- Done -->
-<TMPL_IF NAME="COMMIT">
- <div class="afPubContentHeading">
- <table border="0" cellspacing="0" width=100%>
- <tr><td align="left">
- <AF_M text="Thank you for your comment.">
- </td></tr>
- </table>
- </div>
- <div class="afPubContent">
- <form action="album.cgi" method="post">
- <div class="afPubMessageTable">
- <table>
- <tr><td>
- <br><br>
- <input type="hidden" name="id" value="<TMPL_VAR NAME="ID">" />
- <input type="submit" value="<AF_M text="Return">" />
- </td></tr>
- </table>
- </div>
- </form>
- </div>
-</TMPL_IF>