Minahito
minah****@users*****
2006年 1月 15日 (日) 03:31:15 JST
Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.5 xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.6 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.5 Sat Jan 14 22:19:54 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html Sun Jan 15 03:31:15 2006 @@ -1,6 +1,12 @@ -<h3>» *テンプレート管理*</h3> +<h3>» <{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_MANAGE}></h3> -<h4>*テンプレートセット一覧*</h4> +<h4><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_LIST}></h4> + +<{if count($objects) == 1 }> + <div class="tip"><{$smarty.const._AD_LEGACYRENDER_TIPS_TEMPLATE_MANAGE_1}></div> +<{else}> + <div class="tip"><{$smarty.const._AD_LEGACYRENDER_TIPS_TEMPLATE_MANAGE_2}></div> +<{/if}> <{if $actionForm->hasError()}> <ul> @@ -19,11 +25,9 @@ <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLSET_SORT_KEY_TPLSET_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLSET_SORT_KEY_TPLSET_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_NAME}><br /> + (<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}>)<br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLSET_SORT_KEY_TPLSET_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLSET_SORT_KEY_TPLSET_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLSET_SORT_KEY_TPLSET_DESC}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLSET_SORT_KEY_TPLSET_DESC}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_CREDITS}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLSET_SORT_KEY_TPLSET_CREDITS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLSET_SORT_KEY_TPLSET_CREDITS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> @@ -31,7 +35,6 @@ <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLSET_SORT_KEY_TPLSET_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLSET_SORT_KEY_TPLSET_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE}></th> - <th> </th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> @@ -41,8 +44,8 @@ <tr class="<{cycle values='odd,even'}>"> <{/if}> <td style="text-align:center;"><{$obj->getVar('tplset_id')}></td> - <td><b><{$obj->getVar('tplset_name')}></b></td> - <td><{$obj->getVar('tplset_desc')}></td> + <td><b><{$obj->getVar('tplset_name')}></b><br /><br /> + <{$obj->getVar('tplset_desc')}></td> <td><{$obj->get('tplset_credits')|escape|nl2br}></td> <td style="text-align:center;"><{$obj->getVar('tplset_created')|xoops_formattimestamp:l}></td> <td> @@ -52,18 +55,25 @@ <{/foreach}> </ul> </td> - <td> - <form action="./index.php?action=TplsetList" method="POST"> - <{xoops_token name=$actionForm->getTokenName() value=$actionForm->getToken()}> - <{xoops_input type=hidden name=tplset_name value=$obj->get('tplset_name')}> - <input type="submit" value="<{$smarty.const._SUBMIT}>" /> - </form> - </td> <td style="text-align:center;"> + <{if $activeTemplateSet == $obj->getVar('tplset_name')}> + <b style="color:red;">[*active*]</b><br /><br /> + <{else}> + <form action="./index.php?action=TplsetList" method="POST"> + <{xoops_token name=$actionForm->getTokenName() value=$actionForm->getToken()}> + <{xoops_input type=hidden name=tplset_name value=$obj->get('tplset_name')}> + <input type="submit" value="<{$smarty.const._SELECT}>" class="formButton" /> + </form> + <{/if}> + +<{* <a href="index.php?action=TplsetDownload&tplset_id=<{$obj->get('tplset_id')}>" title="*Download*"><img src="<{"icons/download.gif"|theme}>" alt="*Download*" /></a> *}> <a href="index.php?action=TplsetClone&tplset_id=<{$obj->get('tplset_id')}>" title="<{$smarty.const._EDIT}>"><img src="<{"icons/clone.gif"|theme}>" alt="<{$smarty.const._CLONE}>" /></a> + <br /> <{if $obj->getVar('tplset_name') != "default"}> <a href="index.php?action=TplsetEdit&tplset_id=<{$obj->get('tplset_id')}>" title="<{$smarty.const._EDIT}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="index.php?action=TplsetDelete&tplset_id=<{$obj->get('tplset_id')}>" title="<{$smarty.const._DELETE}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <{if $activeTemplateSet != $obj->getVar('tplset_name')}> + <a href="index.php?action=TplsetDelete&tplset_id=<{$obj->get('tplset_id')}>" title="<{$smarty.const._DELETE}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <{/if}> <{/if}> </td> </tr> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html:1.1.2.2 Sat Jan 14 21:24:20 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_list.html Sun Jan 15 03:31:15 2006 @@ -1,3 +1,7 @@ +<h3>» <{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_MANAGE}></h3> + +<h4><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_FILE_LIST}></h4> + <table class="outer" cellspacing="1"> @@ -5,9 +9,6 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_ID}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLFILE_SORT_KEY_TPL_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLFILE_SORT_KEY_TPL_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_REFID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLFILE_SORT_KEY_TPL_REFID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLFILE_SORT_KEY_TPL_REFID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_MODULE}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLFILE_SORT_KEY_TPL_MODULE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLFILE_SORT_KEY_TPL_MODULE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> @@ -17,9 +18,6 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_FILE}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLFILE_SORT_KEY_TPL_FILE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLFILE_SORT_KEY_TPL_FILE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_DESC}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLFILE_SORT_KEY_TPL_DESC}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLFILE_SORT_KEY_TPL_DESC}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_LASTMODIFIED}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.TPLFILE_SORT_KEY_TPL_LASTMODIFIED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.TPLFILE_SORT_KEY_TPL_LASTMODIFIED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> @@ -34,15 +32,14 @@ <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>"> <td><{$obj->getVar('tpl_id')}></td> - <td><{$obj->getVar('tpl_refid')}></td> <td><{$obj->getVar('tpl_module')}></td> <td><{$obj->getVar('tpl_tplset')}></td> - <td><{$obj->getVar('tpl_file')}></td> - <td><{$obj->getVar('tpl_desc')}></td> - <td><{$obj->getVar('tpl_lastmodified')}></td> - <td><{$obj->getVar('tpl_lastimported')}></td> + <td><b><{$obj->getVar('tpl_file')}></b><br /> + <{$obj->getVar('tpl_desc')}></td> + <td><{$obj->getVar('tpl_lastmodified')|xoops_formattimestamp:l}></td> + <td><{$obj->getVar('tpl_lastimported')|xoops_formattimestamp:l}></td> <td><{$obj->getVar('tpl_type')}></td> - <td><a href="index.php?action=TplfileEdit&tpl_id=<{$obj->get('tpl_id')}>"><{$smarty.const._EDIT}></a></td> + <td><a href="index.php?action=TplfileEdit&tpl_id=<{$obj->get('tpl_id')}>" title="<{$smarty.const._EDIT}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a></td> </tr> <{/foreach}> </table> Index: xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.7 xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.8 --- xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.7 Sat Jan 14 14:28:05 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html Sun Jan 15 03:31:15 2006 @@ -1,18 +1,29 @@ <h3>» <{$smarty.const._AD_LEGACYRENDER_LANG_THEME_ADMIN}></h3> +<div class="tip"><{$smarty.const._AD_LEGACYRENDER_TIPS_THEME_ADMIN}></div> + +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> + <form action="index.php" method="post" > <table classs="outer" cellspacing="1"> <tr> - <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_THEME}></th> + <th><{$smarty.const._AD_LEGACYRENDER_LANG_THEME}></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_PACKAGE}></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> + <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=theme from=$themes}> <{xoops_token form=$actionForm}> - <tr class="<{cycle values="odd,even"}>"> - <td align="center"> - <input type="checkbox" name="select[<{$theme->get('id')}>]" value="1" <{if $actionForm->get('select', $theme->get('id'))}>checked<{/if}>/> - </td> + <{if $currentThemeName == $theme->get('name')}> + <tr class="head" style="background-color:pink;"> + <{else}> + <tr class="<{cycle values="odd,even"}>"> + <{/if}> <td align="center"> <{if $theme->mPackage.Theme.ScreenShot}> <img src="<{$smarty.const.XOOPS_THEME_URL}>/<{$theme->get('name')}>/<{$theme->mPackage.Theme.ScreenShot}>" alt="<{$theme->get('name')}>" width="120" height="90" /><br/> @@ -35,21 +46,26 @@ <{$smarty.const._AD_LEGACYRENDER_MESSAGE_NO_PACKAGE}> <{/if}> </td> - <td style="text-align:right;"> + <td style="text-align:center;"> + <input type="checkbox" name="select[<{$theme->get('id')}>]" value="1" <{if $actionForm->get('select', $theme->get('id'))}>checked<{/if}>/> + </td> + <td style="text-align:center;"> <{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" /> + <input name="choose[<{$theme->get('name')|escape}>]" type="submit" value="<{$smarty.const._SELECT}>" class="formButton" /> <{else}> - [ <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" /> +<{* [ <b style="color:red;"><{$smarty.const._AD_LEGACYRENDER_LANG_SELECTED}></b> ] *}> + <b style="color:red;">[Active]</b> <{/if}> + <img src="<{'icons/info.gif'|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_INFORMATION}>" align="absmiddle" /> </td> </tr> <{/foreach}> <tr class="foot"> - <td colspan="4"> + <td colspan="2"></td> + <td style="text-align:center;"> <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" name="submit" /> </td> + <td></td> </tr> </table> </form>