Beispiel #1
0
function buildPreviewForm($options) {
    global $fyr_values, $cobrand, $cocode;

    $form_action = cobrand_url($cobrand, '/write', $cocode);
    $form = '<form method="post" action="' . $form_action . '" id="previewForm" name="previewForm">';
    if ($options['inner_div']){
        $form .= '<div id="buttonbox">';
    }
    $form .= add_all_variables_hidden_nonQF($fyr_values);
    $form .= '<input type="submit" name="submitWrite" value="Re-edit this message">
<input type="submit" name="submitSendFax" value="Send Message">';
    if ($options['inner_div']){
        $form .= '</div>';
    }
    $form .= '</form>';
    return $form;
}
Beispiel #2
0
function buildPreviewForm($options)
{
    global $fyr_values, $cobrand, $cocode;
    $form_action = cobrand_url($cobrand, '/write', $cocode);
    $form = '<form method="post" action="' . $form_action . '" id="previewForm" name="previewForm">';
    $form .= add_all_variables_hidden_nonQF($fyr_values);
    $form .= '<input type="submit" name="submitWrite" class="button radius" value="Edit some more">
<input type="submit" name="submitSendFax" class="button radius success" value="I&apos;m happy, send it">';
    $form .= '</form>';
    return $form;
}