[Affelio-cvs 1184] CVS update: affelio/apps/bb/templates

Back to archive index

Yoshihisa Fukuhara higef****@users*****
2006年 3月 23日 (木) 12:48:37 JST


Index: affelio/apps/bb/templates/category.tmpl
diff -u /dev/null affelio/apps/bb/templates/category.tmpl:1.1
--- /dev/null	Thu Mar 23 12:48:37 2006
+++ affelio/apps/bb/templates/category.tmpl	Thu Mar 23 12:48:37 2006
@@ -0,0 +1,229 @@
+<!-- New -->
+<TMPL_IF NAME="NEW">
+<div class="afPubContentHeading">
+	<table border="0" cellspacing="0" width=100%>
+		<tr><td align="left">
+		<AF_M text="Add new category">
+		</td></tr>
+	</table>
+</div>
+ 	<div class="afPubContent">
+ 		<div class="afPubContentBlock">
+			<div class="afAppBbTable">
+				<form method="post" action="index.cgi">
+					<table>
+						<tr>
+							<td>
+								<AF_M text="Title">
+							</td>
+							<td>
+								<input type="text" size="80" name="title" value="<TMPL_VAR NAME="TITLE">">
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<AF_M text="Nickname">
+							</td>
+							<td>
+								<TMPL_VAR NAME="USER">
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<AF_M text="Affelio address">
+							</td>
+							<td>
+								<TMPL_VAR NAME="AFID">
+							</td>
+						</tr>
+						<TMPL_IF NAME="PWD">
+							<tr>
+								<td>
+									<AF_M text="Password"></td><td><input type="password" name="pwd">
+								</td>
+							</tr>
+						</TMPL_IF>
+						<tr>
+							<td>&nbsp;</td>
+							<td>
+								<input type="hidden" name="mode" value="category" />
+								<input type="hidden" name="action" value="confirm_category" />
+								<input type="submit" name="confirm_category" value="<AF_M text="Confirm">" />
+							</td>
+						</tr>
+					</table>
+				</form>
+			</div>
+		</div>
+	</div>
+</TMPL_IF>
+
+<!-- Edit -->
+<TMPL_IF NAME="EDIT">
+<div class="afPubContentHeading">
+	<table border="0" cellspacing="0" width=100%>
+		<tr><td align="left">
+		<AF_M text="Update the category">
+		</td></tr>
+	</table>
+</div>
+ 	<div class="afPubContent">
+ 		<div class="afPubContentBlock">
+			<div class="afAppBbTable">
+				<form method="post" action="index.cgi">
+					<table>
+						<tr>
+							<td>
+								<AF_M text="Title">
+							</td>
+							<td>
+								<input type="text" size="80" name="title" value="<TMPL_VAR NAME="TITLE">">
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<AF_M text="Nickname">
+							</td>
+							<td>
+								<TMPL_VAR NAME="USER">
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<AF_M text="Affelio address">
+							</td>
+							<td>
+								<TMPL_VAR NAME="AFID">
+							</td>
+						</tr>
+						<TMPL_IF NAME="PWD">
+							<tr>
+								<td>
+									<AF_M text="Password"></td><td><input type="password" name="pwd">
+								</td>
+							</tr>
+						</TMPL_IF>
+						<tr>
+							<td>
+								<AF_M text="Action">
+							</td>
+							<td>
+								<select name="action">
+									<option value="update_category"><AF_M text="Update"></option>
+									<TMPL_IF NAME="CAN_DELETE">
+									<option value="delete_category"><AF_M text="Delete"></option>
+									</TMPL_IF>
+								</select>
+							</td>
+						</tr>
+						<tr>
+							<td>&nbsp;</td>
+							<td>
+								<input type="hidden" name="mode" value="category" />
+								<input type="hidden" name="c_id" value="<TMPL_VAR NAME="C_ID">" />
+								<input type="submit" />
+							</td>
+						</tr>
+					</table>
+				</form>
+			</div>
+		</div>
+	</div>
+</TMPL_IF>
+
+
+<!-- Confirm -->
+<TMPL_IF NAME="CONFIRM">
+<div class="afPubContentHeading">
+	<table border="0" cellspacing="0" width=100%>
+		<tr><td align="left">
+		<TMPL_IF NAME="UPDATE">
+		<AF_M text="Update the category with following information."></td></tr>
+		<TMPL_ELSE>
+		<AF_M text="Add new category with following information."></td></tr>
+		</TMPL_IF>
+	</table>
+</div>
+ 	<div class="afPubContent">
+ 		<div class="afPubContentBlock">
+			<div class="afAppBbTable">
+				<form method="post" action="index.cgi">
+					<table>
+						<tr>
+							<td>
+								<AF_M text="Title">
+							</td>
+							<td>
+								<TMPL_VAR ESCAPE="HTML" NAME="TITLE">
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<AF_M text="Nickname">
+							</td>
+							<td>
+								<TMPL_VAR ESCAPE="HTML" NAME="USER">
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<AF_M text="Affelio address">
+							</td>
+							<td>
+								<TMPL_VAR NAME="AFID">
+							</td>
+						</tr>
+						<tr>
+							<td>&nbsp;</td>
+							<td>
+			<input type="hidden" name="title" value="<TMPL_VAR ESCAPE="HTML" NAME="TITLE">" />
+			<input type="hidden" name="mode" value="category" />	
+			<input type="hidden" name="action" value="submit_category" />	
+			<TMPL_IF NAME="UPDATE">
+			<input type="hidden" name="sub_action" value="update" />
+			<input type="hidden" name="c_id" value="<TMPL_VAR NAME="C_ID">" />
+			</TMPL_IF>
+			<input type="submit" name="submit" value="<AF_M text="Submit">">
+			</form>
+			<form method="post" action="index.cgi">
+			<input type="hidden" name="title" value="<TMPL_VAR ESCAPE="HTML" NAME="TITLE">" />
+			<input type="hidden" name="mode" value="category" />	
+			<input type="hidden" name="action" value="add_category" />	
+			<input type="submit" name="noname" value="<AF_M text="Return">">
+							</td>
+						</tr>
+					</table>
+				</form>
+			</div>
+		</div>
+	</div>
+</TMPL_IF>
+
+<!-- Done -->
+<TMPL_IF NAME="SUBMIT">
+<div class="afPubContentHeading">
+	<table border="0" cellspacing="0" width=100%>
+		<tr><td align="left">
+		<TMPL_IF NAME="DELETE">
+		<AF_M text="The category was deleted.">
+		<TMPL_ELSE>		
+			<TMPL_IF NAME="UPDATE">
+			<AF_M text="The category was updated.">
+			<TMPL_ELSE>
+			<AF_M text="New category was created.">
+			</TMPL_IF>
+		</TMPL_IF>
+</td></tr>
+	</table>
+</div>
+<div class="afPubContent">
+	<form method="post" action="index.cgi">
+	<div class="afPubMessageTable">
+	<table>
+		<tr><td><AF_M text="Return to the top page."><BR><br><input type="submit" name="noname" value="<AF_M text="Return">" /></td></tr>
+	</table>
+	</div>
+	</form>
+</div>
+</TMPL_IF>
+


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