Ejemplo n.º 1
0
</td>
			<td><input type="text" id="subject" name="subject" size="50" value="<?php 
    echo html_encode($mailcontent['subject']);
    ?>
"<?php 
    if ($_processing_post) {
        echo ' disabled="disabled"';
    }
    ?>
 /></td>
		</tr>
		<?php 
}
?>
		<?php 
if (showOrNotShowField(getOption('contactform_message'))) {
    ?>
		<tr>
			<td><?php 
    printf(gettext("Message<strong>%s</strong>:"), checkRequiredField(getOption('contactform_message')));
    ?>
</td>
			<td><textarea id="message" name="message" rows="5" cols="49" <?php 
    if ($_processing_post) {
        echo ' disabled="disabled"';
    }
    ?>
><?php 
    echo $mailcontent['message'];
    ?>
</textarea></td>
Ejemplo n.º 2
0
    printf(gettext("Website%s"), checkRequiredField(getOption('contactform_website')));
    ?>
</label>
			<input type="text" id="website" name="website" size="50" value="<?php 
    echo html_encode($mailcontent['website']);
    ?>
"<?php 
    if ($_processing_post) {
        echo ' disabled="disabled"';
    }
    ?>
 />
		</p>
		<?php 
}
if (showOrNotShowField(getOption('contactform_phone'))) {
    ?>
		<p>
			<label for="phone"><?php 
    printf(gettext("Phone%s"), checkRequiredField(getOption('contactform_phone')));
    ?>
</label>
			<input type="text" id="phone" name="phone" size="50" value="<?php 
    echo html_encode($mailcontent['phone']);
    ?>
"<?php 
    if ($_processing_post) {
        echo ' disabled="disabled"';
    }
    ?>
 />