]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/cache/tpl_subSilver.posting_poll_body.php
Vervang links naar w3 validator door https.
[www.vanrenterghem.biz.git] / phpBB2 / cache / tpl_subSilver.posting_poll_body.php
1 <?php
3 // eXtreme Styles mod cache. Generated on Sun, 12 Jun 2005 15:51:34 -0400 (time=1118605894)
5 ?>
6                         <tr>
7                                 <th class="thHead" colspan="2"><?php echo isset($this->vars['L_ADD_A_POLL']) ? $this->vars['L_ADD_A_POLL'] : $this->lang('L_ADD_A_POLL'); ?></th>
8                 </tr>
9                         <tr>
10                                 <td class="row1" colspan="2"><span class="gensmall"><?php echo isset($this->vars['L_ADD_POLL_EXPLAIN']) ? $this->vars['L_ADD_POLL_EXPLAIN'] : $this->lang('L_ADD_POLL_EXPLAIN'); ?></span></td>
11                 </tr>
12             <tr>
13                                 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_POLL_QUESTION']) ? $this->vars['L_POLL_QUESTION'] : $this->lang('L_POLL_QUESTION'); ?></b></span></td>
14                                 <td class="row2"><span class="genmed"><input type="text" name="poll_title" size="50" maxlength="255" class="post" value="<?php echo isset($this->vars['POLL_TITLE']) ? $this->vars['POLL_TITLE'] : $this->lang('POLL_TITLE'); ?>" /></span></td>
15                         </tr>
16                         <?php
18 $poll_option_rows_count = ( isset($this->_tpldata['poll_option_rows.']) ) ?  sizeof($this->_tpldata['poll_option_rows.']) : 0;
19 for ($poll_option_rows_i = 0; $poll_option_rows_i < $poll_option_rows_count; $poll_option_rows_i++)
20 {
21  $poll_option_rows_item = &$this->_tpldata['poll_option_rows.'][$poll_option_rows_i];
22  $poll_option_rows_item['S_ROW_COUNT'] = $poll_option_rows_i;
23  $poll_option_rows_item['S_NUM_ROWS'] = $poll_option_rows_count;
25 ?>
26             <tr>
27                                 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_POLL_OPTION']) ? $this->vars['L_POLL_OPTION'] : $this->lang('L_POLL_OPTION'); ?></b></span></td>
28                                 <td class="row2"><span class="genmed"><input type="text" name="poll_option_text[<?php echo isset($poll_option_rows_item['S_POLL_OPTION_NUM']) ? $poll_option_rows_item['S_POLL_OPTION_NUM'] : ''; ?>]" size="50" class="post" maxlength="255" value="<?php echo isset($poll_option_rows_item['POLL_OPTION']) ? $poll_option_rows_item['POLL_OPTION'] : ''; ?>" /></span> &nbsp;<input type="submit" name="edit_poll_option" value="<?php echo isset($this->vars['L_UPDATE_OPTION']) ? $this->vars['L_UPDATE_OPTION'] : $this->lang('L_UPDATE_OPTION'); ?>" class="liteoption" /> <input type="submit" name="del_poll_option[<?php echo isset($poll_option_rows_item['S_POLL_OPTION_NUM']) ? $poll_option_rows_item['S_POLL_OPTION_NUM'] : ''; ?>]" value="<?php echo isset($this->vars['L_DELETE_OPTION']) ? $this->vars['L_DELETE_OPTION'] : $this->lang('L_DELETE_OPTION'); ?>" class="liteoption" /></td>
29                         </tr>
30                         <?php
32 } // END poll_option_rows
34 if(isset($poll_option_rows_item)) { unset($poll_option_rows_item); } 
36 ?>
37             <tr>
38                                 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_POLL_OPTION']) ? $this->vars['L_POLL_OPTION'] : $this->lang('L_POLL_OPTION'); ?></b></span></td>
39                                 <td class="row2"><span class="genmed"><input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="<?php echo isset($this->vars['ADD_POLL_OPTION']) ? $this->vars['ADD_POLL_OPTION'] : $this->lang('ADD_POLL_OPTION'); ?>" /></span> &nbsp;<input type="submit" name="add_poll_option" value="<?php echo isset($this->vars['L_ADD_OPTION']) ? $this->vars['L_ADD_OPTION'] : $this->lang('L_ADD_OPTION'); ?>" class="liteoption" /></td>
40                         </tr>
41             <tr>
42                                 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_POLL_LENGTH']) ? $this->vars['L_POLL_LENGTH'] : $this->lang('L_POLL_LENGTH'); ?></b></span></td>
43                                 <td class="row2"><span class="genmed"><input type="text" name="poll_length" size="3" maxlength="3" class="post" value="<?php echo isset($this->vars['POLL_LENGTH']) ? $this->vars['POLL_LENGTH'] : $this->lang('POLL_LENGTH'); ?>" /></span>&nbsp;<span class="gen"><b><?php echo isset($this->vars['L_DAYS']) ? $this->vars['L_DAYS'] : $this->lang('L_DAYS'); ?></b></span> &nbsp; <span class="gensmall"><?php echo isset($this->vars['L_POLL_LENGTH_EXPLAIN']) ? $this->vars['L_POLL_LENGTH_EXPLAIN'] : $this->lang('L_POLL_LENGTH_EXPLAIN'); ?></span></td>
44                         </tr>
45                         <?php
47 $switch_poll_delete_toggle_count = ( isset($this->_tpldata['switch_poll_delete_toggle.']) ) ?  sizeof($this->_tpldata['switch_poll_delete_toggle.']) : 0;
48 for ($switch_poll_delete_toggle_i = 0; $switch_poll_delete_toggle_i < $switch_poll_delete_toggle_count; $switch_poll_delete_toggle_i++)
49 {
50  $switch_poll_delete_toggle_item = &$this->_tpldata['switch_poll_delete_toggle.'][$switch_poll_delete_toggle_i];
51  $switch_poll_delete_toggle_item['S_ROW_COUNT'] = $switch_poll_delete_toggle_i;
52  $switch_poll_delete_toggle_item['S_NUM_ROWS'] = $switch_poll_delete_toggle_count;
54 ?>
55             <tr>
56                                 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_POLL_DELETE']) ? $this->vars['L_POLL_DELETE'] : $this->lang('L_POLL_DELETE'); ?></b></span></td>
57                                 <td class="row2"><input type="checkbox" name="poll_delete" /></td>
58                         </tr>
59                         <?php
61 } // END switch_poll_delete_toggle
63 if(isset($switch_poll_delete_toggle_item)) { unset($switch_poll_delete_toggle_item); } 
65 ?>