[Affelio-cvs 1326] CVS update: affelio/apps/album/templates

Back to archive index

Yoshihisa Fukuhara higef****@users*****
2006年 6月 4日 (日) 10:48:08 JST


Index: affelio/apps/album/templates/album.tmpl
diff -u affelio/apps/album/templates/album.tmpl:1.3 affelio/apps/album/templates/album.tmpl:1.4
--- affelio/apps/album/templates/album.tmpl:1.3	Thu Aug 25 11:27:18 2005
+++ affelio/apps/album/templates/album.tmpl	Sun Jun  4 10:48:08 2006
@@ -74,7 +74,7 @@
 			<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>
+						<a href="index.cgi?mode=image_view&id=<TMPL_VAR NAME="ID2">&pkey=<TMPL_VAR NAME="PKEY">"><img src="index.cgi?mode=show_image&id=<TMPL_VAR NAME="ID2">&image=<TMPL_VAR NAME="IMAGE">&type=thumbnail" border="0"></a>
 					<TMPL_ELSE>
 						&nbsp;
 					</TMPL_IF>
@@ -94,7 +94,7 @@
 
 <TMPL_IF NAME="EDITABLE">
 	<!-- Upload picture -->
-	<FORM ENCTYPE="multipart/form-data" METHOD="POST" ACTION="album.cgi">
+	<FORM ENCTYPE="multipart/form-data" METHOD="POST" ACTION="index.cgi">
 		<table border="0" cellpadding="5" width=100%>
 		<tr><td>
   			<div class="afPubContentBlock">
@@ -112,6 +112,7 @@
 				</div><!--afPubContentBlockTitle-->
 				<br><br>
 				<INPUT TYPE="FILE" NAME="uploadingfile">
+				<input type="hidden" name="mode" value="default"  />
 				<INPUT TYPE="hidden" name="id" value="<TMPL_VAR NAME="ID">">
 				<INPUT TYPE="submit" name="image_upload" VALUE="<AF_M text="Upload">">
 				<br>
@@ -141,7 +142,7 @@
 
 <!-- write a comment -->
 <TMPL_IF NAME="comment_write">
-	<form method="post" action="album.cgi">
+	<form method="post" action="index.cgi">
 		<table border="0" cellpadding="5" width=100%>
 			<tr><td>
   				<div class="afPubContentBlock">
Index: affelio/apps/album/templates/edit_caption.tmpl
diff -u affelio/apps/album/templates/edit_caption.tmpl:1.2 affelio/apps/album/templates/edit_caption.tmpl:1.3
--- affelio/apps/album/templates/edit_caption.tmpl:1.2	Thu Aug 25 11:27:18 2005
+++ affelio/apps/album/templates/edit_caption.tmpl	Sun Jun  4 10:48:08 2006
@@ -7,7 +7,7 @@
 	</div>
 
 	<div class="afPubContent">
-		<form method="post" action="album.cgi">
+		<form method="post" action="index.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>
@@ -34,7 +34,7 @@
 		</table>
 	</div>
 	<div class="afPubContent">
-		<form method="post" action="album.cgi">
+		<form method="post" action="index.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">">
Index: affelio/apps/album/templates/image_view.tmpl
diff -u affelio/apps/album/templates/image_view.tmpl:1.2 affelio/apps/album/templates/image_view.tmpl:1.3
--- affelio/apps/album/templates/image_view.tmpl:1.2	Thu Aug 25 11:27:18 2005
+++ affelio/apps/album/templates/image_view.tmpl	Sun Jun  4 10:48:08 2006
@@ -17,19 +17,19 @@
 			<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">
+					<img src="index.cgi?mode=show_image&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">">&lt;&lt;</a>
+						<a href="index.cgi?mode=image_view&id=<TMPL_VAR NAME="ID">&pkey=<TMPL_VAR NAME="PREV_IMAGE">">&lt;&lt;</a>
 					<TMPL_ELSE>
 						&nbsp;
 					</TMPL_IF>
 				</td><td align="center">
-					<a href="album.cgi?id=<TMPL_VAR NAME="ID">"><AF_M text="Return to index"></a>
+					<a href="index.cgi?mode=default&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">">&gt;&gt;</a>
+						<a href="index.cgi?mode=image_view&id=<TMPL_VAR NAME="ID">&pkey=<TMPL_VAR NAME="NEXT_IMAGE">">&gt;&gt;</a>
 					<TMPL_ELSE>
 						&nbsp;
 					</TMPL_IF>
@@ -48,7 +48,7 @@
 		</TMPL_IF>
 
 		<TMPL_IF NAME="EDIT_COMMENT">
-			<FORM action="album.cgi" method="post">
+			<FORM action="index.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">">
Index: affelio/apps/album/templates/index.tmpl
diff -u affelio/apps/album/templates/index.tmpl:1.4 affelio/apps/album/templates/index.tmpl:1.5
--- affelio/apps/album/templates/index.tmpl:1.4	Thu Aug 25 11:27:18 2005
+++ affelio/apps/album/templates/index.tmpl	Sun Jun  4 10:48:08 2006
@@ -23,7 +23,7 @@
 				<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>
+						<a href="index.cgi?mode=default&id=<TMPL_VAR NAME="ID2">"><img src="index.cgi?mode=show_image&id=<TMPL_VAR NAME="ID2">&image=<TMPL_VAR NAME="IMAGE">&type=thumbnail" border="0"></a>
 					<TMPL_ELSE>
 						&nbsp;
 					</TMPL_IF>
@@ -42,7 +42,7 @@
 <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>
+	<a href="index.cgi?mode=default&id=<TMPL_VAR NAME="ID">"><img src="index.cgi?mode=show_image&id=<TMPL_VAR NAME="ID">&image=<TMPL_VAR NAME="IMAGE">&type=thumbnail" border="0"></a>
  	</td>
  	<td ALIGN="left" VALIGN="top">
   	<div class="afPubContentBlock">
@@ -54,7 +54,7 @@
   				<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>
+				<a href="index.cgi?mode=default&id=<TMPL_VAR NAME="ID">"><AF_M text="Comment">(<TMPL_VAR NAME="COMMENT_NO">)</a>
 &nbsp;&nbsp;&nbsp
   				<TMPL_VAR NAME="MONTH">/<TMPL_VAR NAME="DAY">&nbsp;<AF_M text="Update">
 			</TD></TR></TABLE>
@@ -65,7 +65,7 @@
 </table>
 
 <TMPL_IF NAME="EDITABLE">
-<form method="post" action="owner.cgi">
+<form method="post" action="admin.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>
Index: affelio/apps/album/templates/write_comment.tmpl
diff -u affelio/apps/album/templates/write_comment.tmpl:1.7 affelio/apps/album/templates/write_comment.tmpl:1.8
--- affelio/apps/album/templates/write_comment.tmpl:1.7	Thu Aug 25 11:27:18 2005
+++ affelio/apps/album/templates/write_comment.tmpl	Sun Jun  4 10:48:08 2006
@@ -8,7 +8,7 @@
 		</table>
 	</div>
   	<div class="afPubContent">
-		<form action="album.cgi" method="post">
+		<form action="index.cgi" method="post">
 			<div class="afPubMessageTable">
 			<table>
 				<tr><th align="left"><AF_M text="Your name">:</th></tr>
@@ -36,11 +36,12 @@
 		</table>
 	</div>
   	<div class="afPubContent">
-		<form action="album.cgi" method="post">
+		<form action="index.cgi" method="post">
 			<div class="afPubMessageTable">
 			<table>
 				<tr><td>
 					<br><br>
+					<input type="hidden" name="mode" value="default" />
 					<input type="hidden" name="id" value="<TMPL_VAR NAME="ID">" />
 					<input type="submit" value="<AF_M text="Return">" />
 				</td></tr>


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