mirror of
https://github.com/ZDoom/zdoom-styles.git
synced 2024-11-24 12:21:03 +00:00
33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<!-- IF S_HAS_POLL_OPTIONS -->
|
|
<div class="block">
|
|
<h2>{L_PREVIEW}: {POLL_QUESTION}</h2>
|
|
<p class="author"><!-- IF L_POLL_LENGTH -->{L_POLL_LENGTH}<br /><!-- ENDIF -->{L_MAX_VOTES}</p>
|
|
<fieldset class="polls">
|
|
<!-- BEGIN poll_option -->
|
|
<dl>
|
|
<dt><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label></dt>
|
|
<dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd>
|
|
</dl>
|
|
<!-- END poll_option -->
|
|
</fieldset>
|
|
</div>
|
|
<!-- ENDIF -->
|
|
|
|
<div class="block post">
|
|
<div class="post-header">
|
|
<h3>{PREVIEW_SUBJECT}</h3>
|
|
</div>
|
|
<div class="postbody">
|
|
{PREVIEW_MESSAGE}
|
|
<!-- IF .attachment -->
|
|
<dl class="attachbox">
|
|
<dt>{L_ATTACHMENTS}</dt>
|
|
<!-- BEGIN attachment -->
|
|
<dd>{attachment.DISPLAY_ATTACHMENT}</dd>
|
|
<!-- END attachment -->
|
|
</dl>
|
|
<!-- ENDIF -->
|
|
</div>
|
|
</div>
|
|
|
|
<hr />
|