mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
- re-enable polls (user is now able to decide if users are able to change votes if this feature is enabled within the given forum)
git-svn-id: file:///svn/phpbb/trunk@4981 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -7,21 +7,26 @@
|
||||
<td class="row3" colspan="2"><span class="gensmall">{L_ADD_POLL_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POLL_QUESTION}</b></td>
|
||||
<td class="row1"><b class="genmed">{L_POLL_QUESTION}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="poll_title" size="50" maxlength="255" value="{POLL_TITLE}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POLL_OPTIONS}</b><br /><span class="gensmall">{L_POLL_OPTIONS_EXPLAIN}</span></td>
|
||||
<td class="row1"><b class="genmed">{L_POLL_OPTIONS}:</b><br /><span class="gensmall">{L_POLL_OPTIONS_EXPLAIN}</span></td>
|
||||
<td class="row2"><textarea style="width:450px" name="poll_option_text" rows="5" cols="35">{POLL_OPTIONS}</textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POLL_MAX_OPTIONS}</b><br /><span class="gensmall">{L_POLL_MAX_OPTIONS_EXPLAIN}</span></td>
|
||||
<td class="row1"><b class="genmed">{L_POLL_MAX_OPTIONS}:</b><br /><span class="gensmall">{L_POLL_MAX_OPTIONS_EXPLAIN}</span></td>
|
||||
<td class="row2"><input class="post" type="text" name="poll_max_options" size="3" maxlength="3" value="{POLL_MAX_OPTIONS}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POLL_FOR}</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="poll_length" size="3" maxlength="3" value="{POLL_LENGTH}" /> <b class="gen">{L_DAYS}</b> <span class="gensmall">{L_POLL_FOR_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<!-- IF S_POLL_VOTE_CHANGE -->
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POLL_VOTE_CHANGE}:</b><br /><span class="gensmall">{L_POLL_VOTE_CHANGE_EXPLAIN}</span></td>
|
||||
<td class="row2"><input type="checkbox" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /></td>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_POLL_DELETE -->
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POLL_DELETE}</b></td>
|
||||
|
@@ -12,19 +12,31 @@
|
||||
<td class="row2" colspan="2"><br clear="all" />
|
||||
<table cellspacing="0" cellpadding="4" border="0" align="center">
|
||||
<tr>
|
||||
<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span></td>
|
||||
<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><table cellspacing="0" cellpadding="2" border="0">
|
||||
<td align="center">
|
||||
<table cellspacing="0" cellpadding="2" border="0">
|
||||
<!-- BEGIN poll_option -->
|
||||
<tr>
|
||||
<td><input type="radio" name="vote_id" value="" /> </td>
|
||||
<td>
|
||||
<!-- IF S_IS_MULTI_CHOICE -->
|
||||
<input type="checkbox" name="vote_id" value="" />
|
||||
<!-- ELSE -->
|
||||
<input type="radio" name="vote_id" value="" />
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
|
||||
</tr>
|
||||
<!-- END poll_option -->
|
||||
</table></td>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<tr>
|
||||
<td align="center"><span class="gensmall">{L_MAX_VOTES}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<tr>
|
||||
|
@@ -143,7 +143,7 @@
|
||||
|
||||
<table width="100%" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<td class="gensmall" align="right"><!-- IF U_REPORT --><a href="{U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> <!-- IF U_IP --><a href="{U_IP}">{IP_IMG}</a> <!-- ENDIF --> <!-- IF U_DELETE --><a href="{U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --></td>
|
||||
<td class="gensmall" align="right"><!-- IF U_REPORT --><a href="{U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> <!-- IF U_INFO --><a href="{U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> <!-- IF U_DELETE --><a href="{U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@@ -69,7 +69,13 @@
|
||||
<!-- BEGIN poll_option -->
|
||||
<tr>
|
||||
<!-- IF S_CAN_VOTE -->
|
||||
<td><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF -->/><!-- ELSE --><input type="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --> </td>
|
||||
<td>
|
||||
<!-- IF S_IS_MULTI_CHOICE -->
|
||||
<input type="checkbox" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
|
||||
<!-- ELSE -->
|
||||
<input type="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<!-- ENDIF -->
|
||||
<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
|
||||
<!-- IF S_DISPLAY_RESULTS -->
|
||||
|
Reference in New Issue
Block a user