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

Back to archive index

Minahito minah****@users*****
2006年 5月 15日 (月) 14:26:56 JST


Index: xoops2jp/html/modules/base/admin/templates/image_edit.html
diff -u xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.2
--- xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.1	Fri May 12 19:14:33 2006
+++ xoops2jp/html/modules/base/admin/templates/image_edit.html	Mon May 15 14:26:56 2006
@@ -21,14 +21,14 @@
     <{/foreach}>
   </ul>
 <{/if}>
-<form action="index.php?action=ImageEdit" method="post">
+<form action="index.php?action=ImageEdit" method="post" enctype="multipart/form-data">
   <{xoops_token form=$actionForm}>
   <{xoops_input type=hidden name=image_id value=$actionForm->get('image_id')}>
   <table class="outer" cellspacing="1">
     <tr>
       <th><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=image_name value=$actionForm->get('image_name') size=15 maxlength=30}>
+        <{xoops_input type=file name=image_name}>
       </td>
     </tr>
     <tr>
@@ -38,18 +38,6 @@
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_BASE_LANG_IMAGE_MIMETYPE}></th>
-      <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=image_mimetype value=$actionForm->get('image_mimetype') size=15 maxlength=30}>
-      </td>
-    </tr>
-    <tr>
-      <th><{$smarty.const._AD_BASE_LANG_IMAGE_CREATED}></th>
-      <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=image_created value=$actionForm->get('image_created')}>
-      </td>
-    </tr>
-    <tr>
       <th><{$smarty.const._AD_BASE_LANG_IMAGE_DISPLAY}></th>
       <td class="<{cycle values="odd,even"}>">
         <{xoops_input type=checkbox name=image_display value=1 default=$actionForm->get('image_display')}>
@@ -64,7 +52,9 @@
     <tr>
       <th><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=imgcat_id value=$actionForm->get('imgcat_id')}>
+        <select name="imgcat_id">
+          <{xoops_optionsArray from=$categoryArr value=imgcat_id label=imgcat_name default=$actionForm->get('imgcat_id')}>
+        </select>
       </td>
     </tr>
     <tr class="foot">


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