Minahito
minah****@users*****
2006年 1月 29日 (日) 00:49:28 JST
Index: xoops2jp/html/modules/base/admin/templates/smiles_edit.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.1 --- /dev/null Sun Jan 29 00:49:28 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_edit.html Sun Jan 29 00:49:28 2006 @@ -0,0 +1,42 @@ +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="index.php?action=SmilesEdit" method="post" enctype="multipart/form-data"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=id value=$actionForm->getVar('id')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_BASE_LANG_CODE}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=code value=$actionForm->getVar('code') size=15 maxlength=50}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_SMILE_URL}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=file name=smile_url}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_EMOTION}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=emotion value=$actionForm->getVar('emotion') size=15 maxlength=75}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_DISPLAY}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=display value=1 default=$actionForm->getVar('display')}> + </td> + </tr> + <tr class="foot"> + <td colspan="2" style="text-align:center;"> + <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> + </td> + </tr> + </table> +</form> Index: xoops2jp/html/modules/base/admin/templates/smiles_delete.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.1 --- /dev/null Sun Jan 29 00:49:28 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_delete.html Sun Jan 29 00:49:28 2006 @@ -0,0 +1,32 @@ +<p><{$smarty.const._AD_BASE_MESSAGE_CONFIRM_DELETE}></p> +<table class="outer" cellspacing="1"> + <tr> + <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_ID}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('id')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_CODE}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('code')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_SMILE_URL}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('smile_url')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_EMOTION}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('emotion')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DISPLAY}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('display')}></td> + </tr> + <tr> + <td class="foot" colspan="2" style="text-align:center;"><br /> + <form action="./index.php?action=SmilesDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=id value=$actionForm->get('id')}> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> + </form> + </td> + </tr> +</table> Index: xoops2jp/html/modules/base/admin/templates/smiles_list.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.1 --- /dev/null Sun Jan 29 00:49:28 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_list.html Sun Jan 29 00:49:28 2006 @@ -0,0 +1,38 @@ +<div style="text-align:right;">[ <a href="index.php?action=SmilesEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></strong></a> ]</div> +<br/> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_BASE_LANG_ID}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.SMILES_SORT_KEY_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.SMILES_SORT_KEY_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_BASE_LANG_CODE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.SMILES_SORT_KEY_CODE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.SMILES_SORT_KEY_CODE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_BASE_LANG_SMILE_URL}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.SMILES_SORT_KEY_SMILE_URL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.SMILES_SORT_KEY_SMILE_URL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_BASE_LANG_EMOTION}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.SMILES_SORT_KEY_EMOTION}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.SMILES_SORT_KEY_EMOTION}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_BASE_LANG_DISPLAY}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.SMILES_SORT_KEY_DISPLAY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.SMILES_SORT_KEY_DISPLAY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> + </tr> + <{foreach item=obj from=$objects}> + <tr class="<{cycle values='odd,even'}>"> + <td><{$obj->getVar('id')}></td> + <td><{$obj->getVar('code')}></td> + <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('smile_url')}>" /></td> + <td><{$obj->getVar('emotion')}></td> + <td><{$obj->getVar('display')}></td> + <td> + <a href="./index.php?action=SmilesEdit&id=<{$obj->get('id')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=SmilesDelete&id=<{$obj->get('id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + </td> + </tr> + </tr> + <{/foreach}> +</table> +<br /> +<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>