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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 5月 30日 (火) 00:20:41 JST


Index: xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html
diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.10 xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.11
--- xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.10	Sat May 27 01:12:32 2006
+++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html	Tue May 30 00:20:41 2006
@@ -141,10 +141,19 @@
             <td>
               <{xoops_input type=file name=upload key=$obj->mOverride->getVar('tpl_id')}>
             </td>
+          <{elseif $obj->mOverride == null && $targetTplset != null && $targetTplset != 'default'}>
+            <a href="index.php?action=TplfileClone&amp;tpl_id=<{$obj->getVar('tpl_id')}>&amp;tpl_tplset=<{$targetTplset|escape}>"><img src="<{"icons/clone.gif"|theme}>" alt="<{$smarty.const._CLONE}>" title="<{$smarty.const._CLONE}>" /></a>
+            <a href="index.php?action=TplfileDownload&amp;tpl_id=<{$obj->getVar('tpl_id')}>"><img src="<{"icons/download.gif"|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DOWNLOAD}>" title="<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DOWNLOAD}>" /></a>
+            <td>&nbsp;</td>
           <{else}>
-            <a href="index.php?action=TplfileClone&amp;tpl_id=<{$obj->getVar('tpl_id')}>&amp;tpl_tplset=<{$targetTplset|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a>
+            <{if $obj->getVar('tpl_tplset') == 'default'}>
+              <a href="index.php?action=TplfileView&amp;tpl_id=<{$obj->getVar('tpl_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_VIEW}>" title="<{$smarty.const._AD_LEGACYRENDER_LANG_VIEW}>" /></a>
+            <{else}>
+              <a href="index.php?action=TplfileEdit&amp;tpl_id=<{$obj->getVar('tpl_id')}>&amp;tpl_tplset=<{$obj->getVar('tpl_tplset')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a>
+            <{/if}>
             <a href="index.php?action=TplfileDownload&amp;tpl_id=<{$obj->getVar('tpl_id')}>"><img src="<{"icons/download.gif"|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DOWNLOAD}>" title="<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DOWNLOAD}>" /></a>
           <{/if}>
+
         </td>
       </tr>
     <{/foreach}>


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