Advertisement
Guest User

Untitled

a guest
Jul 26th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. piklist('field', array(
  2. 'type' => 'group'
  3. ,'field' => 'provider_hours'
  4. ,'label' => __('Hours')
  5. ,'position' => 'start'
  6. ,'fields' => array(
  7. array(
  8. 'type' => 'timepicker'
  9. ,'field' => 'monday_open_time'
  10. ,'label' => __('Monday Open')
  11. ,'options' => array(
  12. 'startTime' => '6:00 AM'
  13. ,'show24Hours' => false
  14. ,'separator' => ':'
  15. ,'step' => 30
  16. )
  17. ,'value' => '9:00 AM'
  18. ,'columns' => 6
  19. )
  20. ,array(
  21. 'type' => 'timepicker'
  22. ,'field' => 'monday_close_time'
  23. ,'label' => __('Monday Close')
  24. ,'options' => array(
  25. 'startTime' => '6:00 AM'
  26. ,'show24Hours' => false
  27. ,'separator' => ':'
  28. ,'step' => 30
  29. )
  30. ,'value' => '5:00 PM'
  31. ,'columns' => 6
  32. )
  33. ,array(
  34. 'type' => 'timepicker'
  35. ,'field' => 'tuesday_open_time'
  36. ,'label' => __('Tuesday Open')
  37. ,'options' => array(
  38. 'startTime' => '6:00 AM'
  39. ,'show24Hours' => false
  40. ,'separator' => ':'
  41. ,'step' => 30
  42. )
  43. ,'value' => '9:00 AM'
  44. ,'columns' => 6
  45. )
  46. ,array(
  47. 'type' => 'timepicker'
  48. ,'field' => 'tuesday_close_time'
  49. ,'position' => 'end'
  50. ,'label' => __('Tuesday Close')
  51. ,'options' => array(
  52. 'startTime' => '6:00 AM'
  53. ,'show24Hours' => false
  54. ,'separator' => ':'
  55. ,'step' => 30
  56. )
  57. ,'value' => '5:00 PM'
  58. ,'columns' => 6
  59. )
  60. )
  61. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement