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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 5月 17日 (水) 00:27:17 JST


Index: xoops2jp/html/modules/base/admin/templates/image_list.html
diff -u xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.5
--- xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.4	Tue May 16 01:09:56 2006
+++ xoops2jp/html/modules/base/admin/templates/image_list.html	Wed May 17 00:27:17 2006
@@ -4,9 +4,9 @@
   &raquo;&raquo; <{$smarty.const._AD_BASE_LANG_IMAGE_LIST}>
 </div>
 
-<h3><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> (*category name*)</h3>
+<h3><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> (<{$objects[0]->mImageCategory->getVar('imgcat_name')}>)</h3>
 
-<div class="toptab">[ <a href="index.php?action=ImageEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div>
+<div class="toptab">[ <a href="index.php?action=ImageEdit&amp;imgcat_id=<{$objects[0]->mImageCategory->getVar('imgcat_id')}>"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div>
 
 <table class="outer">
   <tr>
@@ -37,7 +37,7 @@
     <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th>
   </tr>
   <{foreach item=obj from=$objects}>
-    <tr class="<{cycle values='odd,even'}>">
+    <tr class="<{cycle values='odd,even'}>" style="text-align:center;">
       <td><{$obj->getVar('image_id')}></td>
       <td>
         <{if $obj->mImageCategory != null}>
@@ -51,7 +51,7 @@
       <td><{$obj->getVar('image_nicename')}></td>
       <td><{$obj->getVar('image_mimetype')}></td>
       <td><{$obj->getVar('image_created')|xoops_formattimestamp:l}></td>
-      <td><{$obj->getVar('image_display')}></td>
+      <td><{if $obj->getVar('image_display') == 1}><{$smarty.const._YES}><{else}><{$smarty.const._YES}><{/if}></td>
       <td><{$obj->getVar('image_weight')}></td>
       <td><{$obj->getVar('imgcat_id')}></td>
       <td>
@@ -62,4 +62,4 @@
   <{/foreach}>
 </table>
 
-<div class="pagenav"><{xoops_pagenavi pagenavi=$pageNavi}></div>
+<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
Index: xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html
diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html:1.1.2.4
--- xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html:1.1.2.3	Tue May 16 01:09:56 2006
+++ xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html	Wed May 17 00:27:17 2006
@@ -25,15 +25,15 @@
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXSIZE}></td>
-      <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxsize')}></td>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxsize')|number_format}></td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXWIDTH}></td>
-      <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxwidth')}></td>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxwidth')|number_format}></td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXHEIGHT}></td>
-      <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxheight')}></td>
+      <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxheight')|number_format}></td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_DISPLAY}></td>
Index: xoops2jp/html/modules/base/admin/templates/imagecategory_list.html
diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.5
--- xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.4	Tue May 16 01:09:56 2006
+++ xoops2jp/html/modules/base/admin/templates/imagecategory_list.html	Wed May 17 00:27:17 2006
@@ -45,16 +45,16 @@
     <tr class="<{cycle values='odd,even'}>" style="text-align:center;">
       <td><{$obj->getVar('imgcat_id')}></td>
       <td><{$obj->getVar('imgcat_name')}></td>
-      <td><{$obj->getVar('imgcat_maxsize')}></td>
-      <td><{$obj->getVar('imgcat_maxwidth')}></td>
-      <td><{$obj->getVar('imgcat_maxheight')}></td>
+      <td><{$obj->getVar('imgcat_maxsize')|number_format}></td>
+      <td><{$obj->getVar('imgcat_maxwidth')|number_format}></td>
+      <td><{$obj->getVar('imgcat_maxheight')|number_format}></td>
       <td><{$obj->getVar('imgcat_display')}></td>
       <td><{$obj->getVar('imgcat_weight')}></td>
       <td><{$obj->getVar('imgcat_type')}></td>
       <td><{$obj->getVar('imgcat_storetype')}></td>
       <td><{$obj->getImageCount()|escape}></td>
       <td>
-        <a href="./index.php?action=ImageList&amp;imgcat_id=<{$obj->getVar('imgcat_id')}>"><{$smarty.const._AD_BASE_LANG_LIST}></a>
+        <a href="./index.php?action=ImageList&amp;imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._AD_BASE_LANG_LIST}>" title="<{$smarty.const._AD_BASE_LANG_LIST}>" /></a>
         <a href="./index.php?action=ImagecategoryEdit&amp;imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a>
         <a href="./index.php?action=ImagecategoryDelete&amp;imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a>
       </td>
Index: xoops2jp/html/modules/base/admin/templates/preference_edit.html
diff -u xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.4
--- xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.3	Tue May 16 01:09:56 2006
+++ xoops2jp/html/modules/base/admin/templates/preference_edit.html	Wed May 17 00:27:17 2006
@@ -1,9 +1,26 @@
 <div class="adminnavi">
-  <a href="<{$smarty.const.XOOPS_URL}>/modules/*****/admin/index.php">*module name*</a>
-  &raquo;&raquo; <{$smarty.const._MI_BASE_MENU_PREFERENCE}>
+  <{if $module != null}>
+    <a href="<{$smarty.const.XOOPS_URL}>/modules/<{$module->getVar('dirname')}>/admin/index.php"><{$module->getVar('name')}></a>
+    <{if $category != null}>
+      &raquo;&raquo; <a href="<{$smarty.const.XOOPS_URL}>/modules/<{$module->getVar('dirname')}>/admin/index.php?action=PreferenceList"><{$smarty.const._MI_BASE_MENU_PREFERENCE}></a>
+      &raquo;&raquo; <{$category->getVar('confcat_name')}>
+    <{else}>
+      &raquo;&raquo; <{$smarty.const._MI_BASE_MENU_PREFERENCE}>
+    <{/if}>
+  <{else}>
+    <a href="<{$smarty.const.XOOPS_URL}>/modules/base/admin/index.php"><{$smarty.const._MI_BASE_NAME}></a>
+    &raquo;&raquo; <a href="./index.php?action=PreferenceList"><{$smarty.const._MI_BASE_MENU_PREFERENCE}></a>
+    &raquo;&raquo; <{$category->getVar('confcat_name')}>
+  <{/if}>
 </div>
 
-<h3><{$smarty.const._MI_BASE_MENU_PREFERENCE}></h3>
+<h3>
+  <{if $category != null}>
+    <{$category->getVar('confcat_name')}>
+  <{else}>
+    <{$smarty.const._MI_BASE_MENU_PREFERENCE}>
+  <{/if}>
+</h3>
 
 <{if $actionForm->hasError()}>
   <ul>
@@ -12,13 +29,18 @@
     <{/foreach}>
   </ul>
 <{/if}>
+
 <form action="./index.php?action=PreferenceEdit" method="post">
   <{xoops_token form=$actionForm}>
   <{xoops_input type=hidden name=$actionForm->mKeyName value=$actionForm->mKeyValue}>
-
   <table class="outer">
     <tr>
-      <th colspan="2">*module name* <{$smarty.const._MI_BASE_MENU_PREFERENCE}></th>
+      <th colspan="2">
+        <{$smarty.const._MI_BASE_MENU_PREFERENCE}>
+        <{if $category != null}>
+           - <{$category->getVar('confcat_name')}>
+        <{/if}>
+      </th>
     </tr>
 
     <{foreach item=config from=$objectArr}>
Index: xoops2jp/html/modules/base/admin/templates/preference_list.html
diff -u xoops2jp/html/modules/base/admin/templates/preference_list.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/preference_list.html:1.1.2.5
--- xoops2jp/html/modules/base/admin/templates/preference_list.html:1.1.2.4	Mon May 15 15:58:31 2006
+++ xoops2jp/html/modules/base/admin/templates/preference_list.html	Wed May 17 00:27:17 2006
@@ -1,7 +1,6 @@
 <div class="adminnavi">
   <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
   &raquo;&raquo; <{$smarty.const._MI_BASE_MENU_PREFERENCE}>
-
 </div>
 
 <h3><{$smarty.const._MI_BASE_MENU_PREFERENCE}></h3>
Index: xoops2jp/html/modules/base/admin/templates/image_edit.html
diff -u xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.4
--- xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.3	Tue May 16 01:09:56 2006
+++ xoops2jp/html/modules/base/admin/templates/image_edit.html	Wed May 17 00:27:17 2006
@@ -1,7 +1,7 @@
 <div class="adminnavi">
   <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
   &raquo;&raquo; <a href="./index.php?action=ImagecategoryList"><{$smarty.const._MI_BASE_MENU_IMAGE_MANAGE}></a>
-  &raquo;&raquo; <a href="./index.php?action=ImageList&amp;imgcat_id=<{$object->getVar('imgcat_id')}>"><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}></a>
+  &raquo;&raquo; <a href="./index.php?action=ImageList&amp;imgcat_id=<{$actionForm->getVar('imgcat_id')}>"><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}></a>
   <{if $actionForm->get('image_id')}>
     &raquo;&raquo; <{$smarty.const._AD_BASE_LANG_IMAGE_EDIT}>
   <{else}>


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