Changeset 1025815
- Timestamp:
- 11/14/2014 03:35:52 PM (11 years ago)
- Location:
- restaurant-manager
- Files:
-
- 4 deleted
- 40 edited
-
tags/restaurant-manager (deleted)
-
tags/v1.2.0/assets/css/admin-style.css (modified) (3 diffs)
-
tags/v1.2.0/assets/css/style.css (modified) (1 diff)
-
tags/v1.2.0/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot (modified) (previous)
-
tags/v1.2.0/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg (modified) (1 diff)
-
tags/v1.2.0/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf (modified) (previous)
-
tags/v1.2.0/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff (modified) (previous)
-
tags/v1.2.0/assets/fonts/restaurant-manager-icons/selection.json (modified) (1 diff)
-
tags/v1.2.0/assets/fonts/restaurant-manager-icons/style.less (modified) (1 diff)
-
tags/v1.2.0/assets/less/admin-style.less (modified) (3 diffs)
-
tags/v1.2.0/assets/less/mixins.less (modified) (1 diff)
-
tags/v1.2.0/assets/less/style.less (modified) (2 diffs)
-
tags/v1.2.0/class-initialize.php (modified) (1 diff)
-
tags/v1.2.0/class-plugin.php (modified) (2 diffs)
-
tags/v1.2.0/includes/class-event-log.php (deleted)
-
tags/v1.2.0/includes/class-events-list-table.php (deleted)
-
tags/v1.2.0/includes/data (deleted)
-
tags/v1.2.0/includes/functions-admin-menu.php (modified) (5 diffs)
-
tags/v1.2.0/includes/functions-form-processing.php (modified) (2 diffs)
-
tags/v1.2.0/includes/functions-helpers.php (modified) (1 diff)
-
tags/v1.2.0/includes/includes.php (modified) (1 diff)
-
tags/v1.2.0/includes/post-types/class-reservation-post-meta-boxes.php (modified) (4 diffs)
-
tags/v1.2.0/includes/post-types/class-reservation-status.php (modified) (3 diffs)
-
tags/v1.2.0/readme.txt (modified) (5 diffs)
-
trunk/assets/css/admin-style.css (modified) (3 diffs)
-
trunk/assets/css/style.css (modified) (1 diff)
-
trunk/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot (modified) (previous)
-
trunk/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg (modified) (1 diff)
-
trunk/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf (modified) (previous)
-
trunk/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff (modified) (previous)
-
trunk/assets/fonts/restaurant-manager-icons/selection.json (modified) (1 diff)
-
trunk/assets/fonts/restaurant-manager-icons/style.less (modified) (1 diff)
-
trunk/assets/less/admin-style.less (modified) (3 diffs)
-
trunk/assets/less/mixins.less (modified) (1 diff)
-
trunk/assets/less/style.less (modified) (2 diffs)
-
trunk/class-initialize.php (modified) (1 diff)
-
trunk/class-plugin.php (modified) (2 diffs)
-
trunk/includes/functions-admin-menu.php (modified) (5 diffs)
-
trunk/includes/functions-form-processing.php (modified) (2 diffs)
-
trunk/includes/functions-helpers.php (modified) (1 diff)
-
trunk/includes/includes.php (modified) (1 diff)
-
trunk/includes/post-types/class-reservation-post-meta-boxes.php (modified) (4 diffs)
-
trunk/includes/post-types/class-reservation-status.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
restaurant-manager/tags/v1.2.0/assets/css/admin-style.css
r1025804 r1025815 52 52 content: "\f073"; 53 53 } 54 .rman-envelope:before {55 content: "\f0e0";56 }57 .rman-mobile-phone:before {58 content: "\f10b";59 }60 54 .rman-chevron-circle-up:before { 61 55 content: "\f139"; … … 558 552 width: 18%; 559 553 } 560 .status-light {561 display: inline-block;562 height: 20px;563 width: 20px;564 background-color: #666666;565 vertical-align: middle;566 margin: 0 0 0 5px;567 -webkit-border-radius: 11px;568 -moz-border-radius: 11px;569 border-radius: 11px;570 }571 .status-light.status-draft {572 background-color: #555555;573 }574 .status-light.status-pending {575 background-color: orange;576 }577 .status-light.status-confirmed {578 background-color: green;579 }580 .status-light.status-rejected {581 background-color: red;582 }583 554 #customer_details_metabox { 584 555 margin: 0 0 30px 0; … … 717 688 float: right; 718 689 } 719 /* =Event Log720 -------------------------------------------------------------- */721 .wp-list-table.events th.column-event_type a {722 text-align: center;723 }724 .wp-list-table.events .column-author {725 width: 16%;726 }727 .wp-list-table.events .column-created_date {728 width: 20%;729 }730 .wp-list-table.events .column-event_type {731 width: 6%;732 text-align: center;733 }734 .wp-list-table.events .column-content > span {735 margin: 0;736 }737 .wp-list-table.events .column-content span {738 margin: 0 5px 0 0;739 }740 .wp-list-table.events .column-content .content {741 margin: 5px 0 0 0;742 }743 .wp-list-table.events .new-row {744 background-color: #b6e592;745 }746 .wp-list-table .event-icon {747 font-size: 20px;748 }749 .wp-list-table .rman-mobile-phone {750 font-size: 32px;751 }752 .wp-list-table .sms .mobile-number {753 font-weight: bold;754 color: #2590EA;755 }756 .wp-list-table .sms .recipient {757 font-weight: bold;758 }759 .wp-list-table .email .email-subject {760 display: block;761 font-weight: bold;762 margin: 7px 0 0 0 !important;763 }764 .wp-list-table .email .email-address {765 font-weight: bold;766 color: #2590EA;767 }768 .wp-list-table .email .recipient {769 font-weight: bold;770 }771 .wp-list-table .reservation_status .column-content .status-light {772 height: 14px;773 width: 14px;774 }775 /*************************************************************776 =Plugin Extensions777 ************************************************************** */778 /* =Restaurant Email Plugin779 -------------------------------------------------------------- */780 /* =Customer Emails Metabox781 -------------------------------------------------------------- */782 #restaurant_customer_emails_metabox #email_subject {783 width: 100%;784 }785 /* =Restaurant SMS Plugin786 -------------------------------------------------------------- */787 #restaurant_sms_emails_metabox #sms_content {788 width: 100%;789 max-width: 100%;790 min-height: 150px;791 } -
restaurant-manager/tags/v1.2.0/assets/css/style.css
r1025804 r1025815 1 @font-face{font-family:restaurant-manager-icons;src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?eb23kt);src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?#iefixeb23kt) format('embedded-opentype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff?eb23kt) format('woff'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf?eb23kt) format('truetype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg?eb23kt#restaurant-manager-icons) format('svg');font-weight:400;font-style:normal}[class^=rman-],[class*=" rman-"]{font-family:restaurant-manager-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rman-flame:before{content:"\f0df"}.rman-clock-o:before{content:"\f017"}.rman-times-circle:before{content:"\f057"}.rman-calendar:before{content:"\f073"}.rman- envelope:before{content:"\f0e0"}.rman-mobile-phone:before{content:"\f10b"}.rman-chevron-circle-up:before{content:"\f139"}.rman-chevron-circle-down:before{content:"\f13a"}.rman-syntaxstudio:before{content:"\e600"}.rman-knife-and-fork:before{content:"\e601"}#syn_restaurant_manager .synth-form label.error{color:red;width:100%;font-size:90%}#syn_restaurant_manager .synth-form label.error:before{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0;font-family:FontAwesome;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;content:"\f057";margin-right:4px}#syn_restaurant_manager .synth-form .form-field{overflow:auto;margin-bottom:20px}#syn_restaurant_manager .synth-form .form-label{display:inline-block;width:100%;margin:0}#syn_restaurant_manager .synth-form .form-label label{width:100%}#syn_restaurant_manager .synth-form .form-control{display:inline-block;width:90%;margin:0}#syn_restaurant_manager .synth-form .form-control .inline-error{color:red;display:none}#syn_restaurant_manager .synth-form .form-control textarea{height:100px}#syn_restaurant_manager .synth-form .captcha{position:relative;width:30%}#syn_restaurant_manager .synth-form .captcha .captcha-sum{position:absolute;display:inline-block;padding:8px 6px;font-weight:700}#syn_restaurant_manager .synth-form .captcha .captcha-result{padding-left:60px}#syn_restaurant_manager .synth-form input[type=text],#syn_restaurant_manager .synth-form textarea{width:100%}#syn_restaurant_manager .synth-form label input[type=checkbox]{position:relative;vertical-align:middle;bottom:1px;margin:0 5px 0 0}.syn-restaurant-menu{position:relative;margin:0;padding:0;list-style-type:none}.syn-restaurant-menu .restaurant-menu-item{margin:0;padding:0}.syn-restaurant-menu .syn-menu-title{font-weight:700}.syn-restaurant-menu .syn-menu-content{margin:0 0 30px;padding:0}.syn-restaurant-menu .syn-menu-content:before,.syn-restaurant-menu .syn-menu-content:after{clear:both;content:'\0020';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.syn-restaurant-menu .syn-menu-excerpt{float:left;display:inline-block;width:70%}.syn-restaurant-menu .syn-menu-price{float:right;display:inline-block;width:20%;text-align:right}.syn-restaurant-menu .syn-menu-properties{clear:both;display:block}.syn-restaurant-menu .syn-menu-properties span{padding:0 10px}.syn-restaurant-menu .syn-menu-properties span:first-child{padding:0 10px 0 0}.syn-restaurant-menu .syn-spice-rating .rating-star{padding:0}.syn-restaurant-menu .syn-spice-rating .rating-star:first-child{padding:0}1 @font-face{font-family:restaurant-manager-icons;src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?eb23kt);src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?#iefixeb23kt) format('embedded-opentype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff?eb23kt) format('woff'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf?eb23kt) format('truetype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg?eb23kt#restaurant-manager-icons) format('svg');font-weight:400;font-style:normal}[class^=rman-],[class*=" rman-"]{font-family:restaurant-manager-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rman-flame:before{content:"\f0df"}.rman-clock-o:before{content:"\f017"}.rman-times-circle:before{content:"\f057"}.rman-calendar:before{content:"\f073"}.rman-chevron-circle-up:before{content:"\f139"}.rman-chevron-circle-down:before{content:"\f13a"}.rman-syntaxstudio:before{content:"\e600"}.rman-knife-and-fork:before{content:"\e601"}#syn_restaurant_manager .synth-form label.error{color:red;width:100%;font-size:90%}#syn_restaurant_manager .synth-form label.error:before{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0;font-family:FontAwesome;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;content:"\f057";margin-right:4px}#syn_restaurant_manager .synth-form .form-field{overflow:auto;margin-bottom:20px}#syn_restaurant_manager .synth-form .form-label{display:inline-block;width:100%;margin:0}#syn_restaurant_manager .synth-form .form-label label{width:100%}#syn_restaurant_manager .synth-form .form-control{display:inline-block;width:90%;margin:0}#syn_restaurant_manager .synth-form .form-control .inline-error{color:red;display:none}#syn_restaurant_manager .synth-form .form-control textarea{height:100px}#syn_restaurant_manager .synth-form .captcha{position:relative;width:30%}#syn_restaurant_manager .synth-form .captcha .captcha-sum{position:absolute;display:inline-block;padding:8px 6px;font-weight:700}#syn_restaurant_manager .synth-form .captcha .captcha-result{padding-left:60px}#syn_restaurant_manager .synth-form input[type=text],#syn_restaurant_manager .synth-form textarea{width:100%}#syn_restaurant_manager .synth-form label input[type=checkbox]{position:relative;vertical-align:middle;bottom:1px;margin:0 5px 0 0}.syn-restaurant-menu{position:relative;margin:0;padding:0;list-style-type:none}.syn-restaurant-menu li{margin:0;padding:0}.syn-restaurant-menu .syn-menu-title{font-weight:700}.syn-restaurant-menu .syn-menu-content{margin:0 0 30px;padding:0}.syn-restaurant-menu .syn-menu-content:before,.syn-restaurant-menu .syn-menu-content:after{clear:both;content:'\0020';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.syn-restaurant-menu .syn-menu-excerpt{float:left;display:inline-block;width:70%}.syn-restaurant-menu .syn-menu-price{float:right;display:inline-block;width:20%;text-align:right}.syn-restaurant-menu .syn-menu-properties{clear:both;display:block}.syn-restaurant-menu .syn-menu-properties span{padding:0 10px}.syn-restaurant-menu .syn-menu-properties span:first-child{padding:0 10px 0 0}.syn-restaurant-menu .syn-spice-rating .rating-star{padding:0}.syn-restaurant-menu .syn-spice-rating .rating-star:first-child{padding:0} -
restaurant-manager/tags/v1.2.0/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg
r1025804 r1025815 14 14 <glyph unicode="" d="M0 0v365.714q0 14.857 10.857 25.714t25.715 10.857h36.572v27.429q0 18.857 13.428 32.286t32.285 13.428h18.285q18.857 0 32.286-13.428t13.428-32.286v-27.429h109.714v27.429q0 18.857 13.428 32.286t32.286 13.428h18.286q18.857 0 32.286-13.428t13.428-32.286v-27.429h36.572q14.857 0 25.714-10.857t10.857-25.714v-365.714q0-14.857-10.857-25.714t-25.714-10.857h-402.286q-14.857 0-25.715 10.857t-10.857 25.714zM36.572 0h82.285v82.286h-82.285v-82.286zM36.572 100.572h82.285v91.428h-82.285v-91.428zM36.572 210.286h82.285v82.286h-82.285v-82.286zM109.715 347.429q0-3.714 2.715-6.428t6.428-2.714h18.285q3.714 0 6.429 2.714t2.714 6.428v82.286q0 3.714-2.714 6.428t-6.428 2.714h-18.285q-3.715 0-6.428-2.714t-2.715-6.428v-82.286zM137.143 0h91.429v82.286h-91.428v-82.286zM137.143 100.572h91.429v91.428h-91.428v-91.428zM137.143 210.286h91.429v82.286h-91.428v-82.286zM246.857 0h91.429v82.286h-91.428v-82.286zM246.857 100.572h91.429v91.428h-91.428v-91.428zM246.857 210.286h91.429v82.286h-91.428v-82.286zM329.143 347.429q0-3.714 2.714-6.428t6.428-2.714h18.286q3.714 0 6.428 2.714t2.714 6.428v82.286q0 3.714-2.714 6.428t-6.428 2.714h-18.286q-3.714 0-6.428-2.714t-2.714-6.428v-82.286zM356.572 0h82.286v82.286h-82.286v-82.286zM356.572 100.572h82.286v91.428h-82.286v-91.428zM356.572 210.286h82.286v82.286h-82.286v-82.286z" horiz-adv-x="476" /> 15 15 <glyph unicode="" d="M216.5 457.5c25-67 12-103.5-16-132.5-30.5-32-78-56-111.5-103-44.5-62.5-52-200 108.5-236-67.5 35.5-82 138.5-9 203-19-62.5 16-102.5 59.5-88 42.5 14.5 70.5-16 69.5-51-0.5-24-10-44.5-34.5-56 104.5 18.5 146.5 105 146.5 171 0 87-77.5 99-38.5 172-46.5-4-62.5-34.5-58-84.5 3-33-31.5-55.5-57-40.5-20.5 12.5-20 36.5-2 54.5 38.5 38 53.5 125.5-57.5 191z" /> 16 <glyph unicode="" d="M0 45.714v226.857q12.572-14 28.857-24.857 103.429-70.286 142-98.572 16.285-12 26.429-18.714t27-13.714 31.428-7h0.572q14.572 0 31.428 7t27 13.714 26.428 18.714q48.572 35.143 142.286 98.572 16.286 11.143 28.572 24.857v-226.857q0-18.857-13.428-32.286t-32.286-13.428h-420.572q-18.857 0-32.285 13.428t-13.428 32.286zM0 350.286q0 22.286 11.857 37.143t33.857 14.857h420.572q18.572 0 32.143-13.428t13.572-32.286q0-22.571-14-43.143t-34.857-35.143q-107.428-74.571-133.714-92.857-2.857-2-12.143-8.714t-15.428-10.857-14.857-9.286-16.428-7.714-14.286-2.572h-0.571q-6.571 0-14.286 2.572t-16.429 7.714-14.857 9.286-15.429 10.857-12.143 8.714q-26 18.286-74.857 52.143t-58.572 40.715q-17.715 12-33.428 33t-15.714 39z" />17 <glyph unicode="" d="M0 73.143v292.572q0 14.857 10.857 25.714t25.715 10.857h146.286q14.857 0 25.714-10.857t10.857-25.714v-292.572q0-14.857-10.857-25.714t-25.714-10.857h-146.286q-14.857 0-25.715 10.857t-10.857 25.714zM27.428 118.857q0-3.714 2.715-6.428t6.428-2.714h146.286q3.714 0 6.428 2.714t2.714 6.428v201.143q0 3.714-2.714 6.429t-6.428 2.714h-146.286q-3.715 0-6.428-2.714t-2.715-6.428v-201.143zM82.285 361.143q0-4.572 4.572-4.572h45.715q4.572 0 4.572 4.572t-4.572 4.572h-45.715q-4.572 0-4.572-4.572zM86.857 73.143q0-9.428 6.715-16.143t16.143-6.714 16.143 6.714 6.715 16.143-6.715 16.143-16.143 6.714-16.143-6.714-6.715-16.143z" horiz-adv-x="220" />18 16 <glyph unicode="" d="M0 219.429q0 59.714 29.428 110.143t79.857 79.857 110.143 29.428 110.143-29.428 79.857-79.857 29.428-110.143-29.428-110.143-79.857-79.857-110.143-29.428-110.143 29.428-79.857 79.857-29.428 110.143zM71.428 192q0-7.428 5.428-12.857l29.143-29.143q5.428-5.428 12.857-5.428t12.857 5.428l87.714 87.714 87.714-87.714q5.428-5.428 12.857-5.428t12.857 5.428l29.143 29.143q5.428 5.428 5.428 12.857t-5.428 12.857l-129.714 129.714q-5.428 5.428-12.857 5.428t-12.857-5.428l-129.714-129.714q-5.428-5.428-5.428-12.857z" /> 19 17 <glyph unicode="" d="M0 219.429q0 59.714 29.428 110.143t79.857 79.857 110.143 29.428 110.143-29.428 79.857-79.857 29.428-110.143-29.428-110.143-79.857-79.857-110.143-29.428-110.143 29.428-79.857 79.857-29.428 110.143zM71.428 246.857q0-7.428 5.428-12.857l129.714-129.714q5.429-5.428 12.857-5.428t12.857 5.428l129.715 129.714q5.428 5.428 5.428 12.857t-5.428 12.857l-29.143 29.143q-5.428 5.429-12.857 5.429t-12.857-5.428l-87.714-87.714-87.714 87.714q-5.428 5.428-12.857 5.428t-12.857-5.428l-29.143-29.143q-5.428-5.428-5.428-12.857z" /> -
restaurant-manager/tags/v1.2.0/assets/fonts/restaurant-manager-icons/selection.json
r1025804 r1025815 91 91 "setIdx": 1, 92 92 "iconIdx": 108 93 },94 {95 "icon": {96 "paths": [97 "M0 859.429v-453.714q25.143 28 57.714 49.714 206.857 140.571 284 197.143 32.571 24 52.857 37.429t54 27.429 62.857 14h1.143q29.143 0 62.857-14t54-27.429 52.857-37.429q97.143-70.286 284.571-197.143 32.571-22.286 57.143-49.714v453.714q0 37.714-26.857 64.571t-64.571 26.857h-841.143q-37.714 0-64.571-26.857t-26.857-64.571zM0 250.286q0-44.571 23.714-74.286t67.714-29.714h841.143q37.143 0 64.286 26.857t27.143 64.571q0 45.143-28 86.286t-69.714 70.286q-214.857 149.143-267.429 185.714-5.714 4-24.286 17.429t-30.857 21.714-29.714 18.571-32.857 15.429-28.571 5.143h-1.143q-13.143 0-28.571-5.143t-32.857-15.429-29.714-18.571-30.857-21.714-24.286-17.429q-52-36.571-149.714-104.286t-117.143-81.429q-35.429-24-66.857-66t-31.429-78z"98 ],99 "tags": [100 "envelope"101 ],102 "defaultCode": 61664,103 "grid": 14104 },105 "properties": {106 "id": 198,107 "order": 9,108 "prevSize": 28,109 "code": 61664,110 "name": "envelope",111 "ligatures": ""112 },113 "setIdx": 1,114 "iconIdx": 198115 },116 {117 "icon": {118 "paths": [119 "M0 804.571v-585.143q0-29.714 21.714-51.429t51.429-21.714h292.571q29.714 0 51.429 21.714t21.714 51.429v585.143q0 29.714-21.714 51.429t-51.429 21.714h-292.571q-29.714 0-51.429-21.714t-21.714-51.429zM54.857 713.143q0 7.429 5.429 12.857t12.857 5.429h292.571q7.429 0 12.857-5.429t5.429-12.857v-402.286q0-7.429-5.429-12.857t-12.857-5.429h-292.571q-7.429 0-12.857 5.429t-5.429 12.857v402.286zM164.571 228.571q0 9.143 9.143 9.143h91.429q9.143 0 9.143-9.143t-9.143-9.143h-91.429q-9.143 0-9.143 9.143zM173.714 804.571q0 18.857 13.429 32.286t32.286 13.429 32.286-13.429 13.429-32.286-13.429-32.286-32.286-13.429-32.286 13.429-13.429 32.286z"120 ],121 "width": 439,122 "tags": [123 "mobile-phone",124 "mobile"125 ],126 "defaultCode": 61707,127 "grid": 14128 },129 "properties": {130 "id": 239,131 "order": 10,132 "prevSize": 28,133 "code": 61707,134 "name": "mobile-phone",135 "ligatures": ""136 },137 "setIdx": 1,138 "iconIdx": 239139 93 }, 140 94 { -
restaurant-manager/tags/v1.2.0/assets/fonts/restaurant-manager-icons/style.less
r1025804 r1025815 40 40 content: "\f073"; 41 41 } 42 .rman-envelope:before {43 content: "\f0e0";44 }45 .rman-mobile-phone:before {46 content: "\f10b";47 }48 42 .rman-chevron-circle-up:before { 49 43 content: "\f139"; -
restaurant-manager/tags/v1.2.0/assets/less/admin-style.less
r1025804 r1025815 511 511 } 512 512 513 #restaurant_reservation_status_metabox{514 515 }516 .status-light{517 display: inline-block;518 height: 20px;519 width: 20px;520 background-color: #666666;521 vertical-align: middle;522 margin: 0 0 0 5px;523 .border-radius(11px);524 525 &.status-draft{526 background-color: #555555;527 }528 &.status-pending{529 background-color: orange;530 }531 &.status-confirmed{532 background-color: green;533 }534 &.status-rejected{535 background-color: red;536 }537 }538 539 513 #customer_details_metabox{ 540 514 margin: 0 0 30px 0; 541 515 542 516 input[type="text"]{ 543 517 width: 75%; 544 518 545 519 &:focus{ 546 520 outline: 0; … … 559 533 560 534 #customer_notes_field{ 561 535 562 536 label, 563 537 textarea{ … … 675 649 } 676 650 } 677 678 /* =Event Log679 -------------------------------------------------------------- */680 .wp-list-table{681 682 &.events{683 th.column-event_type a{684 text-align: center;685 }686 .column-author{687 width: 16%;688 }689 .column-created_date{690 width: 20%;691 }692 .column-event_type{693 width: 6%;694 text-align: center;695 }696 .column-content{697 > span{698 margin: 0;699 }700 span{701 margin: 0 5px 0 0;702 }703 .content{704 margin: 5px 0 0 0;705 }706 }707 .new-row{708 background-color: #b6e592;709 }710 }711 712 .event-icon {713 font-size: 20px;714 }715 .rman-mobile-phone{716 font-size: 32px;717 }718 719 .sms{720 .mobile-number{721 font-weight: bold;722 color: #2590EA;723 }724 .recipient{725 font-weight: bold;726 }727 }728 .email{729 .email-subject{730 display: block;731 font-weight: bold;732 margin: 7px 0 0 0 !important;733 }734 .email-address{735 font-weight: bold;736 color: #2590EA;737 }738 .recipient{739 font-weight: bold;740 }741 }742 .reservation_status{743 .column-content{744 .status-light{745 height: 14px;746 width: 14px;747 }748 }749 }750 }751 752 753 /*************************************************************754 =Plugin Extensions755 ************************************************************** */756 757 758 /* =Restaurant Email Plugin759 -------------------------------------------------------------- */760 761 /* =Customer Emails Metabox762 -------------------------------------------------------------- */763 #restaurant_customer_emails_metabox{764 #email_subject{765 width: 100%;766 }767 }768 769 /* =Restaurant SMS Plugin770 -------------------------------------------------------------- */771 #restaurant_sms_emails_metabox{772 773 #sms_content{774 width: 100%;775 max-width: 100%;776 min-height: 150px;777 }778 } -
restaurant-manager/tags/v1.2.0/assets/less/mixins.less
r1025804 r1025815 34 34 box-sizing: @type; 35 35 } 36 .border-radius (@radius: 5px) {37 -webkit-border-radius: @radius;38 -moz-border-radius: @radius;39 border-radius: @radius;40 } -
restaurant-manager/tags/v1.2.0/assets/less/style.less
r1025804 r1025815 97 97 98 98 /*Restaurant Menu*/ 99 .syntaxthemes_restaruant_menu{ 100 101 } 99 102 .syn-restaurant-menu{ 100 103 position: relative; … … 103 106 list-style-type: none; 104 107 105 .restaurant-menu-item{108 li{ 106 109 margin: 0; 107 110 padding: 0; -
restaurant-manager/tags/v1.2.0/class-initialize.php
r1025804 r1025815 41 41 if ($this->_plugin->plugin_requirements_check()) { 42 42 43 // Perform any version-upgrade events prior to activation (e.g. database changes)43 // Perform any version-upgrade activities prior to activation (e.g. database changes) 44 44 $this->_plugin->upgrade(); 45 45 -
restaurant-manager/tags/v1.2.0/class-plugin.php
r1025804 r1025815 73 73 $result = $wpdb->update($wpdb->term_taxonomy, array('taxonomy' => 'syn_rest_cuisine'), array('taxonomy' => 'syn_cuisine_type')); 74 74 } 75 76 if (version_compare($this->plugin_installed_version(), '1.2.0') < 0) {77 78 $events_data = new events_data();79 $events_data->create_table();80 81 $eventmeta_data = new eventmeta_data();82 $eventmeta_data->create_table();83 }84 75 } 85 76 … … 107 98 public function register_script_files() { 108 99 100 wp_register_script('jquery-validation', plugins_url('framework/js/validation/jquery.validate.min.js', __FILE__), array('jquery'), null, true); 109 101 wp_register_style('restaurant-manager-admin-style', plugins_url('/assets/css/admin-style.css', __FILE__)); 110 wp_register_s tyle('restaurant-manager-style', plugins_url('/assets/css/style.css', __FILE__));102 wp_register_script('jquery-timepicker-script', plugins_url('/assets/js/jquery-ui-timepicker.js', __FILE__), array('jquery'), false, true); 111 103 112 wp_register_script('jquery-validation', plugins_url('framework/js/validation/jquery.validate.min.js', __FILE__), array('jquery'), null, true);113 wp_register_script('jquery-timepicker-script', plugins_url('/assets/js/jquery-ui-timepicker.js', __FILE__), array('jquery'), false, true);114 104 wp_register_script('jquery-pickdate-picker-script', plugins_url('/assets/js/pickdate/picker.js', __FILE__), array('jquery'), false, true); 115 105 wp_register_script('jquery-pickdate-date-script', plugins_url('/assets/js/pickdate/picker.date.js', __FILE__), array('jquery'), false, true); -
restaurant-manager/tags/v1.2.0/includes/functions-admin-menu.php
r1025804 r1025815 167 167 </h2> 168 168 <?php if ($tab === 'general') { ?> 169 <div class="nav_tab_content"> 169 <div class="nav_tab_content"> 170 170 <?php syntaxthemes_general_page() ?> 171 171 </div> … … 205 205 $restaurant_telephone = get_option($syn_restaurant_config->plugin_prefix . 'restaurant_telephone', ''); 206 206 $currency_symbol = get_option($syn_restaurant_config->plugin_prefix . 'currency_symbol', '£'); 207 $country_code = get_option($syn_restaurant_config->plugin_prefix . 'country_code', null); 207 //$date_format = get_option($syn_restaurant_config->plugin_prefix . 'date_format', 'F j, Y'); 208 //$time_format = get_option($syn_restaurant_config->plugin_prefix . 'time_format', 'g:i a'); 208 209 209 210 if (empty($reservation_success_message)) { … … 233 234 <input class="regular-text" id="restaurant_telephone" name="restaurant_telephone" type="text" value="<?php echo $restaurant_telephone ?>" /> 234 235 <p class="description">Set your restaurant telephone contact number.</p> 235 </td>236 </tr>237 <tr>238 <th scope="row">239 <label for="country_code"><?php _e('Country Code', 'syn_restaurant_sms_plugin') ?></label>240 </th>241 <td>242 <?php243 $country_codes = syn_restaurant_manager_country_codes();244 ?>245 <select id="country_code" name="country_code">246 <?php foreach ($country_codes as $code => $country) { ?>247 <option value="<?php echo $code ?>" <?php selected($country_code, $code, true) ?>><?php echo $country ?></option>248 <?php } ?>249 </select>250 <p class="description">Set your country code for your restaurant location.</p>251 236 </td> 252 237 </tr> … … 542 527 <img class="addon-image" src="http://www.syntaxthemes.co.uk/wp-content/uploads/2014/11/restaurant-emails-logo-450x450.jpg" /> 543 528 <p> 544 Now you can email your customers directly from their saved reservation booking record. All emails sent are545 recorded on the booking so you can keep track of communication sent from your restaurant.Improve your customer546 relations without the need for external email clients.529 Now you can email your customers directly from their saved reservation booking record. All emails sent are 530 recorded on the booking so you can keep track of communication sent from your restaurant. Improve your customer 531 relations without the need for external email clients. 547 532 </p> 548 533 </div> … … 553 538 </div> 554 539 </li> 555 <li class="addon-item"> 556 <div class="addon-block"> 557 <h3 class="addon-title">Send SMS</h3> 558 <div class="addon-content"> 559 <img class="addon-image" src="http://www.syntaxthemes.co.uk/wp-content/uploads/2014/11/restaurant-emails-logo-450x450.jpg" /> 560 <p> 561 Now you can send SMS directly to your customer from your reservation screen. All SMS messages are recorded in your reservation screen 562 so that you can see what has been sent to your customers. You will need a Nexmo SMS account this is free to set up and you will 563 receive some free credit to try. Check out <a href="https://www.nexmo.com/" title="Nexmo SMS" target="_blank">Nexmo SMS</a> 564 </p> 565 </div> 566 <div class="addon-footer"> 567 <a class="read-more-link" href="http://www.syntaxthemes.co.uk/shop/restaurant-mailchimp-subscribe/" alt="Read more about this plugin" target="_blank"><?php _e('Read More', '') ?></a> 568 <a class="buy-now button-primary" href="http://www.syntaxthemes.co.uk/shop/restaurant-mailchimp-subscribe/" alt="Buy this plugin" target="_blank"><?php _e('Buy Now $20.00', '') ?></a> 569 </div> 570 </div> 540 <li class="addon-item"> 541 <p> </p> 571 542 </li> 572 543 </ul> -
restaurant-manager/tags/v1.2.0/includes/functions-form-processing.php
r1025804 r1025815 137 137 $restaurant_telephone = $session->post_var('restaurant_telephone'); 138 138 $currency_symbol = $session->post_var('currency_symbol'); 139 $country_code = $session->post_var('country_code'); 139 //$date_format = $session->post_var('date_format'); 140 //$time_format = $session->post_var('time_format'); 140 141 141 142 update_option($syn_restaurant_config->plugin_prefix . 'group_size', $group_size); … … 143 144 update_option($syn_restaurant_config->plugin_prefix . 'restaurant_telephone', $restaurant_telephone); 144 145 update_option($syn_restaurant_config->plugin_prefix . 'currency_symbol', $currency_symbol); 145 update_option($syn_restaurant_config->plugin_prefix . 'country_code', $country_code); 146 //update_option($syn_restaurant_config->plugin_prefix . 'date_format', $date_format); 147 //update_option($syn_restaurant_config->plugin_prefix . 'time_format', $time_format); 146 148 } 147 149 -
restaurant-manager/tags/v1.2.0/includes/functions-helpers.php
r1025804 r1025815 525 525 add_action('wp_ajax_restaurant_manager_get_meal_options', 'syn_restaurant_manager_get_meal_options'); 526 526 } 527 528 function syn_restaurant_manager_country_codes() {529 530 $countries = array(531 'AF' => 'AFGHANISTAN',532 'AL' => 'ALBANIA',533 'DZ' => 'ALGERIA',534 'AS' => 'AMERICAN SAMOA',535 'AD' => 'ANDORRA',536 'AO' => 'ANGOLA',537 'AI' => 'ANGUILLA',538 'AQ' => 'ANTARCTICA',539 'AG' => 'ANTIGUA AND BARBUDA',540 'AR' => 'ARGENTINA',541 'AM' => 'ARMENIA',542 'AW' => 'ARUBA',543 'AU' => 'AUSTRALIA',544 'AT' => 'AUSTRIA',545 'AZ' => 'AZERBAIJAN',546 'BS' => 'BAHAMAS',547 'BH' => 'BAHRAIN',548 'BD' => 'BANGLADESH',549 'BB' => 'BARBADOS',550 'BY' => 'BELARUS',551 'BE' => 'BELGIUM',552 'BZ' => 'BELIZE',553 'BJ' => 'BENIN',554 'BM' => 'BERMUDA',555 'BT' => 'BHUTAN',556 'BO' => 'BOLIVIA',557 'BA' => 'BOSNIA AND HERZEGOVINA',558 'BW' => 'BOTSWANA',559 'BV' => 'BOUVET ISLAND',560 'BR' => 'BRAZIL',561 'IO' => 'BRITISH INDIAN OCEAN TERRITORY',562 'BN' => 'BRUNEI DARUSSALAM',563 'BG' => 'BULGARIA',564 'BF' => 'BURKINA FASO',565 'BI' => 'BURUNDI',566 'KH' => 'CAMBODIA',567 'CM' => 'CAMEROON',568 'CA' => 'CANADA',569 'CV' => 'CAPE VERDE',570 'KY' => 'CAYMAN ISLANDS',571 'CF' => 'CENTRAL AFRICAN REPUBLIC',572 'TD' => 'CHAD',573 'CL' => 'CHILE',574 'CN' => 'CHINA',575 'CX' => 'CHRISTMAS ISLAND',576 'CC' => 'COCOS (KEELING) ISLANDS',577 'CO' => 'COLOMBIA',578 'KM' => 'COMOROS',579 'CG' => 'CONGO',580 'CD' => 'CONGO, THE DEMOCRATIC REPUBLIC OF THE',581 'CK' => 'COOK ISLANDS',582 'CR' => 'COSTA RICA',583 'CI' => 'COTE D IVOIRE',584 'HR' => 'CROATIA',585 'CU' => 'CUBA',586 'CY' => 'CYPRUS',587 'CZ' => 'CZECH REPUBLIC',588 'DK' => 'DENMARK',589 'DJ' => 'DJIBOUTI',590 'DM' => 'DOMINICA',591 'DO' => 'DOMINICAN REPUBLIC',592 'TP' => 'EAST TIMOR',593 'EC' => 'ECUADOR',594 'EG' => 'EGYPT',595 'SV' => 'EL SALVADOR',596 'GQ' => 'EQUATORIAL GUINEA',597 'ER' => 'ERITREA',598 'EE' => 'ESTONIA',599 'ET' => 'ETHIOPIA',600 'FK' => 'FALKLAND ISLANDS (MALVINAS)',601 'FO' => 'FAROE ISLANDS',602 'FJ' => 'FIJI',603 'FI' => 'FINLAND',604 'FR' => 'FRANCE',605 'GF' => 'FRENCH GUIANA',606 'PF' => 'FRENCH POLYNESIA',607 'TF' => 'FRENCH SOUTHERN TERRITORIES',608 'GA' => 'GABON',609 'GM' => 'GAMBIA',610 'GE' => 'GEORGIA',611 'DE' => 'GERMANY',612 'GH' => 'GHANA',613 'GI' => 'GIBRALTAR',614 'GR' => 'GREECE',615 'GL' => 'GREENLAND',616 'GD' => 'GRENADA',617 'GP' => 'GUADELOUPE',618 'GU' => 'GUAM',619 'GT' => 'GUATEMALA',620 'GN' => 'GUINEA',621 'GW' => 'GUINEA-BISSAU',622 'GY' => 'GUYANA',623 'HT' => 'HAITI',624 'HM' => 'HEARD ISLAND AND MCDONALD ISLANDS',625 'VA' => 'HOLY SEE (VATICAN CITY STATE)',626 'HN' => 'HONDURAS',627 'HK' => 'HONG KONG',628 'HU' => 'HUNGARY',629 'IS' => 'ICELAND',630 'IN' => 'INDIA',631 'ID' => 'INDONESIA',632 'IR' => 'IRAN, ISLAMIC REPUBLIC OF',633 'IQ' => 'IRAQ',634 'IE' => 'IRELAND',635 'IL' => 'ISRAEL',636 'IT' => 'ITALY',637 'JM' => 'JAMAICA',638 'JP' => 'JAPAN',639 'JO' => 'JORDAN',640 'KZ' => 'KAZAKSTAN',641 'KE' => 'KENYA',642 'KI' => 'KIRIBATI',643 'KP' => 'KOREA DEMOCRATIC PEOPLES REPUBLIC OF',644 'KR' => 'KOREA REPUBLIC OF',645 'KW' => 'KUWAIT',646 'KG' => 'KYRGYZSTAN',647 'LA' => 'LAO PEOPLES DEMOCRATIC REPUBLIC',648 'LV' => 'LATVIA',649 'LB' => 'LEBANON',650 'LS' => 'LESOTHO',651 'LR' => 'LIBERIA',652 'LY' => 'LIBYAN ARAB JAMAHIRIYA',653 'LI' => 'LIECHTENSTEIN',654 'LT' => 'LITHUANIA',655 'LU' => 'LUXEMBOURG',656 'MO' => 'MACAU',657 'MK' => 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF',658 'MG' => 'MADAGASCAR',659 'MW' => 'MALAWI',660 'MY' => 'MALAYSIA',661 'MV' => 'MALDIVES',662 'ML' => 'MALI',663 'MT' => 'MALTA',664 'MH' => 'MARSHALL ISLANDS',665 'MQ' => 'MARTINIQUE',666 'MR' => 'MAURITANIA',667 'MU' => 'MAURITIUS',668 'YT' => 'MAYOTTE',669 'MX' => 'MEXICO',670 'FM' => 'MICRONESIA, FEDERATED STATES OF',671 'MD' => 'MOLDOVA, REPUBLIC OF',672 'MC' => 'MONACO',673 'MN' => 'MONGOLIA',674 'MS' => 'MONTSERRAT',675 'MA' => 'MOROCCO',676 'MZ' => 'MOZAMBIQUE',677 'MM' => 'MYANMAR',678 'NA' => 'NAMIBIA',679 'NR' => 'NAURU',680 'NP' => 'NEPAL',681 'NL' => 'NETHERLANDS',682 'AN' => 'NETHERLANDS ANTILLES',683 'NC' => 'NEW CALEDONIA',684 'NZ' => 'NEW ZEALAND',685 'NI' => 'NICARAGUA',686 'NE' => 'NIGER',687 'NG' => 'NIGERIA',688 'NU' => 'NIUE',689 'NF' => 'NORFOLK ISLAND',690 'MP' => 'NORTHERN MARIANA ISLANDS',691 'NO' => 'NORWAY',692 'OM' => 'OMAN',693 'PK' => 'PAKISTAN',694 'PW' => 'PALAU',695 'PS' => 'PALESTINIAN TERRITORY, OCCUPIED',696 'PA' => 'PANAMA',697 'PG' => 'PAPUA NEW GUINEA',698 'PY' => 'PARAGUAY',699 'PE' => 'PERU',700 'PH' => 'PHILIPPINES',701 'PN' => 'PITCAIRN',702 'PL' => 'POLAND',703 'PT' => 'PORTUGAL',704 'PR' => 'PUERTO RICO',705 'QA' => 'QATAR',706 'RE' => 'REUNION',707 'RO' => 'ROMANIA',708 'RU' => 'RUSSIAN FEDERATION',709 'RW' => 'RWANDA',710 'SH' => 'SAINT HELENA',711 'KN' => 'SAINT KITTS AND NEVIS',712 'LC' => 'SAINT LUCIA',713 'PM' => 'SAINT PIERRE AND MIQUELON',714 'VC' => 'SAINT VINCENT AND THE GRENADINES',715 'WS' => 'SAMOA',716 'SM' => 'SAN MARINO',717 'ST' => 'SAO TOME AND PRINCIPE',718 'SA' => 'SAUDI ARABIA',719 'SN' => 'SENEGAL',720 'SC' => 'SEYCHELLES',721 'SL' => 'SIERRA LEONE',722 'SG' => 'SINGAPORE',723 'SK' => 'SLOVAKIA',724 'SI' => 'SLOVENIA',725 'SB' => 'SOLOMON ISLANDS',726 'SO' => 'SOMALIA',727 'ZA' => 'SOUTH AFRICA',728 'GS' => 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS',729 'ES' => 'SPAIN',730 'LK' => 'SRI LANKA',731 'SD' => 'SUDAN',732 'SR' => 'SURINAME',733 'SJ' => 'SVALBARD AND JAN MAYEN',734 'SZ' => 'SWAZILAND',735 'SE' => 'SWEDEN',736 'CH' => 'SWITZERLAND',737 'SY' => 'SYRIAN ARAB REPUBLIC',738 'TW' => 'TAIWAN, PROVINCE OF CHINA',739 'TJ' => 'TAJIKISTAN',740 'TZ' => 'TANZANIA, UNITED REPUBLIC OF',741 'TH' => 'THAILAND',742 'TG' => 'TOGO',743 'TK' => 'TOKELAU',744 'TO' => 'TONGA',745 'TT' => 'TRINIDAD AND TOBAGO',746 'TN' => 'TUNISIA',747 'TR' => 'TURKEY',748 'TM' => 'TURKMENISTAN',749 'TC' => 'TURKS AND CAICOS ISLANDS',750 'TV' => 'TUVALU',751 'UG' => 'UGANDA',752 'UA' => 'UKRAINE',753 'AE' => 'UNITED ARAB EMIRATES',754 'GB' => 'UNITED KINGDOM',755 'US' => 'UNITED STATES',756 'UM' => 'UNITED STATES MINOR OUTLYING ISLANDS',757 'UY' => 'URUGUAY',758 'UZ' => 'UZBEKISTAN',759 'VU' => 'VANUATU',760 'VE' => 'VENEZUELA',761 'VN' => 'VIET NAM',762 'VG' => 'VIRGIN ISLANDS, BRITISH',763 'VI' => 'VIRGIN ISLANDS, U.S.',764 'WF' => 'WALLIS AND FUTUNA',765 'EH' => 'WESTERN SAHARA',766 'YE' => 'YEMEN',767 'YU' => 'YUGOSLAVIA',768 'ZM' => 'ZAMBIA',769 'ZW' => 'ZIMBABWE',770 );771 772 return $countries;773 }774 527 ?> -
restaurant-manager/tags/v1.2.0/includes/includes.php
r1025804 r1025815 17 17 require_once('shortcodes/class-shortcode-extensions.php'); 18 18 require_once('class-reservation-repository.php'); 19 20 require_once('data/class-events-data.php');21 require_once('data/class-eventmeta-data.php');22 require_once('class-event-log.php');23 require_once('class-events-list-table.php');24 19 ?> -
restaurant-manager/tags/v1.2.0/includes/post-types/class-reservation-post-meta-boxes.php
r1025804 r1025815 61 61 public function add_meta_boxes() { 62 62 63 add_meta_box('restaurant_customer_notes_metabox', __('Customer Details', 'syn_restaurant_plugin'), array($this, 'customer_notes_meta_box'), 'syn_rest_reservation', 'advanced', 'high');64 63 add_meta_box('restaurant_reservation_status_metabox', __('Reservation Status', 'syn_restaurant_plugin'), array($this, 'reservation_status_meta_box'), 'syn_rest_reservation', 'side', 'default'); 65 add_meta_box('restaurant_events_metabox', __('Event Log', 'syn_restaurant_plugin'), array($this, 'events_meta_box'), 'syn_rest_reservation', 'advanced', 'low'); 64 add_meta_box('restaurant_customer_notes_metabox', __('Customer Details', 'syn_restaurant_plugin'), array($this, 'reservation_customer_notes_meta_box'), 'syn_rest_reservation', 'advanced', 'high'); 65 //add_meta_box('restaurant_customer_emails_metabox', __('Customer Email', 'syn_restaurant_plugin'), array($this, 'reservation_customer_emails_meta_box'), 'syn_rest_reservation', 'advanced', 'high'); 66 66 } 67 67 … … 109 109 * @return boolean 110 110 */ 111 public function customer_notes_meta_box($post) {111 public function reservation_customer_notes_meta_box($post) { 112 112 113 113 $first_name = get_post_meta($post->ID, 'first_name', true); … … 163 163 } 164 164 165 public function events_meta_box($post) { 165 public function reservation_customer_emails_meta_box($post) { 166 167 $email_address = get_post_meta($post->ID, 'customer_email', true); 166 168 ?> 167 <div id="restaurant_manager_events"> 168 <?php 169 $events_list_table = new events_list_table(); 170 $events_list_table->prepare_items($post->ID); 171 $events_list_table->display(); 172 ?> 173 </div> 169 <div id="reservation_email_field" class="metabox-content"> 170 <p> 171 <?php 172 $email_content_settings = array( 173 'textarea_name' => 'admin_email', 174 'textarea_rows' => 10, 175 'media_buttons' => false, 176 'teeny' => true, 177 'tinymce' => array( 178 'toolbar1' => 'bold, italic, underline, bullist, numlist' 179 ), 180 'quicktags' => false, 181 'wpautop' => true 182 ); 183 184 wp_editor('', 'email_content', $email_content_settings); 185 ?> 186 </p> 187 <p class="description"> 188 <?php _e('Write the content for your customer email in the box and send.', 'syn_restaurant_plugin') ?> 189 </p> 190 <p> 191 <input id="reservation_id" type="hidden" value="<?php echo $post->ID ?>"/> 192 <a id="customer_email_send" class="button secondary" href="javascript:void(0)">Send Email</a> 193 </p> 194 <div id="customer_emails"> 195 <div id="admin-email-message"></div> 196 <?php 197 $args = array( 198 'post_id' => $post->ID 199 ); 200 $comments = get_comments($args); 201 202 //var_dump($comments); 203 204 $emails_list_table = new \emails_list_table(); 205 $emails_list_table->prepare_items(); 206 $emails_list_table->display(); 207 ?> 208 </div> 209 </div> 210 174 211 <?php 175 212 } … … 200 237 ?> 201 238 </select> 202 <span class="status-light status-<?php echo $post_status ?>"></span>203 239 </p> 204 240 </div> -
restaurant-manager/tags/v1.2.0/includes/post-types/class-reservation-status.php
r1025804 r1025815 40 40 } 41 41 42 $event_log = new event_log();43 44 $old_post_status = $session->post_var('original_post_status');45 46 42 $post = get_post($post_id); 47 43 $post_status = $post->post_status; … … 65 61 $reservation_time = date("{$time_format}", strtotime($reservation_time_meta)); 66 62 63 $notes = $session->post_var('notes'); 64 67 65 $replace = array( 68 66 $site_name, … … 79 77 ); 80 78 81 //check if the post status has changed 82 if ($post_status !== $old_post_status) { 83 $result = syntaxthemes_process_notification_email($post_status, $email_address, $replace); 84 $event_log->status_event($post_id, $old_post_status, $post_status, $result); 85 86 //echo "<div class=\"updated\"><p>The status has been changed</p></div>"; 87 } 88 79 $result = syntaxthemes_process_notification_email($post_status, $email_address, $replace); 89 80 } 90 81 -
restaurant-manager/tags/v1.2.0/readme.txt
r1025804 r1025815 22 22 own bookings through your website. When a booking comes in confirm or reject the booking and the customer will receive notifications to their email. 23 23 24 **Major Update**25 26 When any of your administrators change the status of your reservation this is now logged. You can see who made the change and when. Also the log system will record any sms or emails sent from the reservation screen.27 28 24 Restaurant Manager Plugin will integrate seamlessly into your current theme. It is very easy to use and will have you up and running in no time. Create a page with your reservation booking form and receive table bookings instantly. 29 25 … … 37 33 - Fast and easy to use. 38 34 - Easily modify the CSS to better fit your theme. 39 - Log all of your events when a user changes the reservation status.40 35 - Excellent documentation and online support. 41 36 … … 57 52 Create menu courses and assign the meal to the courses and menus. 58 53 59 60 **New Extensions Available Download Now**61 62 View the add-ons screen in your Restaurant Manager plugin menu for new extensions63 64 54 **MailChimp Support** 65 55 … … 69 59 70 60 - Advanced customer email support is now available. Apart from the automated email notifications made when pending, confirming and rejecting a booking, you are now able to send direct email notifications from the customers reservation booking panel. So when you reject a booking or overbook your table you can email the customer directly offering them another alternative. [Download Customer Email Support](http://www.syntaxthemes.co.uk/shop/restaurant-customer-emailer/ "Advanced Customer Email Support") and improve your customer relations. 71 72 **SMS Support**73 74 - Send SMS directly to your customers from their reservation screen. The SMS messaged are logged in the system if they are sent or failed. Restaurant Manager keeps a record of your SMS's for audit purposes and to keep a record of the content being sent.75 61 76 62 **Future Developments** … … 137 123 == Changelog == 138 124 139 **Version 1.1.9**140 141 - Created an events list to record all of restaurant staff actions.142 - New Events Log management.143 - New reservation status color highlights.144 - Extensions for SMS notification.145 - Extensions for Email notifications.146 147 **Version 1.1.8**148 149 - Added plugin support for the Advanced Customer Email Support Plugin150 - Improved admin settings pages and compressed files.151 152 125 **Version 1.1.7** 153 126 -
restaurant-manager/trunk/assets/css/admin-style.css
r1025804 r1025815 52 52 content: "\f073"; 53 53 } 54 .rman-envelope:before {55 content: "\f0e0";56 }57 .rman-mobile-phone:before {58 content: "\f10b";59 }60 54 .rman-chevron-circle-up:before { 61 55 content: "\f139"; … … 558 552 width: 18%; 559 553 } 560 .status-light {561 display: inline-block;562 height: 20px;563 width: 20px;564 background-color: #666666;565 vertical-align: middle;566 margin: 0 0 0 5px;567 -webkit-border-radius: 11px;568 -moz-border-radius: 11px;569 border-radius: 11px;570 }571 .status-light.status-draft {572 background-color: #555555;573 }574 .status-light.status-pending {575 background-color: orange;576 }577 .status-light.status-confirmed {578 background-color: green;579 }580 .status-light.status-rejected {581 background-color: red;582 }583 554 #customer_details_metabox { 584 555 margin: 0 0 30px 0; … … 717 688 float: right; 718 689 } 719 /* =Event Log720 -------------------------------------------------------------- */721 .wp-list-table.events th.column-event_type a {722 text-align: center;723 }724 .wp-list-table.events .column-author {725 width: 16%;726 }727 .wp-list-table.events .column-created_date {728 width: 20%;729 }730 .wp-list-table.events .column-event_type {731 width: 6%;732 text-align: center;733 }734 .wp-list-table.events .column-content > span {735 margin: 0;736 }737 .wp-list-table.events .column-content span {738 margin: 0 5px 0 0;739 }740 .wp-list-table.events .column-content .content {741 margin: 5px 0 0 0;742 }743 .wp-list-table.events .new-row {744 background-color: #b6e592;745 }746 .wp-list-table .event-icon {747 font-size: 20px;748 }749 .wp-list-table .rman-mobile-phone {750 font-size: 32px;751 }752 .wp-list-table .sms .mobile-number {753 font-weight: bold;754 color: #2590EA;755 }756 .wp-list-table .sms .recipient {757 font-weight: bold;758 }759 .wp-list-table .email .email-subject {760 display: block;761 font-weight: bold;762 margin: 7px 0 0 0 !important;763 }764 .wp-list-table .email .email-address {765 font-weight: bold;766 color: #2590EA;767 }768 .wp-list-table .email .recipient {769 font-weight: bold;770 }771 .wp-list-table .reservation_status .column-content .status-light {772 height: 14px;773 width: 14px;774 }775 /*************************************************************776 =Plugin Extensions777 ************************************************************** */778 /* =Restaurant Email Plugin779 -------------------------------------------------------------- */780 /* =Customer Emails Metabox781 -------------------------------------------------------------- */782 #restaurant_customer_emails_metabox #email_subject {783 width: 100%;784 }785 /* =Restaurant SMS Plugin786 -------------------------------------------------------------- */787 #restaurant_sms_emails_metabox #sms_content {788 width: 100%;789 max-width: 100%;790 min-height: 150px;791 } -
restaurant-manager/trunk/assets/css/style.css
r1025804 r1025815 1 @font-face{font-family:restaurant-manager-icons;src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?eb23kt);src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?#iefixeb23kt) format('embedded-opentype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff?eb23kt) format('woff'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf?eb23kt) format('truetype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg?eb23kt#restaurant-manager-icons) format('svg');font-weight:400;font-style:normal}[class^=rman-],[class*=" rman-"]{font-family:restaurant-manager-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rman-flame:before{content:"\f0df"}.rman-clock-o:before{content:"\f017"}.rman-times-circle:before{content:"\f057"}.rman-calendar:before{content:"\f073"}.rman- envelope:before{content:"\f0e0"}.rman-mobile-phone:before{content:"\f10b"}.rman-chevron-circle-up:before{content:"\f139"}.rman-chevron-circle-down:before{content:"\f13a"}.rman-syntaxstudio:before{content:"\e600"}.rman-knife-and-fork:before{content:"\e601"}#syn_restaurant_manager .synth-form label.error{color:red;width:100%;font-size:90%}#syn_restaurant_manager .synth-form label.error:before{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0;font-family:FontAwesome;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;content:"\f057";margin-right:4px}#syn_restaurant_manager .synth-form .form-field{overflow:auto;margin-bottom:20px}#syn_restaurant_manager .synth-form .form-label{display:inline-block;width:100%;margin:0}#syn_restaurant_manager .synth-form .form-label label{width:100%}#syn_restaurant_manager .synth-form .form-control{display:inline-block;width:90%;margin:0}#syn_restaurant_manager .synth-form .form-control .inline-error{color:red;display:none}#syn_restaurant_manager .synth-form .form-control textarea{height:100px}#syn_restaurant_manager .synth-form .captcha{position:relative;width:30%}#syn_restaurant_manager .synth-form .captcha .captcha-sum{position:absolute;display:inline-block;padding:8px 6px;font-weight:700}#syn_restaurant_manager .synth-form .captcha .captcha-result{padding-left:60px}#syn_restaurant_manager .synth-form input[type=text],#syn_restaurant_manager .synth-form textarea{width:100%}#syn_restaurant_manager .synth-form label input[type=checkbox]{position:relative;vertical-align:middle;bottom:1px;margin:0 5px 0 0}.syn-restaurant-menu{position:relative;margin:0;padding:0;list-style-type:none}.syn-restaurant-menu .restaurant-menu-item{margin:0;padding:0}.syn-restaurant-menu .syn-menu-title{font-weight:700}.syn-restaurant-menu .syn-menu-content{margin:0 0 30px;padding:0}.syn-restaurant-menu .syn-menu-content:before,.syn-restaurant-menu .syn-menu-content:after{clear:both;content:'\0020';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.syn-restaurant-menu .syn-menu-excerpt{float:left;display:inline-block;width:70%}.syn-restaurant-menu .syn-menu-price{float:right;display:inline-block;width:20%;text-align:right}.syn-restaurant-menu .syn-menu-properties{clear:both;display:block}.syn-restaurant-menu .syn-menu-properties span{padding:0 10px}.syn-restaurant-menu .syn-menu-properties span:first-child{padding:0 10px 0 0}.syn-restaurant-menu .syn-spice-rating .rating-star{padding:0}.syn-restaurant-menu .syn-spice-rating .rating-star:first-child{padding:0}1 @font-face{font-family:restaurant-manager-icons;src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?eb23kt);src:url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot?#iefixeb23kt) format('embedded-opentype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff?eb23kt) format('woff'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf?eb23kt) format('truetype'),url(../fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg?eb23kt#restaurant-manager-icons) format('svg');font-weight:400;font-style:normal}[class^=rman-],[class*=" rman-"]{font-family:restaurant-manager-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rman-flame:before{content:"\f0df"}.rman-clock-o:before{content:"\f017"}.rman-times-circle:before{content:"\f057"}.rman-calendar:before{content:"\f073"}.rman-chevron-circle-up:before{content:"\f139"}.rman-chevron-circle-down:before{content:"\f13a"}.rman-syntaxstudio:before{content:"\e600"}.rman-knife-and-fork:before{content:"\e601"}#syn_restaurant_manager .synth-form label.error{color:red;width:100%;font-size:90%}#syn_restaurant_manager .synth-form label.error:before{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0;font-family:FontAwesome;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;content:"\f057";margin-right:4px}#syn_restaurant_manager .synth-form .form-field{overflow:auto;margin-bottom:20px}#syn_restaurant_manager .synth-form .form-label{display:inline-block;width:100%;margin:0}#syn_restaurant_manager .synth-form .form-label label{width:100%}#syn_restaurant_manager .synth-form .form-control{display:inline-block;width:90%;margin:0}#syn_restaurant_manager .synth-form .form-control .inline-error{color:red;display:none}#syn_restaurant_manager .synth-form .form-control textarea{height:100px}#syn_restaurant_manager .synth-form .captcha{position:relative;width:30%}#syn_restaurant_manager .synth-form .captcha .captcha-sum{position:absolute;display:inline-block;padding:8px 6px;font-weight:700}#syn_restaurant_manager .synth-form .captcha .captcha-result{padding-left:60px}#syn_restaurant_manager .synth-form input[type=text],#syn_restaurant_manager .synth-form textarea{width:100%}#syn_restaurant_manager .synth-form label input[type=checkbox]{position:relative;vertical-align:middle;bottom:1px;margin:0 5px 0 0}.syn-restaurant-menu{position:relative;margin:0;padding:0;list-style-type:none}.syn-restaurant-menu li{margin:0;padding:0}.syn-restaurant-menu .syn-menu-title{font-weight:700}.syn-restaurant-menu .syn-menu-content{margin:0 0 30px;padding:0}.syn-restaurant-menu .syn-menu-content:before,.syn-restaurant-menu .syn-menu-content:after{clear:both;content:'\0020';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.syn-restaurant-menu .syn-menu-excerpt{float:left;display:inline-block;width:70%}.syn-restaurant-menu .syn-menu-price{float:right;display:inline-block;width:20%;text-align:right}.syn-restaurant-menu .syn-menu-properties{clear:both;display:block}.syn-restaurant-menu .syn-menu-properties span{padding:0 10px}.syn-restaurant-menu .syn-menu-properties span:first-child{padding:0 10px 0 0}.syn-restaurant-menu .syn-spice-rating .rating-star{padding:0}.syn-restaurant-menu .syn-spice-rating .rating-star:first-child{padding:0} -
restaurant-manager/trunk/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg
r1025804 r1025815 14 14 <glyph unicode="" d="M0 0v365.714q0 14.857 10.857 25.714t25.715 10.857h36.572v27.429q0 18.857 13.428 32.286t32.285 13.428h18.285q18.857 0 32.286-13.428t13.428-32.286v-27.429h109.714v27.429q0 18.857 13.428 32.286t32.286 13.428h18.286q18.857 0 32.286-13.428t13.428-32.286v-27.429h36.572q14.857 0 25.714-10.857t10.857-25.714v-365.714q0-14.857-10.857-25.714t-25.714-10.857h-402.286q-14.857 0-25.715 10.857t-10.857 25.714zM36.572 0h82.285v82.286h-82.285v-82.286zM36.572 100.572h82.285v91.428h-82.285v-91.428zM36.572 210.286h82.285v82.286h-82.285v-82.286zM109.715 347.429q0-3.714 2.715-6.428t6.428-2.714h18.285q3.714 0 6.429 2.714t2.714 6.428v82.286q0 3.714-2.714 6.428t-6.428 2.714h-18.285q-3.715 0-6.428-2.714t-2.715-6.428v-82.286zM137.143 0h91.429v82.286h-91.428v-82.286zM137.143 100.572h91.429v91.428h-91.428v-91.428zM137.143 210.286h91.429v82.286h-91.428v-82.286zM246.857 0h91.429v82.286h-91.428v-82.286zM246.857 100.572h91.429v91.428h-91.428v-91.428zM246.857 210.286h91.429v82.286h-91.428v-82.286zM329.143 347.429q0-3.714 2.714-6.428t6.428-2.714h18.286q3.714 0 6.428 2.714t2.714 6.428v82.286q0 3.714-2.714 6.428t-6.428 2.714h-18.286q-3.714 0-6.428-2.714t-2.714-6.428v-82.286zM356.572 0h82.286v82.286h-82.286v-82.286zM356.572 100.572h82.286v91.428h-82.286v-91.428zM356.572 210.286h82.286v82.286h-82.286v-82.286z" horiz-adv-x="476" /> 15 15 <glyph unicode="" d="M216.5 457.5c25-67 12-103.5-16-132.5-30.5-32-78-56-111.5-103-44.5-62.5-52-200 108.5-236-67.5 35.5-82 138.5-9 203-19-62.5 16-102.5 59.5-88 42.5 14.5 70.5-16 69.5-51-0.5-24-10-44.5-34.5-56 104.5 18.5 146.5 105 146.5 171 0 87-77.5 99-38.5 172-46.5-4-62.5-34.5-58-84.5 3-33-31.5-55.5-57-40.5-20.5 12.5-20 36.5-2 54.5 38.5 38 53.5 125.5-57.5 191z" /> 16 <glyph unicode="" d="M0 45.714v226.857q12.572-14 28.857-24.857 103.429-70.286 142-98.572 16.285-12 26.429-18.714t27-13.714 31.428-7h0.572q14.572 0 31.428 7t27 13.714 26.428 18.714q48.572 35.143 142.286 98.572 16.286 11.143 28.572 24.857v-226.857q0-18.857-13.428-32.286t-32.286-13.428h-420.572q-18.857 0-32.285 13.428t-13.428 32.286zM0 350.286q0 22.286 11.857 37.143t33.857 14.857h420.572q18.572 0 32.143-13.428t13.572-32.286q0-22.571-14-43.143t-34.857-35.143q-107.428-74.571-133.714-92.857-2.857-2-12.143-8.714t-15.428-10.857-14.857-9.286-16.428-7.714-14.286-2.572h-0.571q-6.571 0-14.286 2.572t-16.429 7.714-14.857 9.286-15.429 10.857-12.143 8.714q-26 18.286-74.857 52.143t-58.572 40.715q-17.715 12-33.428 33t-15.714 39z" />17 <glyph unicode="" d="M0 73.143v292.572q0 14.857 10.857 25.714t25.715 10.857h146.286q14.857 0 25.714-10.857t10.857-25.714v-292.572q0-14.857-10.857-25.714t-25.714-10.857h-146.286q-14.857 0-25.715 10.857t-10.857 25.714zM27.428 118.857q0-3.714 2.715-6.428t6.428-2.714h146.286q3.714 0 6.428 2.714t2.714 6.428v201.143q0 3.714-2.714 6.429t-6.428 2.714h-146.286q-3.715 0-6.428-2.714t-2.715-6.428v-201.143zM82.285 361.143q0-4.572 4.572-4.572h45.715q4.572 0 4.572 4.572t-4.572 4.572h-45.715q-4.572 0-4.572-4.572zM86.857 73.143q0-9.428 6.715-16.143t16.143-6.714 16.143 6.714 6.715 16.143-6.715 16.143-16.143 6.714-16.143-6.714-6.715-16.143z" horiz-adv-x="220" />18 16 <glyph unicode="" d="M0 219.429q0 59.714 29.428 110.143t79.857 79.857 110.143 29.428 110.143-29.428 79.857-79.857 29.428-110.143-29.428-110.143-79.857-79.857-110.143-29.428-110.143 29.428-79.857 79.857-29.428 110.143zM71.428 192q0-7.428 5.428-12.857l29.143-29.143q5.428-5.428 12.857-5.428t12.857 5.428l87.714 87.714 87.714-87.714q5.428-5.428 12.857-5.428t12.857 5.428l29.143 29.143q5.428 5.428 5.428 12.857t-5.428 12.857l-129.714 129.714q-5.428 5.428-12.857 5.428t-12.857-5.428l-129.714-129.714q-5.428-5.428-5.428-12.857z" /> 19 17 <glyph unicode="" d="M0 219.429q0 59.714 29.428 110.143t79.857 79.857 110.143 29.428 110.143-29.428 79.857-79.857 29.428-110.143-29.428-110.143-79.857-79.857-110.143-29.428-110.143 29.428-79.857 79.857-29.428 110.143zM71.428 246.857q0-7.428 5.428-12.857l129.714-129.714q5.429-5.428 12.857-5.428t12.857 5.428l129.715 129.714q5.428 5.428 5.428 12.857t-5.428 12.857l-29.143 29.143q-5.428 5.429-12.857 5.429t-12.857-5.428l-87.714-87.714-87.714 87.714q-5.428 5.428-12.857 5.428t-12.857-5.428l-29.143-29.143q-5.428-5.428-5.428-12.857z" /> -
restaurant-manager/trunk/assets/fonts/restaurant-manager-icons/selection.json
r1025804 r1025815 91 91 "setIdx": 1, 92 92 "iconIdx": 108 93 },94 {95 "icon": {96 "paths": [97 "M0 859.429v-453.714q25.143 28 57.714 49.714 206.857 140.571 284 197.143 32.571 24 52.857 37.429t54 27.429 62.857 14h1.143q29.143 0 62.857-14t54-27.429 52.857-37.429q97.143-70.286 284.571-197.143 32.571-22.286 57.143-49.714v453.714q0 37.714-26.857 64.571t-64.571 26.857h-841.143q-37.714 0-64.571-26.857t-26.857-64.571zM0 250.286q0-44.571 23.714-74.286t67.714-29.714h841.143q37.143 0 64.286 26.857t27.143 64.571q0 45.143-28 86.286t-69.714 70.286q-214.857 149.143-267.429 185.714-5.714 4-24.286 17.429t-30.857 21.714-29.714 18.571-32.857 15.429-28.571 5.143h-1.143q-13.143 0-28.571-5.143t-32.857-15.429-29.714-18.571-30.857-21.714-24.286-17.429q-52-36.571-149.714-104.286t-117.143-81.429q-35.429-24-66.857-66t-31.429-78z"98 ],99 "tags": [100 "envelope"101 ],102 "defaultCode": 61664,103 "grid": 14104 },105 "properties": {106 "id": 198,107 "order": 9,108 "prevSize": 28,109 "code": 61664,110 "name": "envelope",111 "ligatures": ""112 },113 "setIdx": 1,114 "iconIdx": 198115 },116 {117 "icon": {118 "paths": [119 "M0 804.571v-585.143q0-29.714 21.714-51.429t51.429-21.714h292.571q29.714 0 51.429 21.714t21.714 51.429v585.143q0 29.714-21.714 51.429t-51.429 21.714h-292.571q-29.714 0-51.429-21.714t-21.714-51.429zM54.857 713.143q0 7.429 5.429 12.857t12.857 5.429h292.571q7.429 0 12.857-5.429t5.429-12.857v-402.286q0-7.429-5.429-12.857t-12.857-5.429h-292.571q-7.429 0-12.857 5.429t-5.429 12.857v402.286zM164.571 228.571q0 9.143 9.143 9.143h91.429q9.143 0 9.143-9.143t-9.143-9.143h-91.429q-9.143 0-9.143 9.143zM173.714 804.571q0 18.857 13.429 32.286t32.286 13.429 32.286-13.429 13.429-32.286-13.429-32.286-32.286-13.429-32.286 13.429-13.429 32.286z"120 ],121 "width": 439,122 "tags": [123 "mobile-phone",124 "mobile"125 ],126 "defaultCode": 61707,127 "grid": 14128 },129 "properties": {130 "id": 239,131 "order": 10,132 "prevSize": 28,133 "code": 61707,134 "name": "mobile-phone",135 "ligatures": ""136 },137 "setIdx": 1,138 "iconIdx": 239139 93 }, 140 94 { -
restaurant-manager/trunk/assets/fonts/restaurant-manager-icons/style.less
r1025804 r1025815 40 40 content: "\f073"; 41 41 } 42 .rman-envelope:before {43 content: "\f0e0";44 }45 .rman-mobile-phone:before {46 content: "\f10b";47 }48 42 .rman-chevron-circle-up:before { 49 43 content: "\f139"; -
restaurant-manager/trunk/assets/less/admin-style.less
r1025804 r1025815 511 511 } 512 512 513 #restaurant_reservation_status_metabox{514 515 }516 .status-light{517 display: inline-block;518 height: 20px;519 width: 20px;520 background-color: #666666;521 vertical-align: middle;522 margin: 0 0 0 5px;523 .border-radius(11px);524 525 &.status-draft{526 background-color: #555555;527 }528 &.status-pending{529 background-color: orange;530 }531 &.status-confirmed{532 background-color: green;533 }534 &.status-rejected{535 background-color: red;536 }537 }538 539 513 #customer_details_metabox{ 540 514 margin: 0 0 30px 0; 541 515 542 516 input[type="text"]{ 543 517 width: 75%; 544 518 545 519 &:focus{ 546 520 outline: 0; … … 559 533 560 534 #customer_notes_field{ 561 535 562 536 label, 563 537 textarea{ … … 675 649 } 676 650 } 677 678 /* =Event Log679 -------------------------------------------------------------- */680 .wp-list-table{681 682 &.events{683 th.column-event_type a{684 text-align: center;685 }686 .column-author{687 width: 16%;688 }689 .column-created_date{690 width: 20%;691 }692 .column-event_type{693 width: 6%;694 text-align: center;695 }696 .column-content{697 > span{698 margin: 0;699 }700 span{701 margin: 0 5px 0 0;702 }703 .content{704 margin: 5px 0 0 0;705 }706 }707 .new-row{708 background-color: #b6e592;709 }710 }711 712 .event-icon {713 font-size: 20px;714 }715 .rman-mobile-phone{716 font-size: 32px;717 }718 719 .sms{720 .mobile-number{721 font-weight: bold;722 color: #2590EA;723 }724 .recipient{725 font-weight: bold;726 }727 }728 .email{729 .email-subject{730 display: block;731 font-weight: bold;732 margin: 7px 0 0 0 !important;733 }734 .email-address{735 font-weight: bold;736 color: #2590EA;737 }738 .recipient{739 font-weight: bold;740 }741 }742 .reservation_status{743 .column-content{744 .status-light{745 height: 14px;746 width: 14px;747 }748 }749 }750 }751 752 753 /*************************************************************754 =Plugin Extensions755 ************************************************************** */756 757 758 /* =Restaurant Email Plugin759 -------------------------------------------------------------- */760 761 /* =Customer Emails Metabox762 -------------------------------------------------------------- */763 #restaurant_customer_emails_metabox{764 #email_subject{765 width: 100%;766 }767 }768 769 /* =Restaurant SMS Plugin770 -------------------------------------------------------------- */771 #restaurant_sms_emails_metabox{772 773 #sms_content{774 width: 100%;775 max-width: 100%;776 min-height: 150px;777 }778 } -
restaurant-manager/trunk/assets/less/mixins.less
r1025804 r1025815 34 34 box-sizing: @type; 35 35 } 36 .border-radius (@radius: 5px) {37 -webkit-border-radius: @radius;38 -moz-border-radius: @radius;39 border-radius: @radius;40 } -
restaurant-manager/trunk/assets/less/style.less
r1025804 r1025815 97 97 98 98 /*Restaurant Menu*/ 99 .syntaxthemes_restaruant_menu{ 100 101 } 99 102 .syn-restaurant-menu{ 100 103 position: relative; … … 103 106 list-style-type: none; 104 107 105 .restaurant-menu-item{108 li{ 106 109 margin: 0; 107 110 padding: 0; -
restaurant-manager/trunk/class-initialize.php
r1025804 r1025815 41 41 if ($this->_plugin->plugin_requirements_check()) { 42 42 43 // Perform any version-upgrade events prior to activation (e.g. database changes)43 // Perform any version-upgrade activities prior to activation (e.g. database changes) 44 44 $this->_plugin->upgrade(); 45 45 -
restaurant-manager/trunk/class-plugin.php
r1025804 r1025815 73 73 $result = $wpdb->update($wpdb->term_taxonomy, array('taxonomy' => 'syn_rest_cuisine'), array('taxonomy' => 'syn_cuisine_type')); 74 74 } 75 76 if (version_compare($this->plugin_installed_version(), '1.2.0') < 0) {77 78 $events_data = new events_data();79 $events_data->create_table();80 81 $eventmeta_data = new eventmeta_data();82 $eventmeta_data->create_table();83 }84 75 } 85 76 … … 107 98 public function register_script_files() { 108 99 100 wp_register_script('jquery-validation', plugins_url('framework/js/validation/jquery.validate.min.js', __FILE__), array('jquery'), null, true); 109 101 wp_register_style('restaurant-manager-admin-style', plugins_url('/assets/css/admin-style.css', __FILE__)); 110 wp_register_s tyle('restaurant-manager-style', plugins_url('/assets/css/style.css', __FILE__));102 wp_register_script('jquery-timepicker-script', plugins_url('/assets/js/jquery-ui-timepicker.js', __FILE__), array('jquery'), false, true); 111 103 112 wp_register_script('jquery-validation', plugins_url('framework/js/validation/jquery.validate.min.js', __FILE__), array('jquery'), null, true);113 wp_register_script('jquery-timepicker-script', plugins_url('/assets/js/jquery-ui-timepicker.js', __FILE__), array('jquery'), false, true);114 104 wp_register_script('jquery-pickdate-picker-script', plugins_url('/assets/js/pickdate/picker.js', __FILE__), array('jquery'), false, true); 115 105 wp_register_script('jquery-pickdate-date-script', plugins_url('/assets/js/pickdate/picker.date.js', __FILE__), array('jquery'), false, true); -
restaurant-manager/trunk/includes/functions-admin-menu.php
r1025804 r1025815 167 167 </h2> 168 168 <?php if ($tab === 'general') { ?> 169 <div class="nav_tab_content"> 169 <div class="nav_tab_content"> 170 170 <?php syntaxthemes_general_page() ?> 171 171 </div> … … 205 205 $restaurant_telephone = get_option($syn_restaurant_config->plugin_prefix . 'restaurant_telephone', ''); 206 206 $currency_symbol = get_option($syn_restaurant_config->plugin_prefix . 'currency_symbol', '£'); 207 $country_code = get_option($syn_restaurant_config->plugin_prefix . 'country_code', null); 207 //$date_format = get_option($syn_restaurant_config->plugin_prefix . 'date_format', 'F j, Y'); 208 //$time_format = get_option($syn_restaurant_config->plugin_prefix . 'time_format', 'g:i a'); 208 209 209 210 if (empty($reservation_success_message)) { … … 233 234 <input class="regular-text" id="restaurant_telephone" name="restaurant_telephone" type="text" value="<?php echo $restaurant_telephone ?>" /> 234 235 <p class="description">Set your restaurant telephone contact number.</p> 235 </td>236 </tr>237 <tr>238 <th scope="row">239 <label for="country_code"><?php _e('Country Code', 'syn_restaurant_sms_plugin') ?></label>240 </th>241 <td>242 <?php243 $country_codes = syn_restaurant_manager_country_codes();244 ?>245 <select id="country_code" name="country_code">246 <?php foreach ($country_codes as $code => $country) { ?>247 <option value="<?php echo $code ?>" <?php selected($country_code, $code, true) ?>><?php echo $country ?></option>248 <?php } ?>249 </select>250 <p class="description">Set your country code for your restaurant location.</p>251 236 </td> 252 237 </tr> … … 542 527 <img class="addon-image" src="http://www.syntaxthemes.co.uk/wp-content/uploads/2014/11/restaurant-emails-logo-450x450.jpg" /> 543 528 <p> 544 Now you can email your customers directly from their saved reservation booking record. All emails sent are545 recorded on the booking so you can keep track of communication sent from your restaurant.Improve your customer546 relations without the need for external email clients.529 Now you can email your customers directly from their saved reservation booking record. All emails sent are 530 recorded on the booking so you can keep track of communication sent from your restaurant. Improve your customer 531 relations without the need for external email clients. 547 532 </p> 548 533 </div> … … 553 538 </div> 554 539 </li> 555 <li class="addon-item"> 556 <div class="addon-block"> 557 <h3 class="addon-title">Send SMS</h3> 558 <div class="addon-content"> 559 <img class="addon-image" src="http://www.syntaxthemes.co.uk/wp-content/uploads/2014/11/restaurant-emails-logo-450x450.jpg" /> 560 <p> 561 Now you can send SMS directly to your customer from your reservation screen. All SMS messages are recorded in your reservation screen 562 so that you can see what has been sent to your customers. You will need a Nexmo SMS account this is free to set up and you will 563 receive some free credit to try. Check out <a href="https://www.nexmo.com/" title="Nexmo SMS" target="_blank">Nexmo SMS</a> 564 </p> 565 </div> 566 <div class="addon-footer"> 567 <a class="read-more-link" href="http://www.syntaxthemes.co.uk/shop/restaurant-mailchimp-subscribe/" alt="Read more about this plugin" target="_blank"><?php _e('Read More', '') ?></a> 568 <a class="buy-now button-primary" href="http://www.syntaxthemes.co.uk/shop/restaurant-mailchimp-subscribe/" alt="Buy this plugin" target="_blank"><?php _e('Buy Now $20.00', '') ?></a> 569 </div> 570 </div> 540 <li class="addon-item"> 541 <p> </p> 571 542 </li> 572 543 </ul> -
restaurant-manager/trunk/includes/functions-form-processing.php
r1025804 r1025815 137 137 $restaurant_telephone = $session->post_var('restaurant_telephone'); 138 138 $currency_symbol = $session->post_var('currency_symbol'); 139 $country_code = $session->post_var('country_code'); 139 //$date_format = $session->post_var('date_format'); 140 //$time_format = $session->post_var('time_format'); 140 141 141 142 update_option($syn_restaurant_config->plugin_prefix . 'group_size', $group_size); … … 143 144 update_option($syn_restaurant_config->plugin_prefix . 'restaurant_telephone', $restaurant_telephone); 144 145 update_option($syn_restaurant_config->plugin_prefix . 'currency_symbol', $currency_symbol); 145 update_option($syn_restaurant_config->plugin_prefix . 'country_code', $country_code); 146 //update_option($syn_restaurant_config->plugin_prefix . 'date_format', $date_format); 147 //update_option($syn_restaurant_config->plugin_prefix . 'time_format', $time_format); 146 148 } 147 149 -
restaurant-manager/trunk/includes/functions-helpers.php
r1025804 r1025815 525 525 add_action('wp_ajax_restaurant_manager_get_meal_options', 'syn_restaurant_manager_get_meal_options'); 526 526 } 527 528 function syn_restaurant_manager_country_codes() {529 530 $countries = array(531 'AF' => 'AFGHANISTAN',532 'AL' => 'ALBANIA',533 'DZ' => 'ALGERIA',534 'AS' => 'AMERICAN SAMOA',535 'AD' => 'ANDORRA',536 'AO' => 'ANGOLA',537 'AI' => 'ANGUILLA',538 'AQ' => 'ANTARCTICA',539 'AG' => 'ANTIGUA AND BARBUDA',540 'AR' => 'ARGENTINA',541 'AM' => 'ARMENIA',542 'AW' => 'ARUBA',543 'AU' => 'AUSTRALIA',544 'AT' => 'AUSTRIA',545 'AZ' => 'AZERBAIJAN',546 'BS' => 'BAHAMAS',547 'BH' => 'BAHRAIN',548 'BD' => 'BANGLADESH',549 'BB' => 'BARBADOS',550 'BY' => 'BELARUS',551 'BE' => 'BELGIUM',552 'BZ' => 'BELIZE',553 'BJ' => 'BENIN',554 'BM' => 'BERMUDA',555 'BT' => 'BHUTAN',556 'BO' => 'BOLIVIA',557 'BA' => 'BOSNIA AND HERZEGOVINA',558 'BW' => 'BOTSWANA',559 'BV' => 'BOUVET ISLAND',560 'BR' => 'BRAZIL',561 'IO' => 'BRITISH INDIAN OCEAN TERRITORY',562 'BN' => 'BRUNEI DARUSSALAM',563 'BG' => 'BULGARIA',564 'BF' => 'BURKINA FASO',565 'BI' => 'BURUNDI',566 'KH' => 'CAMBODIA',567 'CM' => 'CAMEROON',568 'CA' => 'CANADA',569 'CV' => 'CAPE VERDE',570 'KY' => 'CAYMAN ISLANDS',571 'CF' => 'CENTRAL AFRICAN REPUBLIC',572 'TD' => 'CHAD',573 'CL' => 'CHILE',574 'CN' => 'CHINA',575 'CX' => 'CHRISTMAS ISLAND',576 'CC' => 'COCOS (KEELING) ISLANDS',577 'CO' => 'COLOMBIA',578 'KM' => 'COMOROS',579 'CG' => 'CONGO',580 'CD' => 'CONGO, THE DEMOCRATIC REPUBLIC OF THE',581 'CK' => 'COOK ISLANDS',582 'CR' => 'COSTA RICA',583 'CI' => 'COTE D IVOIRE',584 'HR' => 'CROATIA',585 'CU' => 'CUBA',586 'CY' => 'CYPRUS',587 'CZ' => 'CZECH REPUBLIC',588 'DK' => 'DENMARK',589 'DJ' => 'DJIBOUTI',590 'DM' => 'DOMINICA',591 'DO' => 'DOMINICAN REPUBLIC',592 'TP' => 'EAST TIMOR',593 'EC' => 'ECUADOR',594 'EG' => 'EGYPT',595 'SV' => 'EL SALVADOR',596 'GQ' => 'EQUATORIAL GUINEA',597 'ER' => 'ERITREA',598 'EE' => 'ESTONIA',599 'ET' => 'ETHIOPIA',600 'FK' => 'FALKLAND ISLANDS (MALVINAS)',601 'FO' => 'FAROE ISLANDS',602 'FJ' => 'FIJI',603 'FI' => 'FINLAND',604 'FR' => 'FRANCE',605 'GF' => 'FRENCH GUIANA',606 'PF' => 'FRENCH POLYNESIA',607 'TF' => 'FRENCH SOUTHERN TERRITORIES',608 'GA' => 'GABON',609 'GM' => 'GAMBIA',610 'GE' => 'GEORGIA',611 'DE' => 'GERMANY',612 'GH' => 'GHANA',613 'GI' => 'GIBRALTAR',614 'GR' => 'GREECE',615 'GL' => 'GREENLAND',616 'GD' => 'GRENADA',617 'GP' => 'GUADELOUPE',618 'GU' => 'GUAM',619 'GT' => 'GUATEMALA',620 'GN' => 'GUINEA',621 'GW' => 'GUINEA-BISSAU',622 'GY' => 'GUYANA',623 'HT' => 'HAITI',624 'HM' => 'HEARD ISLAND AND MCDONALD ISLANDS',625 'VA' => 'HOLY SEE (VATICAN CITY STATE)',626 'HN' => 'HONDURAS',627 'HK' => 'HONG KONG',628 'HU' => 'HUNGARY',629 'IS' => 'ICELAND',630 'IN' => 'INDIA',631 'ID' => 'INDONESIA',632 'IR' => 'IRAN, ISLAMIC REPUBLIC OF',633 'IQ' => 'IRAQ',634 'IE' => 'IRELAND',635 'IL' => 'ISRAEL',636 'IT' => 'ITALY',637 'JM' => 'JAMAICA',638 'JP' => 'JAPAN',639 'JO' => 'JORDAN',640 'KZ' => 'KAZAKSTAN',641 'KE' => 'KENYA',642 'KI' => 'KIRIBATI',643 'KP' => 'KOREA DEMOCRATIC PEOPLES REPUBLIC OF',644 'KR' => 'KOREA REPUBLIC OF',645 'KW' => 'KUWAIT',646 'KG' => 'KYRGYZSTAN',647 'LA' => 'LAO PEOPLES DEMOCRATIC REPUBLIC',648 'LV' => 'LATVIA',649 'LB' => 'LEBANON',650 'LS' => 'LESOTHO',651 'LR' => 'LIBERIA',652 'LY' => 'LIBYAN ARAB JAMAHIRIYA',653 'LI' => 'LIECHTENSTEIN',654 'LT' => 'LITHUANIA',655 'LU' => 'LUXEMBOURG',656 'MO' => 'MACAU',657 'MK' => 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF',658 'MG' => 'MADAGASCAR',659 'MW' => 'MALAWI',660 'MY' => 'MALAYSIA',661 'MV' => 'MALDIVES',662 'ML' => 'MALI',663 'MT' => 'MALTA',664 'MH' => 'MARSHALL ISLANDS',665 'MQ' => 'MARTINIQUE',666 'MR' => 'MAURITANIA',667 'MU' => 'MAURITIUS',668 'YT' => 'MAYOTTE',669 'MX' => 'MEXICO',670 'FM' => 'MICRONESIA, FEDERATED STATES OF',671 'MD' => 'MOLDOVA, REPUBLIC OF',672 'MC' => 'MONACO',673 'MN' => 'MONGOLIA',674 'MS' => 'MONTSERRAT',675 'MA' => 'MOROCCO',676 'MZ' => 'MOZAMBIQUE',677 'MM' => 'MYANMAR',678 'NA' => 'NAMIBIA',679 'NR' => 'NAURU',680 'NP' => 'NEPAL',681 'NL' => 'NETHERLANDS',682 'AN' => 'NETHERLANDS ANTILLES',683 'NC' => 'NEW CALEDONIA',684 'NZ' => 'NEW ZEALAND',685 'NI' => 'NICARAGUA',686 'NE' => 'NIGER',687 'NG' => 'NIGERIA',688 'NU' => 'NIUE',689 'NF' => 'NORFOLK ISLAND',690 'MP' => 'NORTHERN MARIANA ISLANDS',691 'NO' => 'NORWAY',692 'OM' => 'OMAN',693 'PK' => 'PAKISTAN',694 'PW' => 'PALAU',695 'PS' => 'PALESTINIAN TERRITORY, OCCUPIED',696 'PA' => 'PANAMA',697 'PG' => 'PAPUA NEW GUINEA',698 'PY' => 'PARAGUAY',699 'PE' => 'PERU',700 'PH' => 'PHILIPPINES',701 'PN' => 'PITCAIRN',702 'PL' => 'POLAND',703 'PT' => 'PORTUGAL',704 'PR' => 'PUERTO RICO',705 'QA' => 'QATAR',706 'RE' => 'REUNION',707 'RO' => 'ROMANIA',708 'RU' => 'RUSSIAN FEDERATION',709 'RW' => 'RWANDA',710 'SH' => 'SAINT HELENA',711 'KN' => 'SAINT KITTS AND NEVIS',712 'LC' => 'SAINT LUCIA',713 'PM' => 'SAINT PIERRE AND MIQUELON',714 'VC' => 'SAINT VINCENT AND THE GRENADINES',715 'WS' => 'SAMOA',716 'SM' => 'SAN MARINO',717 'ST' => 'SAO TOME AND PRINCIPE',718 'SA' => 'SAUDI ARABIA',719 'SN' => 'SENEGAL',720 'SC' => 'SEYCHELLES',721 'SL' => 'SIERRA LEONE',722 'SG' => 'SINGAPORE',723 'SK' => 'SLOVAKIA',724 'SI' => 'SLOVENIA',725 'SB' => 'SOLOMON ISLANDS',726 'SO' => 'SOMALIA',727 'ZA' => 'SOUTH AFRICA',728 'GS' => 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS',729 'ES' => 'SPAIN',730 'LK' => 'SRI LANKA',731 'SD' => 'SUDAN',732 'SR' => 'SURINAME',733 'SJ' => 'SVALBARD AND JAN MAYEN',734 'SZ' => 'SWAZILAND',735 'SE' => 'SWEDEN',736 'CH' => 'SWITZERLAND',737 'SY' => 'SYRIAN ARAB REPUBLIC',738 'TW' => 'TAIWAN, PROVINCE OF CHINA',739 'TJ' => 'TAJIKISTAN',740 'TZ' => 'TANZANIA, UNITED REPUBLIC OF',741 'TH' => 'THAILAND',742 'TG' => 'TOGO',743 'TK' => 'TOKELAU',744 'TO' => 'TONGA',745 'TT' => 'TRINIDAD AND TOBAGO',746 'TN' => 'TUNISIA',747 'TR' => 'TURKEY',748 'TM' => 'TURKMENISTAN',749 'TC' => 'TURKS AND CAICOS ISLANDS',750 'TV' => 'TUVALU',751 'UG' => 'UGANDA',752 'UA' => 'UKRAINE',753 'AE' => 'UNITED ARAB EMIRATES',754 'GB' => 'UNITED KINGDOM',755 'US' => 'UNITED STATES',756 'UM' => 'UNITED STATES MINOR OUTLYING ISLANDS',757 'UY' => 'URUGUAY',758 'UZ' => 'UZBEKISTAN',759 'VU' => 'VANUATU',760 'VE' => 'VENEZUELA',761 'VN' => 'VIET NAM',762 'VG' => 'VIRGIN ISLANDS, BRITISH',763 'VI' => 'VIRGIN ISLANDS, U.S.',764 'WF' => 'WALLIS AND FUTUNA',765 'EH' => 'WESTERN SAHARA',766 'YE' => 'YEMEN',767 'YU' => 'YUGOSLAVIA',768 'ZM' => 'ZAMBIA',769 'ZW' => 'ZIMBABWE',770 );771 772 return $countries;773 }774 527 ?> -
restaurant-manager/trunk/includes/includes.php
r1025804 r1025815 17 17 require_once('shortcodes/class-shortcode-extensions.php'); 18 18 require_once('class-reservation-repository.php'); 19 20 require_once('data/class-events-data.php');21 require_once('data/class-eventmeta-data.php');22 require_once('class-event-log.php');23 require_once('class-events-list-table.php');24 19 ?> -
restaurant-manager/trunk/includes/post-types/class-reservation-post-meta-boxes.php
r1025804 r1025815 61 61 public function add_meta_boxes() { 62 62 63 add_meta_box('restaurant_customer_notes_metabox', __('Customer Details', 'syn_restaurant_plugin'), array($this, 'customer_notes_meta_box'), 'syn_rest_reservation', 'advanced', 'high');64 63 add_meta_box('restaurant_reservation_status_metabox', __('Reservation Status', 'syn_restaurant_plugin'), array($this, 'reservation_status_meta_box'), 'syn_rest_reservation', 'side', 'default'); 65 add_meta_box('restaurant_events_metabox', __('Event Log', 'syn_restaurant_plugin'), array($this, 'events_meta_box'), 'syn_rest_reservation', 'advanced', 'low'); 64 add_meta_box('restaurant_customer_notes_metabox', __('Customer Details', 'syn_restaurant_plugin'), array($this, 'reservation_customer_notes_meta_box'), 'syn_rest_reservation', 'advanced', 'high'); 65 //add_meta_box('restaurant_customer_emails_metabox', __('Customer Email', 'syn_restaurant_plugin'), array($this, 'reservation_customer_emails_meta_box'), 'syn_rest_reservation', 'advanced', 'high'); 66 66 } 67 67 … … 109 109 * @return boolean 110 110 */ 111 public function customer_notes_meta_box($post) {111 public function reservation_customer_notes_meta_box($post) { 112 112 113 113 $first_name = get_post_meta($post->ID, 'first_name', true); … … 163 163 } 164 164 165 public function events_meta_box($post) { 165 public function reservation_customer_emails_meta_box($post) { 166 167 $email_address = get_post_meta($post->ID, 'customer_email', true); 166 168 ?> 167 <div id="restaurant_manager_events"> 168 <?php 169 $events_list_table = new events_list_table(); 170 $events_list_table->prepare_items($post->ID); 171 $events_list_table->display(); 172 ?> 173 </div> 169 <div id="reservation_email_field" class="metabox-content"> 170 <p> 171 <?php 172 $email_content_settings = array( 173 'textarea_name' => 'admin_email', 174 'textarea_rows' => 10, 175 'media_buttons' => false, 176 'teeny' => true, 177 'tinymce' => array( 178 'toolbar1' => 'bold, italic, underline, bullist, numlist' 179 ), 180 'quicktags' => false, 181 'wpautop' => true 182 ); 183 184 wp_editor('', 'email_content', $email_content_settings); 185 ?> 186 </p> 187 <p class="description"> 188 <?php _e('Write the content for your customer email in the box and send.', 'syn_restaurant_plugin') ?> 189 </p> 190 <p> 191 <input id="reservation_id" type="hidden" value="<?php echo $post->ID ?>"/> 192 <a id="customer_email_send" class="button secondary" href="javascript:void(0)">Send Email</a> 193 </p> 194 <div id="customer_emails"> 195 <div id="admin-email-message"></div> 196 <?php 197 $args = array( 198 'post_id' => $post->ID 199 ); 200 $comments = get_comments($args); 201 202 //var_dump($comments); 203 204 $emails_list_table = new \emails_list_table(); 205 $emails_list_table->prepare_items(); 206 $emails_list_table->display(); 207 ?> 208 </div> 209 </div> 210 174 211 <?php 175 212 } … … 200 237 ?> 201 238 </select> 202 <span class="status-light status-<?php echo $post_status ?>"></span>203 239 </p> 204 240 </div> -
restaurant-manager/trunk/includes/post-types/class-reservation-status.php
r1025804 r1025815 40 40 } 41 41 42 $event_log = new event_log();43 44 $old_post_status = $session->post_var('original_post_status');45 46 42 $post = get_post($post_id); 47 43 $post_status = $post->post_status; … … 65 61 $reservation_time = date("{$time_format}", strtotime($reservation_time_meta)); 66 62 63 $notes = $session->post_var('notes'); 64 67 65 $replace = array( 68 66 $site_name, … … 79 77 ); 80 78 81 //check if the post status has changed 82 if ($post_status !== $old_post_status) { 83 $result = syntaxthemes_process_notification_email($post_status, $email_address, $replace); 84 $event_log->status_event($post_id, $old_post_status, $post_status, $result); 85 86 //echo "<div class=\"updated\"><p>The status has been changed</p></div>"; 87 } 88 79 $result = syntaxthemes_process_notification_email($post_status, $email_address, $replace); 89 80 } 90 81 -
restaurant-manager/trunk/readme.txt
r1025804 r1025815 22 22 own bookings through your website. When a booking comes in confirm or reject the booking and the customer will receive notifications to their email. 23 23 24 **Major Update**25 26 When any of your administrators change the status of your reservation this is now logged. You can see who made the change and when. Also the log system will record any sms or emails sent from the reservation screen.27 28 24 Restaurant Manager Plugin will integrate seamlessly into your current theme. It is very easy to use and will have you up and running in no time. Create a page with your reservation booking form and receive table bookings instantly. 29 25 … … 37 33 - Fast and easy to use. 38 34 - Easily modify the CSS to better fit your theme. 39 - Log all of your events when a user changes the reservation status.40 35 - Excellent documentation and online support. 41 36 … … 57 52 Create menu courses and assign the meal to the courses and menus. 58 53 59 60 **New Extensions Available Download Now**61 62 View the add-ons screen in your Restaurant Manager plugin menu for new extensions63 64 54 **MailChimp Support** 65 55 … … 69 59 70 60 - Advanced customer email support is now available. Apart from the automated email notifications made when pending, confirming and rejecting a booking, you are now able to send direct email notifications from the customers reservation booking panel. So when you reject a booking or overbook your table you can email the customer directly offering them another alternative. [Download Customer Email Support](http://www.syntaxthemes.co.uk/shop/restaurant-customer-emailer/ "Advanced Customer Email Support") and improve your customer relations. 71 72 **SMS Support**73 74 - Send SMS directly to your customers from their reservation screen. The SMS messaged are logged in the system if they are sent or failed. Restaurant Manager keeps a record of your SMS's for audit purposes and to keep a record of the content being sent.75 61 76 62 **Future Developments** … … 137 123 == Changelog == 138 124 139 **Version 1.1.9**140 141 - Created an events list to record all of restaurant staff actions.142 - New Events Log management.143 - New reservation status color highlights.144 - Extensions for SMS notification.145 - Extensions for Email notifications.146 147 **Version 1.1.8**148 149 - Added plugin support for the Advanced Customer Email Support Plugin150 - Improved admin settings pages and compressed files.151 152 125 **Version 1.1.7** 153 126
Note: See TracChangeset
for help on using the changeset viewer.