echo lang('message', 'message');
?>
<br />
						<?php 
echo form_error('message');
?>
						<?php 
echo form_textarea(array('id' => 'message', 'name' => 'message', 'rows' => 20, 'cols' => 85, 'class' => 'fullfield', 'value' => set_value('message', $message)));
?>
					</p>
					<?php 
$this->table->set_template($cp_pad_table_template);
$this->table->template['thead_open'] = '<thead class="visualEscapism">';
$this->table->set_heading(array('data' => '&nbsp;', 'width' => '30%'), '&nbsp;');
if ($spell_enabled) {
    $this->table->add_row(array('<a href="#" class="spellcheck_link" id="spelltrigger_message" title="' . lang('check_spelling') . '">' . lang('check_spelling') . '</a>', build_spellcheck('message')));
}
$this->table->add_row(array(lang('mail_format', 'mailtype'), form_dropdown('mailtype', $mailtype_options, $mailtype, 'id="mailtype"') . '<p class="" id="plaintext_alt_cont">' . lang('plaintext_alt', 'plaintext_alt') . form_textarea(array('id' => 'plaintext_alt', 'name' => 'plaintext_alt', 'value' => set_value('plaintext_alt', $plaintext_alt), 'rows' => 8, 'cols' => 80)) . '</p>'));
$this->table->add_row(array(lang('text_formatting', 'text_fmt'), form_dropdown('text_fmt', $text_formatting_options, $text_fmt, 'id="text_fmt"')));
$this->table->add_row(array(lang('wordwrap', 'wordwrap'), form_dropdown('wordwrap', $word_wrap_options, $wordwrap, 'id="wordwrap"')));
$this->table->add_row(array(lang('priority', 'priority'), form_dropdown('priority', $priority_options, $priority, 'id="priority"')));
$this->table->add_row(array(form_error('attachment') . lang('attachment', 'attachment'), form_upload(array('id' => 'attachment', 'name' => 'attachment')) . '<p>' . lang('attachment_warning') . '</p>'));
echo $this->table->generate();
?>
					<p style="margin-top:15px;">
						<?php 
$accept_admin_email = array('name' => 'accept_admin_email', 'id' => 'accept_admin_email', 'value' => 'y', 'checked' => set_checkbox('accept_admin_email', 'y'));
echo form_checkbox($accept_admin_email);
?>
 
						
Exemple #2
0
						<?=form_textarea(array('id'=>'message','name'=>'message','rows'=>20,'cols'=>85,'class'=>'fullfield','value'=>set_value('message', $message)))?>
					</p>
					<?php
					
					$this->table->set_template($cp_pad_table_template);
					$this->table->template['thead_open'] = '<thead class="visualEscapism">';
					
					$this->table->set_heading(
												array('data' => '&nbsp;', 'width' => '30%'),
												'&nbsp;'
											);
					if ($spell_enabled) 
					{
						$this->table->add_row(array(
								'<a href="#" class="spellcheck_link" id="spelltrigger_message" title="'.lang('check_spelling').'">'.lang('check_spelling').'</a>',
								build_spellcheck('message')
							)
						);						
					}
						
					$this->table->add_row(array(
							lang('mail_format', 'mailtype'),
							form_dropdown('mailtype', $mailtype_options, $mailtype, 'id="mailtype"').
							'<p class="" id="plaintext_alt_cont">'.
								lang('plaintext_alt', 'plaintext_alt').
								form_textarea(array(
											'id'		=> 'plaintext_alt',
											'name'		=> 'plaintext_alt', 
											'value'		=> set_value('plaintext_alt', $plaintext_alt), 
											'rows'		=> 8,
											'cols'		=> 80)).
Exemple #3
0
													<?php 
                echo lang('formatting');
                ?>
													<?php 
                echo form_dropdown('field_ft_' . $field_list[$_n]['field_id'], $field_list[$_n]['field_fmt_options'], $field_list[$_n]['field_fmt']);
                ?>
 
												<?php 
            }
            ?>

											</p>

											<?php 
            if ($spell_enabled && $field_list[$_n]['field_show_spellcheck'] == 'y') {
                echo build_spellcheck($_n);
            }
            ?>

											<?php 
            if ($field_list[$_n]['field_show_glossary'] == 'y') {
                echo $glossary_items;
            }
            ?>
											<?php 
            if (isset($field_list[$_n]['smiley_table'])) {
                echo $field_list[$_n]['smiley_table'];
            }
            ?>
										<?php 
        }
										<?php 
            echo lang('formatting');
            ?>
										<?php 
            echo form_dropdown('field_ft_' . $c["settings"]['field_id'], $c["settings"]['field_fmt_options'], $c["settings"]['field_fmt']);
            ?>
 
									<?php 
        }
        ?>

								</p>

								<?php 
        if ($spell_enabled && $c["settings"]['field_show_spellcheck'] == 'y') {
            echo build_spellcheck($c["settings"]["field_name"]);
        }
        ?>

								<?php 
        if ($c["settings"]['field_show_glossary'] == 'y') {
            echo $glossary_items;
        }
        ?>
								<?php 
        if (isset($c["settings"]['smiley_table'])) {
            echo $c["settings"]['smiley_table'];
        }
        ?>
							<?php 
    }