Minahito
minah****@users*****
2006年 4月 6日 (木) 16:54:25 JST
Index: xoops2jp/html/modules/base/admin/templates/customblock_edit.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/customblock_edit.html:1.1.2.1 --- /dev/null Thu Apr 6 16:54:25 2006 +++ xoops2jp/html/modules/base/admin/templates/customblock_edit.html Thu Apr 6 16:54:25 2006 @@ -0,0 +1,76 @@ +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="index.php?action=CustomBlockEdit" method="post"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=bid value=$actionForm->getVar('bid')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_BASE_LANG_TITLE}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=title value=$actionForm->getVar('title') size=15 maxlength=255}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_SIDE}></th> + <td class="<{cycle values="odd,even"}>"> + <select name="side"> + <{xoops_optionsArray from=$columnSideArr label=name value=id default=$actionForm->get('side')}> + </select> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_WEIGHT}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=weight value=$actionForm->getVar('weight')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_CONTENT}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_dhtmltarea type=text name=content value=$actionForm->getVar('content')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_CTYPE}></th> + <td class="<{cycle values="odd,even"}>"> + <select name='c_type'> + <{xoops_optionsArray from=$ctypeArr value=type label=label default=$actionForm->get('ctype')}> + </select> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_BCACHETIME}></th> + <td class="<{cycle values="odd,even"}>"> + <select name='bcachetime'> + <{xoops_optionsArray from=$cachetimeArr value=cachetime label=label default=$actionForm->get('bcachetime')}> + </select> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_TARGET_MODULES}></th> + <td class="<{cycle values="odd,even"}>"> + <select size='5' name='bmodule[]' multiple='multiple'> + <{xoops_optionsArray from=$moduleArr value=mid label=name default=$actionForm->get('bmodule')}> + </select> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_TARGET_GROUPS}></th> + <td class="<{cycle values="odd,even"}>"> + <select size='5' name='groupid[]' multiple='multiple'> + <{xoops_optionsArray from=$groupArr value=groupid label=name default=$actionForm->get('groupid')}> + </select> + </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>