templates-main.php 937 B

1234567891011121314151617181920
  1. <?php
  2. if ( $field_type==='paid-service-label' ):
  3. $look_for_subs = 'paid-service';
  4. ?>
  5. <li class="ui-state-default">
  6. <i class="main-handle booked-icon booked-icon-bars"></i>
  7. <small><?php _e('Paid Service Selector', 'booked-woocommerce-payments'); ?></small>
  8. <p>
  9. <input class="cf-required-checkbox"<?php if ($is_required): echo ' checked="checked"'; endif; ?> type="checkbox" name="required---<?php echo $numbers_only; ?>" id="required---<?php echo $numbers_only; ?>">
  10. <label for="required---<?php echo $numbers_only; ?>"><?php _e('Required Field', 'booked-woocommerce-payments'); ?></label>
  11. </p>
  12. <input type="text" name="<?php echo $name; ?>" value="<?php echo htmlentities($value, ENT_QUOTES | ENT_IGNORE, "UTF-8"); ?>" placeholder="<?php _e('Enter a label for this drop-down group...', 'booked-woocommerce-payments'); ?>" />
  13. <ul id="booked-cf-paid-service">
  14. <?php
  15. endif;
  16. return $look_for_subs;