Minahito
minah****@users*****
2006年 1月 24日 (火) 20:23:48 JST
Index: xoops2jp/html/modules/base/templates/legacy_comment_edit.html diff -u /dev/null xoops2jp/html/modules/base/templates/legacy_comment_edit.html:1.1.2.1 --- /dev/null Tue Jan 24 20:23:48 2006 +++ xoops2jp/html/modules/base/templates/legacy_comment_edit.html Tue Jan 24 20:23:48 2006 @@ -0,0 +1,81 @@ +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="comment_post.php" method="post"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=com_id value=$actionForm->get('com_id')}> + <{xoops_input type=hidden name=com_pid value=$actionForm->get('com_pid')}> + <{xoops_input type=hidden name=com_rootid value=$actionForm->get('com_rootid')}> + <{xoops_input type=hidden name=com_modid value=$actionForm->get('com_modid')}> + <{xoops_input type=hidden name=com_itemid value=$actionForm->get('com_itemid')}> + <{xoops_input type=hidden name=com_exparams value=$actionForm->get('com_exparams')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_BASE_LANG_COMMENT_RULE}></th> + <td class="<{cycle values="odd,even"}>"> + <{if $xoopsModuleConfig.com_rule == XOOPS_COMMENT_APPROVEALL}> + <{$smarty.const._CM_COMAPPROVEALL}> + <{elseif $xoopsModuleConfig.com_rule == XOOPS_COMMENT_APPROVEUSER}> + <{$smarty.const._CM_COMAPPROVEUSER}> + <{else}> + <{$smarty.const._CM_COMAPPROVEADMIN}> + <{/if}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_BASE_LANG_COM_ICON}></th> + <td class="<{cycle values="odd,even"}>"> + <{foreach item=icon from=$subjectIcons}> + <{xoops_input type=radio name=com_icon value=$icon->get('filename') default=$actionForm->get('filename')}><img src="<{$xoops_url}>/images/subject/<{$icon->getVar('filename')}>" /> + <{/foreach}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_BASE_LANG_COM_TITLE}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=com_title value=$actionForm->getVar('com_title') size=15 maxlength=255}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_BASE_LANG_COM_TEXT}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_dhtmltarea type=text name=com_text value=$actionForm->getVar('com_text')}> + </td> + </tr> + <{if $xoops_isadmin}> + <tr> + <th><{$smarty.const._MD_BASE_LANG_DOHTML}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=dohtml value=1 default=$actionForm->getVar('dohtml')}> + </td> + </tr> + <{/if}> + <tr> + <th><{$smarty.const._MD_BASE_LANG_DOSMILEY}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=dosmiley value=1 default=$actionForm->getVar('dosmiley')}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_BASE_LANG_DOXCODE}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=doxcode value=1 default=$actionForm->getVar('doxcode')}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_BASE_LANG_DOBR}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=dobr value=1 default=$actionForm->getVar('dobr')}> + </td> + </tr> + <tr class="foot"> + <td colspan="2" style="text-align:center;"> + <input class="formButton" type="submit" name="com_dopost" value="<{$smarty.const._SUBMIT}>" /> + </td> + </tr> + </table> +</form>