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

Back to archive index

Minahito minah****@users*****
2006年 8月 1日 (火) 19:46:22 JST


Index: xoops2jp/html/modules/base/admin/templates/module_information.html
diff -u xoops2jp/html/modules/base/admin/templates/module_information.html:1.1.2.7 xoops2jp/html/modules/base/admin/templates/module_information.html:1.1.2.8
--- xoops2jp/html/modules/base/admin/templates/module_information.html:1.1.2.7	Fri Feb  3 17:33:15 2006
+++ xoops2jp/html/modules/base/admin/templates/module_information.html	Tue Aug  1 19:46:22 2006
@@ -16,20 +16,20 @@
   </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>
@@ -37,8 +37,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}>
@@ -47,8 +47,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}>
@@ -104,7 +104,7 @@
 <{foreach from=$module->modinfo.tables item=table key=table_key}>
   <tr>
 	<td class="head"><{$table_key}></td>
-	<td class="<{cycle values='odd,odd,even,even'}>"><{$table}></td>
+	<td class="<{cycle values='odd,odd,even,even'}>"><{$table|escape}></td>
 	<td class="<{cycle values='odd,odd,even,even'}>">xxxxxxxxxxxxx</td>
   </tr>
 <{/foreach}>
@@ -115,7 +115,7 @@
 
 <hr />
 <h5><{$smarty.const._MD_A_BASE_LANG_MAINMENU_INFO}></h5>
-<{if $module->getVar('hasmain')}>
+<{if $module->get('hasmain')}>
 
 <table class="outer">
   <tr>
@@ -148,7 +148,7 @@
 
 <hr />
 <h5><{$smarty.const._MD_A_BASE_LANG_ADMIN_MENU}></h5>
-<{if $module->getVar('hasadmin')}>
+<{if $module->get('hasadmin')}>
 <table class="outer">
   <tr>
 	<td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_ADMINMENU_HAS_MAIN}></td>
@@ -156,18 +156,18 @@
   </tr>
   <tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_ADMINMENU_INDEX}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.adminindex}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.adminindex|escape}></td>
   </tr>
   </tr>
 	<td class="head"><{$smarty.const._MD_A_BASE_LANG_ADMINMENU_MENU}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.adminmenu}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.adminmenu|escape}></td>
   </tr>
   </tr>
 	<td class="head"><{$smarty.const._HELP}></td>
-	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.help}></td>
+	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.help|escape}></td>
   </tr>
 </table>
-<{if $module->adminmenu }>
+<{if $module->adminmenu}>
 <br />
 <table class="outer">
   <tr>
@@ -177,9 +177,9 @@
   </tr>
   <{foreach from=$module->adminmenu item=admin key=admin_key}>
   <tr>
-	<td class="head"><{$admin_key}></td>
-    <td class="<{cycle values="odd,odd,even,even"}>"><{$admin.title}></td>
-    <td class="<{cycle values="odd,odd,even,even"}>"><{$admin.link}></td>
+	<td class="head"><{$admin_key|escape}></td>
+    <td class="<{cycle values="odd,odd,even,even"}>"><{$admin.title|escape}></td>
+    <td class="<{cycle values="odd,odd,even,even"}>"><{$admin.link|escape}></td>
   </tr>
   <{/foreach}>
 </table>
@@ -191,7 +191,7 @@
 
 <hr />
 <h5><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_INFO}></h5>
-<{if $module->modinfo.templates }>
+<{if $module->modinfo.templates}>
 <table class="outer">
   <tr>
 	<td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_HAS_MAIN}></td>
@@ -212,8 +212,8 @@
 <{foreach from=$module->modinfo.templates item=template key=template_key}>
   <tr>
 	<td class="head"><{$template_key}></td>
-	<td class="<{cycle values='odd,odd,even,even'}>"><{$template.file}></td>
-	<td class="<{cycle values='odd,odd,even,even'}>"><{$template.description}></td>
+	<td class="<{cycle values='odd,odd,even,even'}>"><{$template.file|escape}></td>
+	<td class="<{cycle values='odd,odd,even,even'}>"><{$template.description|escape}></td>
   </tr>
 <{/foreach}>
 </table>
@@ -227,16 +227,16 @@
 <{foreach from=$module->modinfo.blocks item=block key=block_num }>
 <table class="outer">
   <tr>
-	<th><{$smarty.const._MD_A_BASE_LANG_BLOCK_KEY}> (<{$block_num}>)</th>
+	<th><{$smarty.const._MD_A_BASE_LANG_BLOCK_KEY}> (<{$block_num|escape}>)</th>
 	<th><{$smarty.const._MD_A_BASE_LANG_BLOCK_VAL}></th>
   </tr>
   <{foreach from=$block key=block_key item=block_val name=block }>
   <tr>
-	<td class="head" style="width:30%;"><{$block_key}></td>
+	<td class="head" style="width:30%;"><{$block_key|escape}></td>
 	<{if $block_key == "name" }>
-	  <td class="<{cycle values='odd,even'  name=block}>"><b><{$block_val}></b></td>
+	  <td class="<{cycle values='odd,even' name=block}>"><b><{$block_val|escape}></b></td>
 	<{else}>
-	  <td class="<{cycle values='odd,even'  name=block}>"><{$block_val}></td>
+	  <td class="<{cycle values='odd,even' name=block}>"><{$block_val|escape}></td>
 	<{/if}>
   </tr>
   <{/foreach}>
@@ -249,24 +249,24 @@
 <hr />
 <h5><{$smarty.const._MD_A_BASE_LANG_CONFIG_INFO}></h5>
 
-<{foreach from=$module->modinfo.config item=config key=conf_num }>
+<{foreach from=$module->modinfo.config item=config key=conf_num}>
 <table class="outer">
   <tr>
 	<th><{$smarty.const._MD_A_BASE_LANG_CONFIG_KEY}> (<{$conf_num}>)</th>
 	<th><{$smarty.const._MD_A_BASE_LANG_CONFIG_VAL}></th>
   </tr>
-  <{foreach from=$config key=config_key item=config_val name=config }>
+  <{foreach from=$config key=config_key item=config_val name=config}>
   <tr>
-	<td class="head" style="width:30%;"><{$config_key}></td>
+	<td class="head" style="width:30%;"><{$config_key|escape}></td>
 	<td class="<{cycle values="odd,even" name=config}>">
 	  <{if $config_key == "name" }>
-	    <b><{$config_val}></b>
+	    <b><{$config_val|escape}></b>
       <{elseif $config_key == options }>
 	    <{foreach from=$config_val item=opt key=opt_key }>
-	      <{$opt_key}> &raquo; <{$opt}><br />
+	      <{$opt_key}> &raquo; <{$opt|escape}><br />
 	    <{/foreach}>
 	  <{else}>
-	    <{$config_val}>
+	    <{$config_val|escape}>
 	  <{/if}>
 	</td>
   </tr>
@@ -280,20 +280,20 @@
 <hr />
 <h5><{$smarty.const._MD_A_BASE_LANG_FEATURE_SVC_INFO}></h5>
 <table class="outer">
-<{if $module->getVar('hassearch')}>
+<{if $module->get('hassearch')}>
   <tr>
 	<td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_SEARCH_SVC}></td>
 	<td class="<{cycle values='odd,even'}>"><{$smarty.const._MD_A_BASE_LANG_ACTIVE}></td>
   </tr>
 <{/if}>
-<{if $module->getVar('hascomments')}>
+<{if $module->get('hascomments')}>
   <tr>
 	<td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_COMMENT_SVC}></td>
 	<td class="<{cycle values='odd,even'}>"><{$smarty.const._MD_A_BASE_LANG_ACTIVE}></td>
   </tr>
 <{/if}>
 
-<{if $module->getVar('hasnotification')}>
+<{if $module->get('hasnotification')}>
   <tr>
 	<td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_NOTIF_SVC}></td>
 	<td class="<{cycle values='odd,even'}>"><{$smarty.const._MD_A_BASE_LANG_ACTIVE}></td>


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