[xoops-cvslog 2088] CVS update: xoops2jp/html/modules/base/admin/templates

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 20:57:55 JST


Index: xoops2jp/html/modules/base/admin/templates/module_list_confirm.html
diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_list_confirm.html:1.1.2.1
--- /dev/null	Thu Feb  2 20:57:55 2006
+++ xoops2jp/html/modules/base/admin/templates/module_list_confirm.html	Thu Feb  2 20:57:54 2006
@@ -0,0 +1,78 @@
+<div class="adminnavi">
+  <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
+  &raquo;&raquo; <a href="./index.php?action=ModuleList"><{$smarty.const._MI_BASE_MENU_MODULELIST}></a>
+  &raquo;&raquo; <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>
+</div>
+
+<h3><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}></h3>
+
+<{if $actionForm->hasError()}>
+  <ul>
+    <{foreach item=message from=$actionForm->getErrorMessages()}>
+      <li><{$message|escape}></li>
+    <{/foreach}>
+  </ul>
+<{/if}>
+
+<form method="post">
+  <{xoops_token form=$actionForm}>
+  <{xoops_input type=hidden name=confirm value=1}>
+<table classs="outer">
+  <tr>
+    <th><{$smarty.const._MD_A_BASE_LANG_MID}></th>
+    <th><{$smarty.const._MD_A_BASE_LANG_NAME}></th>
+    <th><{$smarty.const._MD_A_BASE_LANG_WEIGHT}></th>
+    <th><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}></th>
+  </tr>
+
+<{foreach item=mid from=$mids}>
+  <tr class="<{cycle values='odd,even'}>" style="text-align:center;">
+    <td><{$mid}></td>
+    <td>
+      <{if $actionForm->get('name',$mid) == $moduleObjects[$mid]->getProperty('name')}>
+        <{$actionForm->get('name',$mid)|escape}>
+      <{else}>
+         (<{$moduleObjects[$mid]->getVar('name',e)}>) &raquo; <b style="color:#ff0000;"><{$actionForm->get('name',$mid)|escape}></b>
+      <{/if}>
+    </td>
+    <td>
+      <{if $actionForm->get('weight',$mid) == $moduleObjects[$mid]->getProperty('weight')}>
+        <{$actionForm->get('weight',$mid)|escape}>
+      <{else}>
+         (<{$moduleObjects[$mid]->getVar('weight')}>) &raquo; <b style="color:#ff0000;"><{$actionForm->get('weight',$mid)|escape}></b>
+      <{/if}>
+    </td>
+    <td>
+      <{if $actionForm->get('isactive',$mid) == $moduleObjects[$mid]->getProperty('isactive')}>
+        <{$smarty.const._MD_A_BASE_LANG_NO_CHANGE}>
+      <{else}>
+        (<{if $moduleObjects[$mid]->getProperty('isactive') == 1 }>
+          <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}>
+        <{else}>
+          <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}>
+        <{/if}>) 
+        &raquo;
+        <b style="color:#ff0000;">
+        <{if $actionForm->get('isactive',$mid) == 1}>
+          <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}>
+        <{else}>
+          <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}>
+        <{/if}></b>
+      <{/if}>
+    </td>
+  </tr>
+  <input type="hidden" name="name[<{$mid}>]" value="<{$actionForm->get('name',$mid)|escape}>" />
+  <input type="hidden" name="weight[<{$mid}>]" value="<{$actionForm->get('weight',$mid)|escape}>" />
+  <{if $actionForm->get('isactive',$mid)}>
+    <input type="hidden" name="isactive[<{$mid}>]" value="1" />
+  <{else}>
+    <input type="hidden" name="isactive[<{$mid}>]" value="0" />
+  <{/if}>
+<{/foreach}>
+  <tr>
+    <td class="foot" colspan="4">
+      <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" class="formButton" />
+    </td>
+  </tr>
+</table>
+</form>


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