Minahito
minah****@users*****
2006年 1月 14日 (土) 02:36:04 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.1 xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.1 Sat Jan 14 02:32:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html Sat Jan 14 02:36:04 2006 @@ -1,3 +1,6 @@ +<h3>» *テンプレート管理*</h3> + +<h4>*テンプレートセット一覧*</h4> [<a href="index.php?action=TplsetEdit"><{$smarty.const._CREATE}></a>] @@ -21,16 +24,22 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <tr class="<{cycle values='odd,even'}>"> - <td><{$obj->getVar('tplset_id')}></td> - <td><{$obj->getVar('tplset_name')}></td> + <{if $activeTemplateSet == $obj->getVar('tplset_name')}> + <tr class="head" style="background-color:pink;"> + <{else}> + <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><{$obj->getVar('tplset_credits')}></td> - <td><{$obj->getVar('tplset_created')}></td> - <td> - <a href="index.php?action=TplsetEdit&tplset_id=<{$obj->get('tplset_id')}>"><{$smarty.const._EDIT}></a> - <a href="index.php?action=TplsetDelete&tplset_id=<{$obj->get('tplset_id')}>"><{$smarty.const._DELETE}></a> - <a href="index.php?action=TplsetClone&tplset_id=<{$obj->get('tplset_id')}>"><{$smarty.const._CLONE}></a> + <td><{$obj->get('tplset_credits')|escape|nl2br}></td> + <td style="text-align:center;"><{$obj->getVar('tplset_created')|xoops_formattimestamp:l}></td> + <td style="text-align:center;"> + <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> + <{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}> </td> </tr> <{/foreach}> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.1 Sat Jan 14 02:32:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html Sat Jan 14 02:36:04 2006 @@ -1,3 +1,7 @@ +<h3>» *テンプレート管理*</h3> + +<h4>*テンプレートセット複製*</h4> + <{if $actionForm->hasError()}> <ul> <{foreach item=message from=$actionForm->getErrorMessages()}> @@ -5,31 +9,33 @@ <{/foreach}> </ul> <{/if}> + <form action="./index.php?action=TplsetClone" method="post"> <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tplset_id value=$actionForm->get('tplset_id')}> + <{xoops_input type=hidden name=tplset_id value=$actionForm->getVar('tplset_id')}> <table class="outer" cellspacing="1"> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_NAME}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=tplset_name value=$actionForm->getVar('tplset_name') size=15 maxlength=50}> + <b><{$object->getVar('tplset_name')}></b> » » + <{xoops_input type=text name=tplset_name value="" size=30 maxlength=50}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=tplset_desc value=$actionForm->getVar('tplset_desc') size=15 maxlength=255}> + <{xoops_input type=text name=tplset_desc value=$object->getVar('tplset_desc') size=50 maxlength=255}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_CREDITS}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_dhtmltarea type=text name=tplset_credits value=$actionForm->getVar('tplset_credits')}> + <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$object->getVar('tplset_credits')}> </td> </tr> <tr class="foot"> <td colspan="2" style="text-align:center;"> - <input class="formButton" type="submit" value="<{$smarty.const._MD_LEGACYRENDER_LANG_SUBMIT}>" /> + <input class="formButton" type="submit" value="<{$smarty.const._CLONE}>" /> </td> </tr> </table> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.1 Sat Jan 14 02:32:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html Sat Jan 14 02:36:04 2006 @@ -1,3 +1,7 @@ +<h3>» *テンプレート管理*</h3> + +<h4>*テンプレートセット編集*</h4> + <{if $actionForm->hasError()}> <ul> <{foreach item=message from=$actionForm->getErrorMessages()}> @@ -5,31 +9,30 @@ <{/foreach}> </ul> <{/if}> + <form action="./index.php?action=TplsetEdit" method="post"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=tplset_id value=$actionForm->getVar('tplset_id')}> <table class="outer" cellspacing="1"> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_NAME}></th> - <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=tplset_name value=$actionForm->getVar('tplset_name') size=15 maxlength=50}> - </td> + <td class="<{cycle values="odd,even"}>"><b><{$object->getVar('tplset_name')}></b></td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=tplset_desc value=$actionForm->getVar('tplset_desc') size=15 maxlength=255}> + <{xoops_input type=text name=tplset_desc value=$actionForm->getVar('tplset_desc') size=50 maxlength=255}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_CREDITS}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_dhtmltarea type=text name=tplset_credits value=$actionForm->getVar('tplset_credits')}> + <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$actionForm->getVar('tplset_credits')}> </td> </tr> <tr class="foot"> <td colspan="2" style="text-align:center;"> - <input class="formButton" type="submit" value="<{$smarty.const._MD_LEGACYRENDER_LANG_SUBMIT}>" /> + <input class="formButton" type="submit" value="<{$smarty.const._EDIT}>" /> </td> </tr> </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.5 xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.6 --- xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html:1.1.2.5 Fri Jan 13 02:17:33 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/theme_list.html Sat Jan 14 02:36:04 2006 @@ -1,6 +1,6 @@ <h3>» <{$smarty.const._AD_LEGACYRENDER_LANG_THEME_ADMIN}></h3> -<form action="index.php" method="post" ID="Form1"> +<form action="index.php" method="post" > <table classs="outer" cellspacing="1"> <tr> <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_THEME}></th> @@ -47,8 +47,8 @@ <{/foreach}> <tr class="foot"> <td colspan="4"> - <input type="submit" value="<{$smarty.const._SUBMIT}>" ID="Submit1" NAME="Submit1"/> + <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" name="submit" /> </td> </tr> </table> -</form> \ No newline at end of file +</form> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html:1.1.2.1 Sat Jan 14 02:32:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html Sat Jan 14 02:36:04 2006 @@ -1,8 +1,12 @@ +<h3>» *テンプレート管理*</h3> -Do you delete <{$object->getVar('tplset_name')}>? +<h4>*テンプレートセット削除*</h4> +<ul> + <li>Do you delete <b><{$object->getVar('tplset_name')}></b> ?</li> +</ul> <form action="" method="post"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tplset_id value=$actionForm->get('tplset_id')}> - <input type="submit" value="<{$smarty.const._DELETE}>" /> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=tplset_id value=$actionForm->get('tplset_id')}> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> </form>