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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 1月 30日 (月) 12:36:49 JST


Index: xoops2jp/html/modules/base/admin/templates/smiles_delete.html
diff -u xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.2
--- xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.1	Sun Jan 29 00:49:28 2006
+++ xoops2jp/html/modules/base/admin/templates/smiles_delete.html	Mon Jan 30 12:36:49 2006
@@ -1,32 +1,52 @@
+<div class="adminnavi">
+  <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
+  &raquo;&raquo; <a href="./index.php?action=SmilesList"><{$smarty.const._MI_BASE_MENU_SMILES_MANAGE}></a>
+  &raquo;&raquo; <{$smarty.const._AD_BASE_LANG_SMILES_DELETE}>
+</div>
+
+<h3><{$smarty.const._AD_BASE_LANG_SMILES_DELETE}></h3>
+
 <p><{$smarty.const._AD_BASE_MESSAGE_CONFIRM_DELETE}></p>
-<table class="outer" cellspacing="1">
+
+<form action="./index.php?action=SmilesDelete" method="POST">
+  <{xoops_token form=$actionForm}>
+  <{xoops_input type=hidden name=id value=$actionForm->get('id')}>
+  <table class="outer">
     <tr>
-      <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_ID}></th>
+      <th colspan="2"><{$smarty.const._AD_BASE_LANG_SMILES_DELETE}></th>
+    </tr>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_ID}></td>
       <td class="<{cycle values="odd,even"}>"><{$object->getVar('id')}></td>
     </tr>
     <tr>
-      <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_CODE}></th>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_CODE}></td>
       <td class="<{cycle values="odd,even"}>"><{$object->getVar('code')}></td>
     </tr>
     <tr>
-      <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_SMILE_URL}></th>
-      <td class="<{cycle values="odd,even"}>"><{$object->getVar('smile_url')}></td>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_SMILE_URL}></td>
+      <td class="<{cycle values="odd,even"}>">
+        <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$object->getVar('smile_url')}>" />
+        ( <{$object->getVar('smile_url')}> )
+      </td>
     </tr>
     <tr>
-      <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_EMOTION}></th>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_EMOTION}></td>
       <td class="<{cycle values="odd,even"}>"><{$object->getVar('emotion')}></td>
     </tr>
     <tr>
-      <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DISPLAY}></th>
-      <td class="<{cycle values="odd,even"}>"><{$object->getVar('display')}></td>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_DISPLAY}></td>
+      <td class="<{cycle values="odd,even"}>">
+        <{if $object->getVar('display') == 1 }>
+          <{$smarty.const._YES}>
+        <{else}>
+          <{$smarty.const._NO}>
+        <{/if}>
+      </td>
     </tr>
     <tr>
-      <td class="foot" colspan="2" style="text-align:center;"><br />
-        <form action="./index.php?action=SmilesDelete" method="POST">
-          <{xoops_token form=$actionForm}>
-          <{xoops_input type=hidden name=id value=$actionForm->get('id')}>
-          <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" />
-        </form>
+      <td colspan="2" class="foot">
+        <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" />
       </td>
     </tr>
-</table>
+  </table>
+</form>
Index: xoops2jp/html/modules/base/admin/templates/smiles_edit.html
diff -u xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.2
--- xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.1	Sun Jan 29 00:49:28 2006
+++ xoops2jp/html/modules/base/admin/templates/smiles_edit.html	Mon Jan 30 12:36:49 2006
@@ -1,3 +1,19 @@
+<div class="adminnavi">
+  <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
+  &raquo;&raquo; <a href="./index.php?action=SmilesList"><{$smarty.const._MI_BASE_MENU_SMILES_MANAGE}></a>
+  <{if $actionForm->getVar('id')}>
+    &raquo;&raquo; <{$smarty.const._AD_BASE_LANG_SMILES_EDIT}>
+  <{else}>
+    &raquo;&raquo; <{$smarty.const._AD_BASE_LANG_SMILES_NEW}>
+  <{/if}>
+</div>
+
+<{if $actionForm->getVar('id')}>
+  <h3><{$smarty.const._AD_BASE_LANG_SMILES_EDIT}></h3>
+<{else}>
+  <h3><{$smarty.const._AD_BASE_LANG_SMILES_NEW}></h3>
+<{/if}>
+
 <{if $actionForm->hasError()}>
   <ul>
     <{foreach item=message from=$actionForm->getErrorMessages()}>
@@ -5,36 +21,53 @@
     <{/foreach}>
   </ul>
 <{/if}>
+
 <form action="index.php?action=SmilesEdit" method="post" enctype="multipart/form-data">
   <{xoops_token form=$actionForm}>
   <{xoops_input type=hidden name=id value=$actionForm->getVar('id')}>
-  <table class="outer" cellspacing="1">
+  <table class="outer">
+    <tr>
+      <th colspan="2">
+        <{if $actionForm->getVar('id')}>
+          <{$smarty.const._AD_BASE_LANG_SMILES_EDIT}>
+        <{else}>
+          <{$smarty.const._AD_BASE_LANG_SMILES_NEW}>
+        <{/if}>
+      </th>
+    </tr>
+    <{if $actionForm->getVar('id')}>
+      <tr>
+        <td class="head"><{$smarty.const._AD_BASE_LANG_ID}></td>
+        <td class="<{cycle values="odd,even"}>"><b><{$actionForm->getVar('id')}></b></td>
+      </tr>
+    <{/if}>
     <tr>
-      <th><{$smarty.const._AD_BASE_LANG_CODE}></th>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_CODE}></td>
       <td class="<{cycle values="odd,even"}>">
         <{xoops_input type=text name=code value=$actionForm->getVar('code') size=15 maxlength=50}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_BASE_LANG_SMILE_URL}></th>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_SMILE_URL}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=file name=smile_url}>
+        <{xoops_input type=file name=smile_url size=30}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_BASE_LANG_EMOTION}></th>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_EMOTION}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=emotion value=$actionForm->getVar('emotion') size=15 maxlength=75}>
+        <{xoops_input type=text name=emotion value=$actionForm->getVar('emotion') size=30 maxlength=75}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_BASE_LANG_DISPLAY}></th>
+      <td class="head"><{$smarty.const._AD_BASE_LANG_DISPLAY}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=checkbox name=display value=1 default=$actionForm->getVar('display')}>
+        <{xoops_input type=radio name=display value=1 default=$actionForm->getVar('display')}><{$smarty.const._YES}>
+        <{xoops_input type=radio name=display value=0 default=$actionForm->getVar('display')}><{$smarty.const._NO}>
       </td>
     </tr>
-    <tr class="foot">
-      <td colspan="2" style="text-align:center;">
+    <tr>
+      <td colspan="2" class="foot">
         <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" />
       </td>
     </tr>
Index: xoops2jp/html/modules/base/admin/templates/smiles_list.html
diff -u xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.2
--- xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.1	Sun Jan 29 00:49:28 2006
+++ xoops2jp/html/modules/base/admin/templates/smiles_list.html	Mon Jan 30 12:36:49 2006
@@ -1,6 +1,13 @@
-<div style="text-align:right;">[ <a href="index.php?action=SmilesEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></strong></a> ]</div>
-<br/>
-<table class="outer" cellspacing="1">
+<div class="adminnavi">
+  <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
+  &raquo;&raquo; <a href="./index.php?action=SmilesList"><{$smarty.const._MI_BASE_MENU_SMILES_MANAGE}></a>
+</div>
+
+<h3><{$smarty.const._MI_BASE_MENU_SMILES_MANAGE}></h3>
+
+<div class="toptab">[ <a href="index.php?action=SmilesEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></strong></a> ]</div>
+
+<table class="outer">
   <tr>
     <th><{$smarty.const._AD_BASE_LANG_ID}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.SMILES_SORT_KEY_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a>
@@ -20,12 +27,22 @@
     <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th>
   </tr>
   <{foreach item=obj from=$objects}>
-    <tr class="<{cycle values='odd,even'}>">
+    <{if $obj->getVar('display') == 1 }>
+    <tr class="<{cycle values='odd,even'}>" style="text-align:center;">
+    <{else}>
+    <tr class="<{cycle values='odd,even'}>" style="text-align:center; color:#999999;">
+    <{/if}>
       <td><{$obj->getVar('id')}></td>
       <td><{$obj->getVar('code')}></td>
       <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('smile_url')}>" /></td>
       <td><{$obj->getVar('emotion')}></td>
-      <td><{$obj->getVar('display')}></td>
+      <td>
+        <{if $obj->getVar('display') == 1 }>
+          <{$smarty.const._YES}>
+        <{else}>
+          <{$smarty.const._NO}>
+        <{/if}>
+      </td>
       <td>
         <a href="./index.php?action=SmilesEdit&amp;id=<{$obj->get('id')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a>
         <a href="./index.php?action=SmilesDelete&amp;id=<{$obj->get('id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a>
@@ -34,5 +51,5 @@
     </tr>
   <{/foreach}>
 </table>
-<br />
-<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>
+
+<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>


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