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&tpl_id=<{$obj->getVar('tpl_id')}>&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&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> </td> <{else}> - <a href="index.php?action=TplfileClone&tpl_id=<{$obj->getVar('tpl_id')}>&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&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&tpl_id=<{$obj->getVar('tpl_id')}>&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&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}>