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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 9月 2日 (土) 22:54:32 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.14 xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.15
--- xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.14	Fri Aug 25 20:46:45 2006
+++ xoops2jp/html/modules/base/admin/templates/image_list.html	Sat Sep  2 22:54:32 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; <span class="adminnaviTitle"><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}></span>
+  &raquo;&raquo; <span class="adminnaviTitle"><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> (<{$category->getShow('imgcat_name')}>)</span>
 </div>
 
 <h3 class="admintitle"><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> (<{$category->getShow('imgcat_name')}>)</h3>
@@ -15,8 +15,8 @@
     <th><{$smarty.const._AD_BASE_LANG_IMAGE_ID}><br />
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th>
-    <th><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}></th>
-    <th><{$smarty.const._MD_BASE_LANG_IMAGE_NICENAME}><br />
+    <th><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}><br />
+      <{$smarty.const._MD_BASE_LANG_IMAGE_NICENAME}>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NICENAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
       <a href="<{$pageNavi->renderSortUrl()}>&amp;sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NICENAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th>
     <th><{$smarty.const._MD_BASE_LANG_IMAGE_MIMETYPE}><br />
@@ -34,7 +34,11 @@
     <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th>
   </tr>
   <{foreach item=obj from=$objects}>
-    <tr class="<{cycle values='odd,even'}>">
+    <{if $obj->get('image_display') == 1}>
+      <tr class="<{cycle values='odd,even'}> active">
+    <{else}>
+      <tr class="<{cycle values='odd,even'}>">
+    <{/if}>
       <td class="base_list_id"><{$obj->getShow('image_id')}></td>
       <td class="base_list_image">
         <{if $obj->mImageCategory != null}>
@@ -44,8 +48,8 @@
             <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$obj->getShow('image_id')}>" alt="<{$obj->getShow('image_nicename')}>" title="<{$obj->getShow('image_nicename')}>" />
           <{/if}>
         <{/if}>
+        <div class="base_list_imagetitle"><{$obj->getShow('image_nicename')}></div>
       </td>
-      <td class="base_list_title"><{$obj->getShow('image_nicename')}></td>
       <td class="base_list_type"><{$obj->getShow('image_mimetype')}></td>
       <td class="base_list_date"><{$obj->getShow('image_created')|xoops_formattimestamp:l}></td>
       <td class="base_list_select"><{if $obj->get('image_display') == 1}><{$smarty.const._YES}><{else}><{$smarty.const._YES}><{/if}></td>
Index: xoops2jp/html/modules/base/admin/templates/image_delete.html
diff -u xoops2jp/html/modules/base/admin/templates/image_delete.html:1.1.2.10 xoops2jp/html/modules/base/admin/templates/image_delete.html:1.1.2.11
--- xoops2jp/html/modules/base/admin/templates/image_delete.html:1.1.2.10	Fri Aug 18 20:29:46 2006
+++ xoops2jp/html/modules/base/admin/templates/image_delete.html	Sat Sep  2 22:54:32 2006
@@ -19,6 +19,15 @@
       </th>
     </tr>
     <tr>
+      <td class="<{cycle values="odd,even"}> base_list_image" colspan="2">
+      <{if $object->mImageCategory->get('imgcat_storetype') == 'file'}>
+        <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$object->getShow('image_name')}>" alt="<{$object->getShow('image_nicename')}>" title="<{$object->getShow('image_nicename')}>" />
+      <{else}>
+        <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$object->getShow('image_id')}>" alt="<{$object->getShow('image_nicename')}>" title="<{$object->getShow('image_nicename')}>" />
+      <{/if}>
+      </td>
+    </tr>
+    <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_ID}></td>
       <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_id')}></td>
     </tr>
Index: xoops2jp/html/modules/base/admin/templates/imagecategory_list.html
diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.11 xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.12
--- xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.11	Sat Aug 19 18:39:44 2006
+++ xoops2jp/html/modules/base/admin/templates/imagecategory_list.html	Sat Sep  2 22:54:32 2006
@@ -43,13 +43,19 @@
     <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th>
   </tr>
   <{foreach item=obj from=$objects}>
-    <tr class="<{cycle values='odd,even'}>">
+    <{if $obj->getShow('imgcat_display') == 1}>
+      <tr class="<{cycle values='odd,even'}> active">
+    <{else}>
+      <tr class="<{cycle values='odd,even'}>">
+    <{/if}>
       <td class="base_list_id"><{$obj->getShow('imgcat_id')}></td>
       <td class="base_list_title"><{$obj->getShow('imgcat_name')}></td>
       <td class="base_list_number"><{$obj->get('imgcat_maxsize')|number_format}></td>
       <td class="base_list_number"><{$obj->get('imgcat_maxwidth')|number_format}></td>
       <td class="base_list_number"><{$obj->get('imgcat_maxheight')|number_format}></td>
-      <td class="base_list_select"><{$obj->getShow('imgcat_display')}></td>
+      <td class="base_list_select">
+        <{if $obj->getShow('imgcat_display') == 1}><{$smarty.const._YES}><{else}><{$smarty.const._YES}><{/if}>
+      </td>
       <td class="base_list_order"><{$obj->getShow('imgcat_weight')}></td>
       <td class="base_list_type"><{$obj->getShow('imgcat_type')}></td>
       <td class="base_list_type"><{$obj->getShow('imgcat_storetype')}></td>
Index: xoops2jp/html/modules/base/admin/templates/image_edit.html
diff -u xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.13 xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.14
--- xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.13	Sat Aug 19 17:37:35 2006
+++ xoops2jp/html/modules/base/admin/templates/image_edit.html	Sat Sep  2 22:54:32 2006
@@ -38,6 +38,17 @@
         <{/if}>
       </th>
     </tr>
+    <{if $actionForm->get('image_id')}>
+    <tr>
+      <td class="<{cycle values="odd,even"}> base_list_image" colspan="2">
+      <{if $object->mImageCategory->get('imgcat_storetype') == 'file'}>
+        <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$object->getShow('image_name')}>" alt="<{$object->getShow('image_nicename')}>" title="<{$object->getShow('image_nicename')}>" />
+      <{else}>
+        <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$object->getShow('image_id')}>" alt="<{$object->getShow('image_nicename')}>" title="<{$object->getShow('image_nicename')}>" />
+      <{/if}>
+      </td>
+    </tr>
+    <{/if}>
     <tr>
       <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}></td>
       <td class="<{cycle values="odd,even"}>">


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