<label for="interval_type"><?php _e('Send now and send again in:', 'follow_up_emails'); ?> </label> </th> <td class="interval_td"> <span class="hide-if-date interval_span hideable"> <input type="text" name="interval" id="interval" value="<?php echo esc_attr($defaults['interval']); ?> " size="2" placeholder="0" /> </span> <select name="interval_duration" id="interval_duration" class="interval_duration hideable"> <?php /* @var FUE_Email $email */ $durations = Follow_Up_Emails::get_durations(); foreach ($durations as $key => $value) { if ($key == 'date') { continue; } ?> <option class="interval_duration_<?php echo $key; ?> hideable" value="<?php echo esc_attr($key); ?> "><?php echo Follow_Up_Emails::get_duration($key, $value); ?> </option>