[xoops-cvslog 1827] CVS update: xoops2jp/html/modules/user/templates

Back to archive index

Minahito minah****@users*****
2006年 1月 17日 (火) 19:40:39 JST


Index: xoops2jp/html/modules/user/templates/user_edituser.html
diff -u xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.3
--- xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.2	Tue Nov  8 18:58:53 2005
+++ xoops2jp/html/modules/user/templates/user_edituser.html	Tue Jan 17 19:40:39 2006
@@ -1,4 +1,4 @@
-<a href="userinfo.php?uid=<{$actionForm->getVar('uid')}>"><{$smarty.const._US_PROFILE}></a>&nbsp;<span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;<{$smarty.const._US_EDITPROFILE}><br /><br />
+<a href="./index.php?action=UserInfo&amp;uid=<{$actionForm->get('uid')}>"><{$smarty.const._US_PROFILE}></a>&nbsp;<span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;<{$smarty.const._US_EDITPROFILE}><br /><br />
 <{if $actionForm->hasError()}>
 	<ul>
 		<{foreach item=message from=$actionForm->getErrorMessages()}>
@@ -6,7 +6,9 @@
 		<{/foreach}>
 	</ul>
 <{/if}>
-<form action="edituser.php" method="post">
+<form action="./index.php?action=EditUser" method="post">
+	<{xoops_token form=$actionForm}>
+	<{xoops_input name=uid type=hidden value=$actionForm->get('uid')}>
 	<table class="outer" cellspacing="1" width="100%">
 		<tr><th colspan="2"><{$smarty.const._US_EDITPROFILE}></th></tr>
 		<tr>
@@ -107,7 +109,6 @@
 		<tr>
 			<td class="head">&nbsp;</td>
 			<td class="<{cycle values="odd,even"}>">
-				<input type="hidden" name="uid" value="<{$actionForm->getVar('uid')}>" />
 				<input type="submit" value="<{$smarty.const._US_SAVECHANGES}>" />
 			</td>
 		</tr>


xoops-cvslog メーリングリストの案内
Back to archive index