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

Back to archive index

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


Index: xoops2jp/html/modules/user/admin/templates/ranks_edit.html
diff -u /dev/null xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.1
--- /dev/null	Thu Jan 19 21:08:43 2006
+++ xoops2jp/html/modules/user/admin/templates/ranks_edit.html	Thu Jan 19 21:08:43 2006
@@ -0,0 +1,58 @@
+<h3>&raquo; <{$smarty.const._AD_USER_LANG_RANK_LIST}></h3>
+
+<{if $actionForm->getVar('rank_id') }>
+  <h4><{$smarty.const._AD_USER_LANG_RANK_EDIT}></h4>
+<{else}>
+  <h4><{$smarty.const._AD_USER_LANG_RANK_NEW}></h4>
+<{/if}>
+
+<{if $actionForm->hasError()}>
+  <ul>
+    <{foreach item=message from=$actionForm->getErrorMessages()}>
+      <li><{$message|escape}></li>
+    <{/foreach}>
+  </ul>
+<{/if}>
+<form action="?action=RanksEdit" method="post" enctype="multipart/form-data">
+  <{xoops_token form=$actionForm}>
+  <{xoops_input type=hidden name=rank_id value=$actionForm->get('rank_id')}>
+  <table class="outer" cellspacing="1">
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_RANK_TITLE}></th>
+      <td class="odd">
+        <{xoops_input type=text name=rank_title value=$actionForm->getVar('rank_title')}>
+      </td>
+    </tr>
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_RANK_MIN}></th>
+      <td class="even">
+        <{xoops_input type=text name=rank_min value=$actionForm->getVar('rank_min')}>
+      </td>
+    </tr>
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_RANK_MAX}></th>
+      <td class="odd">
+        <{xoops_input type=text name=rank_max value=$actionForm->getVar('rank_max')}>
+      </td>
+    </tr>
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_RANK_SPECIAL}></th>
+      <td class="even">
+        <{xoops_input type=radio name=rank_special value=1 default=$actionForm->get('rank_special')}><{$smarty.const._YES}>
+        <{xoops_input type=radio name=rank_special value=0 default=$actionForm->get('rank_special')}><{$smarty.const._NO}>
+      </td>
+    </tr>
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_RANK_IMAGE}></th>
+      <td class="odd">
+        <input type="file" name="rank_image" />
+      </td>
+    </tr>
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
+      <td class="foot">
+        <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" />
+      </td>
+    </tr>
+  </table>
+</form>
Index: xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html
diff -u xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html:1.1.2.6 xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html:removed
--- xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html:1.1.2.6	Sun Jan  8 14:22:34 2006
+++ xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html	Thu Jan 19 21:08:43 2006
@@ -1,57 +0,0 @@
-<h3>&raquo; <{$smarty.const._AD_USER_LANG_RANK_LIST}></h3>
-
-<{if $actionForm->getVar('rank_id') }>
-  <h4><{$smarty.const._AD_USER_LANG_RANK_EDIT}></h4>
-<{else}>
-  <h4><{$smarty.const._AD_USER_LANG_RANK_NEW}></h4>
-<{/if}>
-
-<{if $actionForm->hasError()}>
-  <ul>
-    <{foreach item=message from=$actionForm->getErrorMessages()}>
-      <li><{$message|escape}></li>
-    <{/foreach}>
-  </ul>
-<{/if}>
-<form action="?action=RankEdit" method="post" enctype="multipart/form-data">
-  <{xoops_input type=hidden name=rank_id value=$actionForm->getVar('rank_id')}>
-  <table class="outer" cellspacing="1">
-    <tr>
-      <th><{$smarty.const._AD_USER_LANG_RANK_TITLE}></th>
-      <td class="odd">
-        <{xoops_input type=text name=rank_title value=$actionForm->getVar('rank_title')}>
-      </td>
-    </tr>
-    <tr>
-      <th><{$smarty.const._AD_USER_LANG_RANK_MIN}></th>
-      <td class="even">
-        <{xoops_input type=text name=rank_min value=$actionForm->getVar('rank_min')}>
-      </td>
-    </tr>
-    <tr>
-      <th><{$smarty.const._AD_USER_LANG_RANK_MAX}></th>
-      <td class="odd">
-        <{xoops_input type=text name=rank_max value=$actionForm->getVar('rank_max')}>
-      </td>
-    </tr>
-    <tr>
-      <th><{$smarty.const._AD_USER_LANG_RANK_SPECIAL}></th>
-      <td class="even">
-        <input type="radio" name="rank_special" value="5" <{if $actionForm->getVar('rank_special')==5}>checked<{/if}> /><{$smarty.const._YES}>
-        <input type="radio" name="rank_special" value="0" <{if $actionForm->getVar('rank_special')==0}>checked<{/if}> /><{$smarty.const._NO}>
-      </td>
-    </tr>
-    <tr>
-      <th><{$smarty.const._AD_USER_LANG_RANK_IMAGE}></th>
-      <td class="odd">
-        <input type="file" name="rank_image" />
-      </td>
-    </tr>
-    <tr>
-      <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
-      <td class="foot">
-        <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" />
-      </td>
-    </tr>
-  </table>
-</form>
Index: xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html
diff -u xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html:1.1.2.4 xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html:removed
--- xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html:1.1.2.4	Sun Jan  8 14:22:34 2006
+++ xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html	Thu Jan 19 21:08:43 2006
@@ -1,39 +0,0 @@
-<h3>&raquo; <{$smarty.const._AD_USER_LANG_RANK_LIST}></h3>
-
-<h4><{$smarty.const._AD_USER_LANG_DELETE_RANK}></h4>
-<ul>
-  <li><{$smarty.const._AD_USER_MESSAGE_CONFIRM_DELETE_RANK}></li>
-</ul>
-
-<table class="outer" cellspacing="1">
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_RANK_ID}></th>
-    <td class="odd"><{$rank->getVar('rank_id')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_RANK_TITLE}></th>
-    <td class="even"><{$rank->getVar('rank_title')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_RANK_MIN}></th>
-    <td class="odd"><{$rank->getVar('rank_min')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_RANK_MAX}></th>
-    <td class="even"><{$rank->getVar('rank_max')}></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_RANK_IMAGE}></th>
-    <td class="odd"><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>"/></td>
-  </tr>
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
-    <td class="foot"><br />
-      <form action="?action=RankDelete&amp;rank_id=<{$rank->getVar('rank_id')}>" method="post">
-        <!--- ticket holder --->
-        <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/ranks_delete.html
diff -u /dev/null xoops2jp/html/modules/user/admin/templates/ranks_delete.html:1.1.2.1
--- /dev/null	Thu Jan 19 21:08:43 2006
+++ xoops2jp/html/modules/user/admin/templates/ranks_delete.html	Thu Jan 19 21:08:43 2006
@@ -0,0 +1,43 @@
+<h3>&raquo; <{$smarty.const._AD_USER_LANG_RANK_LIST}></h3>
+
+<h4><{$smarty.const._AD_USER_LANG_DELETE_RANK}></h4>
+<ul>
+  <li><{$smarty.const._AD_USER_MESSAGE_CONFIRM_DELETE_RANK}></li>
+</ul>
+
+<table class="outer" cellspacing="1">
+    <tr>
+      <th style="width:30%;"><{$smarty.const._AD_USER_LANG_RANK_ID}></th>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('rank_id')}></td>
+    </tr>
+    <tr>
+      <th style="width:30%;"><{$smarty.const._AD_USER_LANG_RANK_TITLE}></th>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('rank_title')}></td>
+    </tr>
+    <tr>
+      <th style="width:30%;"><{$smarty.const._AD_USER_LANG_RANK_MIN}></th>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('rank_min')}></td>
+    </tr>
+    <tr>
+      <th style="width:30%;"><{$smarty.const._AD_USER_LANG_RANK_MAX}></th>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('rank_max')}></td>
+    </tr>
+    <tr>
+      <th style="width:30%;"><{$smarty.const._AD_USER_LANG_RANK_SPECIAL}></th>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('rank_special')}></td>
+    </tr>
+    <tr>
+      <th style="width:30%;"><{$smarty.const._AD_USER_LANG_RANK_IMAGE}></th>
+    <td class="odd"><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$object->getVar('rank_image')}>" alt="<{$object->getVar('rank_title')}>"/></td>
+    </tr>
+    <tr>
+      <td class="foot" colspan="2" style="text-align:center;"><br />
+        <form action="./index.php?action=RanksDelete" method="POST">
+          <{xoops_token form=$actionForm}>
+          <{xoops_input type=hidden name=rank_id value=$actionForm->get('rank_id')}>
+          <input type="submit" value="<{$smarty.const._DELETE}>" 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/ranks_list.html
diff -u /dev/null xoops2jp/html/modules/user/admin/templates/ranks_list.html:1.1.2.1
--- /dev/null	Thu Jan 19 21:08:43 2006
+++ xoops2jp/html/modules/user/admin/templates/ranks_list.html	Thu Jan 19 21:08:43 2006
@@ -0,0 +1,44 @@
+<h3>&raquo; <{$smarty.const._AD_USER_LANG_RANK_LIST}></h3>
+
+<div style="text-align:right;">[ <a href="index.php?action=RanksEdit"><{$smarty.const._AD_USER_LANG_CREATE_NEW}></strong></a> ]</div>
+<br/>
+<table class="outer" cellspacing="1">
+  <tr>
+    <th><{$smarty.const._AD_USER_LANG_RANK_ID}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANKS_SORT_KEY_RANK_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANKS_SORT_KEY_RANK_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_USER_LANG_RANK_TITLE}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANKS_SORT_KEY_RANK_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANKS_SORT_KEY_RANK_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_USER_LANG_RANK_MIN}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANKS_SORT_KEY_RANK_MIN}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANKS_SORT_KEY_RANK_MIN}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_USER_LANG_RANK_MAX}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANKS_SORT_KEY_RANK_MAX}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANKS_SORT_KEY_RANK_MAX}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_USER_LANG_RANK_SPECIAL}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANKS_SORT_KEY_RANK_SPECIAL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANKS_SORT_KEY_RANK_SPECIAL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_USER_LANG_RANK_IMAGE}><br />
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANKS_SORT_KEY_RANK_IMAGE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
+      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANKS_SORT_KEY_RANK_IMAGE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
+    <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
+  </tr>
+  <{foreach item=obj from=$objects}>
+    <tr class="<{cycle values='odd,even'}>">
+      <td><{$obj->getVar('rank_id')}></td>
+      <td><{$obj->getVar('rank_title')}></td>
+      <td><{$obj->getVar('rank_min')}></td>
+      <td><{$obj->getVar('rank_max')}></td>
+      <td><{$obj->getVar('rank_special')}></td>
+      <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('rank_image')}>" alt="<{$obj->getVar('rank_title')}>" /></td>
+      <td>
+        <a href="index.php?action=RanksEdit&amp;rank_id=<{$obj->getVar('rank_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a>
+        <a href="index.php?action=RanksDelete&amp;rank_id=<{$obj->getVar('rank_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a>
+      </td>
+    </tr>
+    </tr>
+  <{/foreach}>
+</table>
+<br />
+<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>
Index: xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html
diff -u xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html:1.1.2.5 xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html:removed
--- xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html:1.1.2.5	Sun Jan  8 14:22:34 2006
+++ xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html	Thu Jan 19 21:08:43 2006
@@ -1,45 +0,0 @@
-<h3>&raquo; <{$smarty.const._AD_USER_LANG_RANK_LIST}></h3>
-
-<div style="text-align:right">[ <a href="index.php?action=RankEdit"><b><{$smarty.const._AD_USER_LANG_RANK_NEW}></b></a> ]</div>
-
-<br />
-<table class="outer" cellspacing="1">
-  <tr>
-    <th><{$smarty.const._AD_USER_LANG_RANK_ID}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANK_SORT_KEY_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANK_SORT_KEY_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_USER_LANG_RANK_TITLE}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANK_SORT_KEY_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANK_SORT_KEY_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_USER_LANG_RANK_MIN}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANK_SORT_KEY_MIN}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANK_SORT_KEY_MIN}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_USER_LANG_RANK_MAX}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANK_SORT_KEY_MAX}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANK_SORT_KEY_MAX}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_USER_LANG_RANK_SPECIAL}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANK_SORT_KEY_SPECIAL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANK_SORT_KEY_SPECIAL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_USER_LANG_RANK_IMAGE}><br />
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.RANK_SORT_KEY_IMAGE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
-      <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.RANK_SORT_KEY_IMAGE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_USER_LANG_CONTROL}></th>
-  </tr>
-  <{foreach item=rank from=$ranks}>
-    <tr class="<{cycle values='odd,even'}>">
-      <td style="text-align:center;"><{$rank->getVar('rank_id')}></td>
-      <td><{$rank->getVar('rank_title')}></td>
-      <td style="text-align:right;"><{$rank->getVar('rank_min')}></td>
-      <td style="text-align:right;"><{$rank->getVar('rank_max')}></td>
-      <td style="text-align:right;"><{$rank->getVar('rank_special')}></td>
-      <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>" /></td>
-      <td style="text-align:center;">
-        <a href="index.php?action=RankEdit&amp;rank_id=<{$rank->getVar('rank_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a>
-        <a href="index.php?action=RankDelete&amp;rank_id=<{$rank->getVar('rank_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a>
-      </td>
-    </tr>
-  <{/foreach}>
-</table>
-
-<br />
-<div align="center"><{xoops_pagenavi pagenavi=$pageNavi}></div>


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