Skip to content

Commit

Permalink
change template
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanashi committed Oct 19, 2024
1 parent efaf69f commit d8ddfa6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
</instructions>
<instructions type="update" fromversion="1.0.*">
<instruction type="file"/>
<instruction type="template"/>
</instructions>
</package>
20 changes: 10 additions & 10 deletions templates/__haModeratedFilter.tpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{if $templateName|isset && $templateName == 'moderatedUserGroupList'}
<form action="{link controller='ModeratedUserGroupList'}{/link}" method="post">
<input type="text" placeholder="{lang}wcf.moderated.hanashi.haGroupName{/lang}" name="haGroupName"{if $haGroupName|isset} value="{$haGroupName}"{/if}> <input type="submit" value="{lang}wcf.moderated.hanashi.submit{/lang}">
</form>
<form action="{link controller='ModeratedUserGroupList'}{/link}" method="post">
<input type="text" placeholder="{lang}wcf.moderated.hanashi.haGroupName{/lang}" name="haGroupName"{if $haGroupName|isset} value="{$haGroupName}"{/if}> <input type="submit" value="{lang}wcf.moderated.hanashi.submit{/lang}">
</form>
{else if $templateName|isset && $templateName == 'userGroupManageMemberList'}
<form action="{link controller='UserGroupManageMemberList' id=$group->groupID}{/link}" method="post">
<input type="text" placeholder="{lang}wcf.moderated.hanashi.haMemberName{/lang}" name="haMemberName"{if $haMemberName|isset} value="{$haMemberName}"{/if}> <input type="submit" value="{lang}wcf.moderated.hanashi.submit{/lang}">
</form>
<form action="{link controller='UserGroupManageMemberList' id=$group->groupID}{/link}" method="post">
<input type="text" placeholder="{lang}wcf.moderated.hanashi.haMemberName{/lang}" name="haMemberName"{if $haMemberName|isset} value="{$haMemberName}"{/if}> <input type="submit" value="{lang}wcf.moderated.hanashi.submit{/lang}">
</form>
{else if $templateName|isset && $templateName == 'userGroupList'}
<form action="{link controller='UserGroupList'}{/link}" method="post">
<input type="text" placeholder="{lang}wcf.moderated.hanashi.haGroupName{/lang}" name="haUserGroupName"{if $haUserGroupName|isset} value="{$haUserGroupName}"{/if}> <input type="submit" value="{lang}wcf.moderated.hanashi.submit{/lang}">
</form>
{/if}
<form action="{link controller='UserGroupList'}{/link}" method="post">
<input type="text" placeholder="{lang}wcf.moderated.hanashi.haGroupName{/lang}" name="haUserGroupName"{if $haUserGroupName|isset} value="{$haUserGroupName}"{/if}> <input type="submit" value="{lang}wcf.moderated.hanashi.submit{/lang}">
</form>
{/if}

0 comments on commit d8ddfa6

Please sign in to comment.