Rename ids of fields
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 17 Jan 2024 14:33:45 +0000 (15:33 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 17 Jan 2024 14:33:45 +0000 (15:33 +0100)
com.woltlab.wcf/templates/__messageFormPollInline.tpl

index 65aeff2c92b175dce8da53178457b93d3d7d08df..e2d93991e6b70af66cc1d427834fa30820e48ded 100644 (file)
@@ -24,7 +24,7 @@
                                <label for="{$wysiwygSelector}Poll_question">{lang}wcf.poll.question{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="text" name="pollQuestion" id="{$wysiwygSelector}Poll_question" value="{$pollQuestion}" class="long" maxlength="255">
+                               <input type="text" name="pollQuestion" id="{$wysiwygSelector}pollQuestion" value="{$pollQuestion}" class="long" maxlength="255">
                        </dd>
                        <dt>
                                <label>{lang}wcf.poll.options{/lang}</label>
@@ -39,7 +39,7 @@
                                <label for="{$wysiwygSelector}Poll_endTime">{lang}wcf.poll.endTime{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="datetime" tabindex="-1" name="pollEndTime" id="{$wysiwygSelector}Poll_endTime" value="{if $pollEndTime}{@$pollEndTime|date:'c'}{/if}" class="medium">
+                               <input type="datetime" tabindex="-1" name="pollEndTime" id="{$wysiwygSelector}pollEndTime" value="{if $pollEndTime}{@$pollEndTime|date:'c'}{/if}" class="medium">
                        </dd>
                </dl>
                <dl>
                                <label for="{$wysiwygSelector}Poll_maxVotes">{lang}wcf.poll.maxVotes{/lang}</label>
                        </dt>
                        <dd>
-                               <input type="number" name="pollMaxVotes" id="{$wysiwygSelector}Poll_maxVotes" value="{$pollMaxVotes}" min="1" class="tiny">
+                               <input type="number" name="pollMaxVotes" id="{$wysiwygSelector}pollMaxVotes" value="{$pollMaxVotes}" min="1" class="tiny">
                        </dd>
                </dl>
                <dl>
                        <dt></dt>
                        <dd>
-                               <label><input type="checkbox" name="pollIsChangeable" id="{$wysiwygSelector}Poll_isChangeable" value="1"{if $pollIsChangeable} checked{/if}> {lang}wcf.poll.isChangeable{/lang}</label>
+                               <label><input type="checkbox" name="pollIsChangeable" id="{$wysiwygSelector}pollIsChangeable" value="1"{if $pollIsChangeable} checked{/if}> {lang}wcf.poll.isChangeable{/lang}</label>
                        </dd>
                        {if $pollID || $__wcf->getPollManager()->canStartPublicPoll()}
                                <dd>
-                                       <label><input type="checkbox" name="pollIsPublic" id="{$wysiwygSelector}Poll_isPublic" value="1"{if $pollIsPublic} checked{/if} {if $pollID}disabled{/if}> {lang}wcf.poll.isPublic{/lang}</label>
+                                       <label><input type="checkbox" name="pollIsPublic" id="{$wysiwygSelector}pollIsPublic" value="1"{if $pollIsPublic} checked{/if} {if $pollID}disabled{/if}> {lang}wcf.poll.isPublic{/lang}</label>
                                </dd>
                        {/if}
                        <dd>
-                               <label><input type="checkbox" name="pollResultsRequireVote" id="{$wysiwygSelector}Poll_resultsRequireVote" value="1"{if $pollResultsRequireVote} checked{/if}> {lang}wcf.poll.resultsRequireVote{/lang}</label>
+                               <label><input type="checkbox" name="pollResultsRequireVote" id="{$wysiwygSelector}pollResultsRequireVote" value="1"{if $pollResultsRequireVote} checked{/if}> {lang}wcf.poll.resultsRequireVote{/lang}</label>
                                <small>{lang}wcf.poll.resultsRequireVote.description{/lang}</small>
                        </dd>
                        <dd>
-                               <label><input type="checkbox" name="pollSortByVotes" id="{$wysiwygSelector}Poll_sortByVotes" value="1"{if $pollSortByVotes} checked{/if}> {lang}wcf.poll.sortByVotes{/lang}</label>
+                               <label><input type="checkbox" name="pollSortByVotes" id="{$wysiwygSelector}pollSortByVotes" value="1"{if $pollSortByVotes} checked{/if}> {lang}wcf.poll.sortByVotes{/lang}</label>
                        </dd>
                </dl>