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

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 7月 27日 (木) 14:59:14 JST


Index: xoops2jp/html/modules/base/admin/templates/module_install.html
diff -u xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.5
--- xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.4	Wed Jun 14 00:55:25 2006
+++ xoops2jp/html/modules/base/admin/templates/module_install.html	Thu Jul 27 14:59:14 2006
@@ -7,31 +7,31 @@
 
 <h3><{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}></h3>
 
-<div class="confirm"><{$smarty.const._MD_A_BASE_LANG_MODINSTALL_ADVICE|replace:"_%s_":$module->getVar('name','e')}></div>
+<div class="confirm"><{$smarty.const._MD_A_BASE_LANG_MODINSTALL_ADVICE|replace:"_%s_":$module->getShow('name','e')}></div>
 
 <form method="POST">
 <{xoops_token form=$actionForm}>
-<input type="hidden" name="dirname" value="<{$module->getVar('dirname')|escape}>" />
+<input type="hidden" name="dirname" value="<{$module->getShow('dirname')}>" />
 <table class="outer">
   <tr>
     <th colspan="3"><{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}></th>
   </tr>
   <tr>
     <td class="head" rowspan="6" style="text-align:center;">
-      <img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" />
+      <img src="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.image}>" />
       <div><{$module->modinfo.name|escape}></div>
     </td>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_NAME}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->getVar('name',e)}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->getShow('name')}></td>
   </tr>
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->getVar('dirname',e)}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->getShow('dirname')}></td>
   </tr>
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_VERSION}></td>
-	<td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->getVar('version') format="%.2f"}>
-	<{if $module->getVar('version') != $module->modinfo.version * 100 }>
+	<td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->get('version') format="%.2f"}>
+	<{if $module->get('version') != $module->modinfo.version * 100 }>
 	  &raquo; <b style="color:red;"><{math equation=$module->modinfo.version format="%.2f"}></b>
 	<{/if}>
 	</td>
@@ -39,8 +39,8 @@
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MID}></td>
 	<td class="<{cycle values='odd,even'}>">
-	  <{if $module->getVar('mid')}>
-	    <{$module->getVar('mid')}>
+	  <{if $module->get('mid')}>
+	    <{$module->getShow('mid')}>
 	  <{else}>
 	    --
 	  <{/if}>
@@ -49,8 +49,8 @@
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}></td>
 	<td class="<{cycle values='odd,even'}>">
-	  <{if $module->getVar('last_update')}>
-        <{$module->getVar('last_update')|xoops_formattimestamp:l}>
+	  <{if $module->get('last_update')}>
+        <{$module->get('last_update')|xoops_formattimestamp:l}>
       <{else}>
         --
       <{/if}>
@@ -62,8 +62,8 @@
   </tr>
   <tr>
     <td class="foot" colspan="3">
-      <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" class="formButton" />
-      <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" />
+      <input class="formButton" type="submit" value="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" />
+      <input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
     </td>
   </tr>
 </table>
Index: xoops2jp/html/modules/base/admin/templates/module_update_success.html
diff -u xoops2jp/html/modules/base/admin/templates/module_update_success.html:1.1.2.5 xoops2jp/html/modules/base/admin/templates/module_update_success.html:1.1.2.6
--- xoops2jp/html/modules/base/admin/templates/module_update_success.html:1.1.2.5	Mon Jan 30 23:53:50 2006
+++ xoops2jp/html/modules/base/admin/templates/module_update_success.html	Thu Jul 27 14:59:14 2006
@@ -10,11 +10,11 @@
 <ul>
 <{foreach item=msg from=$log}>
   <{if $msg.type=="error"}>
-    <li style="color:red;"><{$msg.message}></li>
+    <li style="color:red;"><{$msg.message|escape}></li>
   <{elseif $msg.type=="warning"}>
-    <li style="color:blue;"><{$msg.message}></li>
+    <li style="color:blue;"><{$msg.message|escape}></li>
   <{else}>
-    <li><{$msg.message}></li>
+    <li><{$msg.message|escape}></li>
   <{/if}>
 <{/foreach}>
 </ul>
Index: xoops2jp/html/modules/base/admin/templates/module_uninstall.html
diff -u xoops2jp/html/modules/base/admin/templates/module_uninstall.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/module_uninstall.html:1.1.2.2
--- xoops2jp/html/modules/base/admin/templates/module_uninstall.html:1.1.2.1	Thu Feb  2 21:27:06 2006
+++ xoops2jp/html/modules/base/admin/templates/module_uninstall.html	Thu Jul 27 14:59:14 2006
@@ -7,33 +7,34 @@
 <h3><{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}></h3>
 
 <ul>
-  <li><{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_ADVICE|replace:"_%s_":$module->getVar('name','e')}>
+  <li><{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_ADVICE|replace:"_%s_":$module->getShow('name')}>
 </ul>
 
 <form method="POST">
 <{xoops_token form=$actionForm}>
-<input type="hidden" name="dirname" value="<{$module->getVar('dirname')|escape}>" />
+<{xoops_input type=hidden name=dirname value=$module->get('dirname')}>
+
 <table class="outer">
   <tr>
     <th colspan="3"><{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}></th>
   </tr>
   <tr>
     <td rowspan="6" class="head" style="text-align:center;">
-      <img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" />
+      <img src="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.image}>" />
       <div><{$module->modinfo.name|escape}></div>
     </td>
     <td class="head"><{$smarty.const._MD_A_BASE_LANG_NAME}></td>
-    <td class="<{cycle values='odd,even'}>"><{$module->getVar('name',e)}></td>
+    <td class="<{cycle values='odd,even'}>"><{$module->getShow('name')}></td>
   </tr>
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}></td>
-    <td class="<{cycle values='odd,even'}>"><{$module->getVar('dirname',e)}></td>
+    <td class="<{cycle values='odd,even'}>"><{$module->getShow('dirname')}></td>
   </tr>
   <tr>
     <td class="head"><{$smarty.const._MD_A_BASE_LANG_VERSION}></td>
     <td class="<{cycle values='odd,even'}>">
-      <{math equation="v/100" v=$module->getVar('version') format="%.2f"}>
-      <{if $module->getVar('version') != $module->modinfo.version * 100 }>
+      <{math equation="v/100" v=$module->get('version') format="%.2f"}>
+      <{if $module->get('version') != $module->modinfo.version * 100 }>
         &raquo; <b style="color:red;"><{math equation=$module->modinfo.version format="%.2f"}></b>
       <{/if}>
 	</td>
@@ -41,8 +42,8 @@
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MID}></td>
 	<td class="<{cycle values='odd,even'}>">
-      <{if $module->getVar('mid')}>
-        <{$module->getVar('mid')}>
+      <{if $module->get('mid')}>
+        <{$module->getShow('mid')}>
       <{else}>
         --
       <{/if}>
@@ -51,8 +52,8 @@
   <tr>
     <td class="head"><{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}></td>
     <td class="<{cycle values='odd,even'}>">
-      <{if $module->getVar('last_update')}>
-        <{$module->getVar('last_update')|xoops_formattimestamp:l}>
+      <{if $module->get('last_update')}>
+        <{$module->get('last_update')|xoops_formattimestamp:l}>
       <{else}>
         --
       <{/if}>
@@ -69,7 +70,8 @@
   </tr>
   <tr>
     <td class="foot" colspan="3">
-      <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" class="formButton" />
+      <input class="formButton" type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" />
+      <input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
     </td>
   </tr>
 </table>
Index: xoops2jp/html/modules/base/admin/templates/module_install_success.html
diff -u xoops2jp/html/modules/base/admin/templates/module_install_success.html:1.1.2.7 xoops2jp/html/modules/base/admin/templates/module_install_success.html:1.1.2.8
--- xoops2jp/html/modules/base/admin/templates/module_install_success.html:1.1.2.7	Wed Jun 14 01:12:53 2006
+++ xoops2jp/html/modules/base/admin/templates/module_install_success.html	Thu Jul 27 14:59:14 2006
@@ -12,11 +12,11 @@
 <ul>
 <{foreach item=msg from=$log}>
   <{if $msg.type=="error"}>
-    <li style="color:red;"><{$msg.message}></li>
+    <li style="color:red;"><{$msg.message|escape}></li>
   <{elseif $msg.type=="warning"}>
-    <li style="color:blue;"><{$msg.message}></li>
+    <li style="color:blue;"><{$msg.message|escape}></li>
   <{else}>
-    <li><{$msg.message}></li>
+    <li><{$msg.message|escape}></li>
   <{/if}>
 <{/foreach}>
 </ul>
Index: xoops2jp/html/modules/base/admin/templates/module_uninstall_success.html
diff -u xoops2jp/html/modules/base/admin/templates/module_uninstall_success.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/module_uninstall_success.html:1.1.2.5
--- xoops2jp/html/modules/base/admin/templates/module_uninstall_success.html:1.1.2.4	Mon Jan 30 23:53:50 2006
+++ xoops2jp/html/modules/base/admin/templates/module_uninstall_success.html	Thu Jul 27 14:59:14 2006
@@ -10,11 +10,11 @@
 <ul>
 <{foreach item=msg from=$log}>
   <{if $msg.type=="error"}>
-    <li style="color:red;"><{$msg.message}></li>
+    <li style="color:red;"><{$msg.message|escape}></li>
   <{elseif $msg.type=="warning"}>
-    <li style="color:blue;"><{$msg.message}></li>
+    <li style="color:blue;"><{$msg.message|escape}></li>
   <{else}>
-    <li><{$msg.message}></li>
+    <li><{$msg.message|escape}></li>
   <{/if}>
 <{/foreach}>
 </ul>
Index: xoops2jp/html/modules/base/admin/templates/module_update.html
diff -u xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.4
--- xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.3	Wed Jun 14 00:55:25 2006
+++ xoops2jp/html/modules/base/admin/templates/module_update.html	Thu Jul 27 14:59:14 2006
@@ -6,31 +6,31 @@
 
 <h3><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}></h3>
 
-<div class="confirm"><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getVar('name','e')}></div>
+<div class="confirm"><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getShow('name')}></div>
 
 <form method="POST">
 <{xoops_token form=$actionForm}>
-<input type="hidden" name="dirname" value="<{$module->getVar('dirname')|escape}>" />
+<{xoops_input type=hidden name=dirname value=$module->get('dirname')}>
 <table class="outer">
   <tr>
     <th colspan="3"><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}></th>
   </tr>
   <tr>
     <td class="head" rowspan="6" style="text-align:center;">
-      <img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" />
+      <img src="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.image}>" />
       <div><{$module->modinfo.name|escape}></div>
     </td>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_NAME}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->getVar('name',e)}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->getShow('name')}></td>
   </tr>
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->getVar('dirname',e)}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->getShow('dirname')}></td>
   </tr>
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_VERSION}></td>
-	<td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->getVar('version') format="%.2f"}>
-	<{if $module->getVar('version') != $module->modinfo.version * 100 }>
+	<td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->get('version') format="%.2f"}>
+	<{if $module->get('version') != $module->modinfo.version * 100 }>
 	  &raquo; <b style="color:red;"><{math equation=$module->modinfo.version format="%.2f"}></b>
 	<{/if}>
 	</td>
@@ -38,8 +38,8 @@
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MID}></td>
 	<td class="<{cycle values='odd,even'}>">
-	  <{if $module->getVar('mid')}>
-	    <{$module->getVar('mid')}>
+	  <{if $module->get('mid')}>
+	    <{$module->getShow('mid')}>
 	  <{else}>
 	    --
 	  <{/if}>
@@ -48,8 +48,8 @@
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}></td>
 	<td class="<{cycle values='odd,even'}>">
-	  <{if $module->getVar('last_update')}>
-        <{$module->getVar('last_update')|xoops_formattimestamp:l}>
+	  <{if $module->get('last_update')}>
+        <{$module->get('last_update')|xoops_formattimestamp:l}>
       <{else}>
         --
       <{/if}>
@@ -61,8 +61,8 @@
   </tr>
   <tr>
     <td class="foot" colspan="3">
-      <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" class="formButton" />
-      <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" />
+      <input class="formButton" type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" />
+      <input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
     </td>
   </tr>
 </table>


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index