Minahito
minah****@users*****
2006年 7月 11日 (火) 12:00:39 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.13 xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.14 --- xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.13 Wed Jun 14 01:12:52 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html Tue Jul 11 12:00:39 2006 @@ -29,11 +29,11 @@ <select name="tpl_tplset"> <{foreach from=$tplsets item=tplset}> <{if is_object($filterForm->mTplset)}> - <option value="<{$tplset->getVar('tplset_name')}>" <{if $filterForm->mTplset->get('tplset_name') == $tplset->getVar('tplset_name')}>selected<{/if}> > - <{$tplset->getVar('tplset_name')}></option> + <option value="<{$tplset->getShow('tplset_name')}>" <{if $filterForm->mTplset->get('tplset_name') == $tplset->get('tplset_name')}>selected<{/if}> > + <{$tplset->getShow('tplset_name')}></option> <{else}> - <option value="<{$tplset->getVar('tplset_name')}>"> - <{$tplset->getVar('tplset_name')}></option> + <option value="<{$tplset->getShow('tplset_name')}>"> + <{$tplset->getShow('tplset_name')}></option> <{/if}> <{/foreach}> </select> @@ -42,11 +42,11 @@ <select name="tpl_module"> <{foreach from=$modules item=module}> <{if is_object($filterForm->mModule)}> - <option value="<{$module->getVar('dirname')}>" <{if $filterForm->mModule->get('dirname') == $module->getVar('dirname')}>selected<{/if}> > - <{$module->getVar('name')}>(<{$module->getVar('dirname')}>)</option> + <option value="<{$module->getShow('dirname')}>" <{if $filterForm->mModule->get('dirname') == $module->get('dirname')}>selected<{/if}> > + <{$module->getShow('name')}>(<{$module->getShow('dirname')}>)</option> <{else}> - <option value="<{$module->getVar('dirname')}>"> - <{$module->getVar('name')}>(<{$module->getVar('dirname')}>)</option> + <option value="<{$module->getShow('dirname')}>"> + <{$module->getShow('name')}>(<{$module->getShow('dirname')}>)</option> <{/if}> <{/foreach}> </select> @@ -95,65 +95,65 @@ <{foreach item=obj from=$objects}> <{if $obj->mOverride == null && $targetTplset != null && $targetTplset != 'default'}> <tr class="<{cycle values='odd,even'}>" style="color:#ff0000;" style="text-align:center;"> - <{elseif $obj->getVar('tpl_type') == "block"}> + <{elseif $obj->get('tpl_type') == "block"}> <tr class="<{cycle values='odd,even'}>" style="color:#0000ff;" style="text-align:center;"> <{else}> <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> <{/if}> <td> <{if $obj->mOverride != null}> - <{$obj->mOverride->getVar('tpl_id')}> + <{$obj->mOverride->getShow('tpl_id')}> <{else}> - <{$obj->getVar('tpl_id')}> + <{$obj->getShow('tpl_id')}> <{/if}> </td> - <td><{$obj->getVar('tpl_module')}></td> + <td><{$obj->getShow('tpl_module')}></td> <td> <{if $obj->mOverride != null}> - <{$obj->mOverride->getVar('tpl_tplset')}> + <{$obj->mOverride->getShow('tpl_tplset')}> <{else}> - <{$obj->getVar('tpl_tplset')}> + <{$obj->getShow('tpl_tplset')}> <{/if}> </td> - <td style="text-align:left;"><b><{$obj->getVar('tpl_file')}></b><br /> - <{$obj->getVar('tpl_desc')}></td> + <td style="text-align:left;"><b><{$obj->getShow('tpl_file')}></b><br /> + <{$obj->getShow('tpl_desc')}></td> <td> <{if $obj->mOverride != null}> - <{$obj->mOverride->getVar('tpl_lastmodified')|xoops_formattimestamp:l}> + <{$obj->mOverride->get('tpl_lastmodified')|xoops_formattimestamp:l}> <{else}> - <{$obj->getVar('tpl_lastmodified')|xoops_formattimestamp:l}> + <{$obj->get('tpl_lastmodified')|xoops_formattimestamp:l}> <{/if}> </td> <td> <{if $obj->mOverride != null}> - <{$obj->mOverride->getVar('tpl_lastimported')|xoops_formattimestamp:l}> + <{$obj->mOverride->get('tpl_lastimported')|xoops_formattimestamp:l}> <{else}> - <{$obj->getVar('tpl_lastimported')|xoops_formattimestamp:l}> + <{$obj->get('tpl_lastimported')|xoops_formattimestamp:l}> <{/if}> </td> - <td><{$obj->getVar('tpl_type')}></td> + <td><{$obj->getShow('tpl_type')}></td> <td nowrap> <{if $targetTplset == '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> - <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> + <a href="index.php?action=TplfileView&tpl_id=<{$obj->getShow('tpl_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_VIEW}>" title="<{$smarty.const._AD_LEGACYRENDER_LANG_VIEW}>" /></a> + <a href="index.php?action=TplfileDownload&tpl_id=<{$obj->getShow('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> <{elseif $obj->mOverride != null}> - <a href="index.php?action=TplfileEdit&tpl_id=<{$obj->mOverride->getVar('tpl_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> - <a href="index.php?action=TplfileDelete&tpl_id=<{$obj->mOverride->getVar('tpl_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> - <a href="index.php?action=TplfileDownload&tpl_id=<{$obj->mOverride->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> + <a href="index.php?action=TplfileEdit&tpl_id=<{$obj->mOverride->getShow('tpl_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="index.php?action=TplfileDelete&tpl_id=<{$obj->mOverride->getShow('tpl_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> + <a href="index.php?action=TplfileDownload&tpl_id=<{$obj->mOverride->getShow('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> - <{xoops_input type=file name=upload key=$obj->mOverride->getVar('tpl_id')}> + <{xoops_input type=file name=upload key=$obj->mOverride->get('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> + <a href="index.php?action=TplfileClone&tpl_id=<{$obj->getShow('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->getShow('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}> - <{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> + <{if $obj->get('tpl_tplset') == 'default'}> + <a href="index.php?action=TplfileView&tpl_id=<{$obj->getShow('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> + <a href="index.php?action=TplfileEdit&tpl_id=<{$obj->getShow('tpl_id')}>&tpl_tplset=<{$obj->getShow('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> + <a href="index.php?action=TplfileDownload&tpl_id=<{$obj->getShow('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>