<tr> <td class="bleft"><?php _e('Example:', 'cforms'); ?> </td><td class="bright"> <code><?php _e('Arrival Date', 'cforms'); echo '|'; echo cforms2_admin_date_format(); ?> |^[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]$</code></td> </tr> <tr> <td class="ball" colspan="2"> <?php echo sprintf(__('The example above will set a <em>default value</em> of "%s" so users know the expected format. The <strong>regexp</strong> at the end ensures that only this format is accepted. <strong>NOTE:</strong> You also need to <a href="%s" %s>configure the date picker options</a> to match the date format ("%s")!', 'cforms'), cforms2_admin_date_format(), '?page=' . $plugindir . '/cforms-global-settings.php#datepicker', 'onclick="setshow(9)"', cforms2_admin_date_format()); ?> </td> </tr> </table> <br style="clear:both;"/> <p class="fieldtitle" id="single"> <span class="h4ff"><?php _e('form<br />field', 'cforms'); ?> </span> <a class="helptop" href="#top"><?php _e('top', 'cforms'); ?>
?> </label> </td> </tr> <tr class="ob"> <td class="obL" style="padding-top:7px"><strong><?php _e('End Date', 'cforms2'); ?> </strong></td> <?php $date = explode(' ', stripslashes(htmlspecialchars($cformsSettings['form' . $no]['cforms' . $no . '_enddate']))); ?> <td class="obR"> <input type="text" class="cf_date" id="cforms_enddate" name="cforms_enddate" placeholder="<?php echo cforms2_admin_date_format(); ?> " value="<?php echo $date[0]; ?> "/> <input type="text" id="cforms_endtime" name="cforms_endtime" placeholder="<?php _e('HH:MM', 'cforms2'); ?> " value="<?php echo $date[1]; ?> " title="<?php _e('Time entry.', 'cforms2'); ?> "/>