[xoops-cvslog 1698] CVS update: xoops2jp/html/modules/legacyRender/admin/templates

Back to archive index

Minahito minah****@users*****
2006年 1月 13日 (金) 01:22:41 JST


Index: xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html
diff -u xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.4
--- xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.3	Thu Dec 29 00:45:44 2005
+++ xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html	Fri Jan 13 01:22:41 2006
@@ -1,47 +1,54 @@
-<h3>&raquo; <{$smarty.const._MD_A_LEGACYRENDER_LANG_THEME_ADMIN}></h3>
+<h3>&raquo; <{$smarty.const._AD_LEGACYRENDER_LANG_THEME_ADMIN}></h3>
 
+<form action="index.php" method="post" ID="Form1">
 <table classs="outer" cellspacing="1">
   <tr>
-    <th><{$smarty.const._MD_A_LEGACYRENDER_LANG_THEME}></th>
-    <th><{$smarty.const._MD_A_LEGACYRENDER_LANG_PACKAGE}></th>
-    <th><{$smarty.const._MD_A_LEGACYRENDER_LANG_CONTROL}></th>
+    <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_THEME}></th>
+    <th><{$smarty.const._AD_LEGACYRENDER_LANG_PACKAGE}></th>
+    <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th>
   </tr>
   <{foreach item=theme from=$themes}>
     <tr class="<{cycle values="odd,even"}>">
       <td align="center">
-        <{if $theme->ScreenShot}>
-          <img src="<{$smarty.const.XOOPS_THEME_URL}>/<{$theme->mDirName}>/<{$theme->ScreenShot}>" alt="<{$theme->mFile}>" width="120" height="90" /><br/>
+        <input type="checkbox" name="select[<{$theme->get('name')|escape}>]" value="1" <{if $theme->get('enable_select')}>checked<{/if}>/>
+      </td>
+      <td align="center">
+        <{if $theme->mPackage.ScreenShot}>
+          <img src="<{$smarty.const.XOOPS_THEME_URL}>/<{$theme->get('name')}>/<{$theme->mPackage.ScreenShot}>" alt="<{$theme->get('name')}>" width="120" height="90" /><br/>
         <{/if}>
         <!--- Sorry, please modify the following line --->
-        <b><{$theme->mDirName}></b>
+        <b><{$theme->getVar('name')}></b>
       </td>
       <td>
-        <{if $theme->mManifesto}>
+        <{if $theme->mPackage}>
           <ul>
-            <li><{$smarty.const._MD_A_LEGACYRENDER_LANG_VERSION}> <{$theme->mManifesto.Manifesto.Version}></li>
-            <li><{$smarty.const._MD_A_LEGACYRENDER_LANG_AUTHOR}> <{$theme->mManifesto.Theme.Author}></li>
-            <li><{$smarty.const._MD_A_LEGACYRENDER_LANG_W3C}> <{$theme->mManifesto.Theme.W3C}></li>
-            <li><{$theme->mManifesto.Theme.Description}></li>
-            <{if $theme->mManifesto.Manifesto.Url}>
-              <li><a href="<{$theme->mManifesto.Manifesto.Url}>"><{$smarty.const._MD_A_LEGACYRENDER_LANG_GET_ADDRESS}></a></li>
+            <li><{$smarty.const._AD_LEGACYRENDER_LANG_VERSION}> <{$theme->mPackage.Manifesto.Version}></li>
+            <li><{$smarty.const._AD_LEGACYRENDER_LANG_AUTHOR}> <{$theme->mPackage.Theme.Author}></li>
+            <li><{$smarty.const._AD_LEGACYRENDER_LANG_W3C}> <{$theme->mPackage.Theme.W3C}></li>
+            <li><{$theme->mPackage.Theme.Description}></li>
+            <{if $theme->mPackage.Manifesto.Url}>
+              <li><a href="<{$theme->mPackage.Manifesto.Url}>"><{$smarty.const._AD_LEGACYRENDER_LANG_GET_ADDRESS}></a></li>
             <{/if}>
           </ul>
         <{else}>
-          <{$smarty.const._MD_A_LEGACYRENDER_MESSAGE_NO_PACKAGE}>
+          <{$smarty.const._AD_LEGACYRENDER_MESSAGE_NO_PACKAGE}>
         <{/if}>
       </td>
       <td style="text-align:right;">
-        <{if $currentThemeName!=$theme->mDirName}>
-          <form action="index.php" method="post">
-            <{xoops_input type=hidden name=theme_name value=$theme->mDirName}>
-            <input type="submit" value="<{$smarty.const._MD_A_LEGACYRENDER_LANG_SELECT}>" class="formButton" />
-            <img src="<{'icons/info.gif'|theme}>" alt="<{$smarty.const._MD_A_LEGACYRENDER_LANG_INFORMATION}>" align="absmiddle" />
-          </form>
+        <{if $currentThemeName!=$theme->get('name')}>
+            <input name="choose[<{$theme->get('name')|escape}>]" type="submit" value="<{$smarty.const._AD_LEGACYRENDER_LANG_SELECT}>" class="formButton" />
+            <img src="<{'icons/info.gif'|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_INFORMATION}>" align="absmiddle" />
         <{else}>
-        [ <b style="color:red;"><{$smarty.const._MD_A_LEGACYRENDER_LANG_SELECTED}></b> ]
-        <img src="<{'icons/info.gif'|theme}>" alt="<{$smarty.const._MD_A_LEGACYRENDER_LANG_INFORMATION}>" align="absmiddle" />
+        [ <b style="color:red;"><{$smarty.const._AD_LEGACYRENDER_LANG_SELECTED}></b> ]
+        <img src="<{'icons/info.gif'|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_INFORMATION}>" align="absmiddle" />
         <{/if}>
       </td>
     </tr>
   <{/foreach}>
-</table>
\ No newline at end of file
+  <tr class="foot">
+    <td colspan="4">
+      <input type="submit" value="<{$smarty.const._SUBMIT}>" ID="Submit1" NAME="Submit1"/>
+    </td>
+  </tr>
+</table>
+</form>
\ No newline at end of file


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