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

Back to archive index

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


Index: xoops2jp/html/modules/user/admin/templates/group_delete_confirm.html
diff -u xoops2jp/html/modules/user/admin/templates/group_delete_confirm.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/group_delete_confirm.html:removed
--- xoops2jp/html/modules/user/admin/templates/group_delete_confirm.html:1.1.2.2	Sun Jan  8 14:22:34 2006
+++ xoops2jp/html/modules/user/admin/templates/group_delete_confirm.html	Thu Jan 19 21:08:54 2006
@@ -1,35 +0,0 @@
-<h3>&raquo; <{$smarty.const._AD_USER_LANG_GROUP_LIST}></h3>
-
-<h4><{$smarty.const._AD_USER_LANG_GROUP_DELETE}></h4>
-
-<ul>
-  <li><{$smarty.const._AD_USER_LANG_GROUP_DELETE_ADVICE|replace:"_%s_":$group->getVar('name')}>
-  <li><{$smarty.const._AD_USER_LANG_GROUP_DELETE_ADVICE2}></li>
-</ul>
-
-<table class="outer" cellspacing="1">
-  <tr>
-    <th>&nbsp;</th>
-    <th><{$smarty.const._AD_USER_LANG_GROUP_GID}></th>
-    <th><{$smarty.const._AD_USER_LANG_GROUP_NAME}></th>
-    <th><{$smarty.const._AD_USER_LANG_GROUP_DESC}></th>
-    <th><{$smarty.const._AD_USER_LANG_GROUP_TYPE}></th>
-    <th><{$smarty.const._AD_USER_LANG_GROUP_AMMO}></th>
-  </tr>
-  <tr class="odd">
-    <td style="text-align:center;"><img src="<{"icons/group.gif"|theme}>" alt="group" /></td>
-    <td style="text-align:center;"><{$group->getVar('groupid')}></td>
-    <td><{$group->getVar('name')}></td>
-    <td><{$group->getVar('description')}></td>
-    <td><{$group->getVar('group_type')}></td>
-    <td style="text-align:center;"><{$group->getVar('user_count')}></td>
-  </tr>
-</table>
-
-<br />
-<form action="?action=GroupDelete" method="post">
-		<!--- ticket holder --->
-		<{xoops_input type=hidden name=groupid value=$group->getVar('groupid')}>
-		<input type="submit" value="<{$smarty.const._YES}>" class="formButton" />
-		<input type="button" value="<{$smarty.const._NO}>" onclick="javascript:history.back()" class="formButton" />
-</form>
Index: xoops2jp/html/modules/user/admin/templates/group_delete.html
diff -u /dev/null xoops2jp/html/modules/user/admin/templates/group_delete.html:1.1.2.1
--- /dev/null	Thu Jan 19 21:08:54 2006
+++ xoops2jp/html/modules/user/admin/templates/group_delete.html	Thu Jan 19 21:08:54 2006
@@ -0,0 +1,42 @@
+<h3>&raquo; <{$smarty.const._AD_USER_LANG_GROUP_LIST}></h3>
+
+<h4><{$smarty.const._AD_USER_LANG_GROUP_DELETE}></h4>
+
+<ul>
+  <li><{$smarty.const._AD_USER_LANG_GROUP_DELETE_ADVICE|replace:"_%s_":$object->getVar('name')}>
+  <li><{$smarty.const._AD_USER_LANG_GROUP_DELETE_ADVICE2}></li>
+</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>&nbsp;</th>
+    <th><{$smarty.const._AD_USER_LANG_GROUP_GID}></th>
+    <th><{$smarty.const._AD_USER_LANG_GROUP_NAME}></th>
+    <th><{$smarty.const._AD_USER_LANG_GROUP_DESC}></th>
+    <th><{$smarty.const._AD_USER_LANG_GROUP_TYPE}></th>
+    <th><{$smarty.const._AD_USER_LANG_GROUP_AMMO}></th>
+  </tr>
+  <tr class="odd">
+    <td style="text-align:center;"><img src="<{"icons/group.gif"|theme}>" alt="group" /></td>
+    <td style="text-align:center;"><{$object->getVar('groupid')}></td>
+    <td><{$object->getVar('name')}></td>
+    <td><{$object->getVar('description')}></td>
+    <td><{$object->getVar('group_type')}></td>
+    <td style="text-align:center;"><{$object->getVar('user_count')}></td>
+  </tr>
+</table>
+
+<br />
+<form action="?action=GroupDelete" method="post">
+        <{xoops_token form=$actionForm}>
+		<{xoops_input type=hidden name=groupid value=$object->getVar('groupid')}>
+		<input type="submit" value="<{$smarty.const._YES}>" class="formButton" />
+		<input type="button" value="<{$smarty.const._NO}>" onclick="javascript:history.back()" class="formButton" />
+</form>


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