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

Back to archive index

Minahito minah****@users*****
2006年 1月 19日 (木) 21:09:12 JST


Index: xoops2jp/html/modules/user/admin/templates/user_delete_confirm.html
diff -u xoops2jp/html/modules/user/admin/templates/user_delete_confirm.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/user_delete_confirm.html:removed
--- xoops2jp/html/modules/user/admin/templates/user_delete_confirm.html:1.1.2.2	Sun Jan  8 14:22:34 2006
+++ xoops2jp/html/modules/user/admin/templates/user_delete_confirm.html	Thu Jan 19 21:09:12 2006
@@ -1,49 +0,0 @@
-<h3>&raquo; <{$smarty.const._AD_USER_LANG_USER_LIST}></h3>
-
-<h4><{$smarty.const._AD_USER_LANG_USER_DELETE}></h4>
-
-<ul>
-  <li><{$smarty.const._AD_USER_LANG_USER_DELETE_ADVICE|replace:"_%s_":$user->getVar('uname')}>
-</ul>
-
-<table class="outer" cellspacing="1">
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_UID}></th>
-    <td class="odd"><{$user->getVar('uid')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_UNAME}></th>
-    <td class="even"><{$user->getVar('uname')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_NAME}></th>
-    <td class="odd"><{$user->getVar('name')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_REGDATE}></th>
-    <td class="even"><{$user->getVar('user_regdate')|xoops_formattimestamp}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_LASTLOGIN}></th>
-    <td class="odd"><{$user->getVar('last_login')|xoops_formattimestamp:l}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_POSTS}></th>
-    <td class="even"><{$user->getVar('posts')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_LEVEL}></th>
-    <td class="odd"><{$user->getVar('level')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
-    <td class="foot"><br />
-      <form action="?action=UserDelete" method="post">
-        <!--- ticket holder --->
-        <{xoops_input type=hidden name=uid value=$user->getVar('uid')}>
-        <input type="submit" value="<{$smarty.const._YES}>" class="formButton" />
-        <input type="button" value="<{$smarty.const._NO}>" onclick="javascript:history.back()" class="formButton" />
-     </form>
-    </td>
-  </tr>
-</table>
Index: xoops2jp/html/modules/user/admin/templates/user_delete.html
diff -u /dev/null xoops2jp/html/modules/user/admin/templates/user_delete.html:1.1.2.1
--- /dev/null	Thu Jan 19 21:09:12 2006
+++ xoops2jp/html/modules/user/admin/templates/user_delete.html	Thu Jan 19 21:09:12 2006
@@ -0,0 +1,57 @@
+<h3>&raquo; <{$smarty.const._AD_USER_LANG_USER_LIST}></h3>
+
+<h4><{$smarty.const._AD_USER_LANG_USER_DELETE}></h4>
+
+<ul>
+  <li><{$smarty.const._AD_USER_LANG_USER_DELETE_ADVICE|replace:"_%s_":$object->getVar('uname')}>
+</ul>
+
+<{if $actionForm->hasError()}>
+  <ul>
+    <{foreach item=message from=$actionForm->getErrorMessages()}>
+      <li><{$message|escape}></li>
+    <{/foreach}>
+  </ul>
+<{/if}>
+
+<table class="outer" cellspacing="1">
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_UID}></th>
+    <td class="odd"><{$object->getVar('uid')}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_UNAME}></th>
+    <td class="even"><{$object->getVar('uname')}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_NAME}></th>
+    <td class="odd"><{$object->getVar('name')}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_REGDATE}></th>
+    <td class="even"><{$object->getVar('user_regdate')|xoops_formattimestamp}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_LASTLOGIN}></th>
+    <td class="odd"><{$object->getVar('last_login')|xoops_formattimestamp:l}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_POSTS}></th>
+    <td class="even"><{$object->getVar('posts')}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_LEVEL}></th>
+    <td class="odd"><{$object->getVar('level')}></td>
+  </tr>
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
+    <td class="foot"><br />
+      <form action="?action=UserDelete" method="post">
+        <{xoops_token form=$actionForm}>
+        <{xoops_input type=hidden name=uid value=$object->getVar('uid')}>
+        <input type="submit" value="<{$smarty.const._YES}>" class="formButton" />
+        <input type="button" value="<{$smarty.const._NO}>" onclick="javascript:history.back()" class="formButton" />
+     </form>
+    </td>
+  </tr>
+</table>


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