Changeset 1025780
- Timestamp:
- 11/14/2014 02:34:49 PM (11 years ago)
- Location:
- restaurant-manager
- Files:
-
- 247 added
- 22 edited
-
tags/v1.1.9 (added)
-
tags/v1.1.9/assets (added)
-
tags/v1.1.9/assets/css (added)
-
tags/v1.1.9/assets/css/admin-style.css (added)
-
tags/v1.1.9/assets/css/style.css (added)
-
tags/v1.1.9/assets/fonts (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/fonts (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.eot (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.ttf (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.woff (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/selection.json (added)
-
tags/v1.1.9/assets/fonts/restaurant-manager-icons/style.less (added)
-
tags/v1.1.9/assets/images (added)
-
tags/v1.1.9/assets/images/modal-close-hover.png (added)
-
tags/v1.1.9/assets/images/modal-close.png (added)
-
tags/v1.1.9/assets/images/no-image-available.png (added)
-
tags/v1.1.9/assets/js (added)
-
tags/v1.1.9/assets/js/jquery-ui-timepicker-addon.js (added)
-
tags/v1.1.9/assets/js/jquery-ui-timepicker.js (added)
-
tags/v1.1.9/assets/js/min (added)
-
tags/v1.1.9/assets/js/min/jquery-ui-timepicker-addon.min.js (added)
-
tags/v1.1.9/assets/js/min/jquery-ui-timepicker.min.js (added)
-
tags/v1.1.9/assets/js/min/restaurant-menus-script.min.js (added)
-
tags/v1.1.9/assets/js/min/synth-restaurant-admin.min.js (added)
-
tags/v1.1.9/assets/js/min/synth-restaurant.min.js (added)
-
tags/v1.1.9/assets/js/pickdate (added)
-
tags/v1.1.9/assets/js/pickdate/legacy.js (added)
-
tags/v1.1.9/assets/js/pickdate/min (added)
-
tags/v1.1.9/assets/js/pickdate/min/legacy.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/min/picker.date.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/min/picker.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/min/picker.time.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/picker.date.js (added)
-
tags/v1.1.9/assets/js/pickdate/picker.js (added)
-
tags/v1.1.9/assets/js/pickdate/picker.time.js (added)
-
tags/v1.1.9/assets/js/pickdate/themes (added)
-
tags/v1.1.9/assets/js/pickdate/themes/_variables.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/base.date.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/base.date.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/base.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/base.time.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/classic.date.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/classic.date.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/classic.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/classic.time.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/default.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/default.date.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/default.date.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/default.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/default.time.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/default.time.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/pickdate.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/pickdate.less (added)
-
tags/v1.1.9/assets/js/pickdate/themes/rtl.css (added)
-
tags/v1.1.9/assets/js/pickdate/themes/rtl.less (added)
-
tags/v1.1.9/assets/js/pickdate/translations (added)
-
tags/v1.1.9/assets/js/pickdate/translations/FORMATTING.html (added)
-
tags/v1.1.9/assets/js/pickdate/translations/FORMATTING.md (added)
-
tags/v1.1.9/assets/js/pickdate/translations/NAMING.html (added)
-
tags/v1.1.9/assets/js/pickdate/translations/NAMING.md (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ar.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/bg_BG.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/bs_BA.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ca_ES.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/cs_CZ.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/da_DK.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/de_DE.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/el_GR.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/es_ES.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/et_EE.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/eu_ES.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/fi_FI.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/fr_FR.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/gl_ES.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/he_IL.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/hr_HR.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/hu_HU.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/id_ID.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/is_IS.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/it_IT.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ja_JP.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ko_KR.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ar.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/bg_BG.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/bs_BA.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ca_ES.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/cs_CZ.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/da_DK.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/de_DE.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/el_GR.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/es_ES.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/et_EE.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/eu_ES.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/fi_FI.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/fr_FR.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/gl_ES.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/he_IL.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/hr_HR.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/hu_HU.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/id_ID.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/is_IS.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/it_IT.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ja_JP.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ko_KR.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ne_NP.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/nl_NL.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/no_NO.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/pl_PL.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/pt_BR.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/pt_PT.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ro_RO.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/ru_RU.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/sk_SK.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/sl_SI.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/sv_SE.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/th_TH.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/tr_TR.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/uk_UA.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/vi_VN.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/zh_CN.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/min/zh_TW.min.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ne_NP.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/nl_NL.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/no_NO.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/pl_PL.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/pt_BR.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/pt_PT.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ro_RO.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/ru_RU.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/sk_SK.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/sl_SI.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/sv_SE.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/th_TH.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/tr_TR.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/uk_UA.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/vi_VN.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/zh_CN.js (added)
-
tags/v1.1.9/assets/js/pickdate/translations/zh_TW.js (added)
-
tags/v1.1.9/assets/js/restaurant-menus-script.js (added)
-
tags/v1.1.9/assets/js/synth-restaurant-admin.js (added)
-
tags/v1.1.9/assets/js/synth-restaurant.js (added)
-
tags/v1.1.9/assets/less (added)
-
tags/v1.1.9/assets/less/admin-style.less (added)
-
tags/v1.1.9/assets/less/mixins.less (added)
-
tags/v1.1.9/assets/less/style.less (added)
-
tags/v1.1.9/assets/less/variables.less (added)
-
tags/v1.1.9/class-config.php (added)
-
tags/v1.1.9/class-initialize.php (added)
-
tags/v1.1.9/class-plugin.php (added)
-
tags/v1.1.9/framework (added)
-
tags/v1.1.9/framework/base (added)
-
tags/v1.1.9/framework/base/class-plugin-base.php (added)
-
tags/v1.1.9/framework/base/class-plugin-core.php (added)
-
tags/v1.1.9/framework/controls (added)
-
tags/v1.1.9/framework/controls/class-checkbox-list.php (added)
-
tags/v1.1.9/framework/controls/class-colorpicker.php (added)
-
tags/v1.1.9/framework/controls/class-control-manager.php (added)
-
tags/v1.1.9/framework/controls/class-control.php (added)
-
tags/v1.1.9/framework/controls/class-datepicker.php (added)
-
tags/v1.1.9/framework/controls/class-select.php (added)
-
tags/v1.1.9/framework/controls/class-text.php (added)
-
tags/v1.1.9/framework/controls/class-textarea.php (added)
-
tags/v1.1.9/framework/controls/class-timepicker.php (added)
-
tags/v1.1.9/framework/framework.php (added)
-
tags/v1.1.9/framework/helpers (added)
-
tags/v1.1.9/framework/helpers/class-custom-meta-box.php (added)
-
tags/v1.1.9/framework/helpers/class-plugin-helpers.php (added)
-
tags/v1.1.9/framework/helpers/class-session.php (added)
-
tags/v1.1.9/framework/js (added)
-
tags/v1.1.9/framework/js/min (added)
-
tags/v1.1.9/framework/js/min/synth-admin.min.js (added)
-
tags/v1.1.9/framework/js/min/synth-controls.min.js (added)
-
tags/v1.1.9/framework/js/min/synth-core.min.js (added)
-
tags/v1.1.9/framework/js/min/synth-modal.min.js (added)
-
tags/v1.1.9/framework/js/min/synth-shortcodes.min.js (added)
-
tags/v1.1.9/framework/js/min/synth-validation.min.js (added)
-
tags/v1.1.9/framework/js/synth-admin.js (added)
-
tags/v1.1.9/framework/js/synth-controls.js (added)
-
tags/v1.1.9/framework/js/synth-core.js (added)
-
tags/v1.1.9/framework/js/synth-modal.js (added)
-
tags/v1.1.9/framework/js/synth-shortcodes.js (added)
-
tags/v1.1.9/framework/js/synth-validation.js (added)
-
tags/v1.1.9/framework/js/validation (added)
-
tags/v1.1.9/framework/js/validation/additional-methods.js (added)
-
tags/v1.1.9/framework/js/validation/additional-methods.min.js (added)
-
tags/v1.1.9/framework/js/validation/jquery.validate.js (added)
-
tags/v1.1.9/framework/js/validation/jquery.validate.min.js (added)
-
tags/v1.1.9/framework/js/validation/min (added)
-
tags/v1.1.9/framework/js/validation/min/additional-methods.min.js (added)
-
tags/v1.1.9/framework/js/validation/min/jquery.validate.min.js (added)
-
tags/v1.1.9/framework/php (added)
-
tags/v1.1.9/framework/php/email (added)
-
tags/v1.1.9/framework/php/email/class-synth-email.php (added)
-
tags/v1.1.9/framework/php/shortcodes (added)
-
tags/v1.1.9/framework/php/shortcodes/class-shortcode-controls-generator.php (added)
-
tags/v1.1.9/framework/php/shortcodes/class-shortcode-extensions.php (added)
-
tags/v1.1.9/framework/php/shortcodes/class-shortcode-loader.php (added)
-
tags/v1.1.9/framework/php/shortcodes/class-shortcode-script-loader.php (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/class-synth-tinymce-manager.php (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/images (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/images/shortcode-button.png (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/js (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/js/min (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/js/min/tmce-synth-tinymce-sc-plugin-3x.min.js (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/js/min/tmce-synth-tinymce-sc-plugin-4x.min.js (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/js/tmce-synth-tinymce-sc-plugin-3x.js (added)
-
tags/v1.1.9/framework/php/shortcodes/tinymce/js/tmce-synth-tinymce-sc-plugin-4x.js (added)
-
tags/v1.1.9/gpl.txt (added)
-
tags/v1.1.9/includes (added)
-
tags/v1.1.9/includes/class-email-notifications.php (added)
-
tags/v1.1.9/includes/class-event-log.php (added)
-
tags/v1.1.9/includes/class-events-list-table.php (added)
-
tags/v1.1.9/includes/class-reservation-repository.php (added)
-
tags/v1.1.9/includes/data (added)
-
tags/v1.1.9/includes/data/class-eventmeta-data.php (added)
-
tags/v1.1.9/includes/data/class-events-data.php (added)
-
tags/v1.1.9/includes/functions-admin-menu.php (added)
-
tags/v1.1.9/includes/functions-form-processing.php (added)
-
tags/v1.1.9/includes/functions-helpers.php (added)
-
tags/v1.1.9/includes/includes.php (added)
-
tags/v1.1.9/includes/post-types (added)
-
tags/v1.1.9/includes/post-types/class-meal-post-meta-boxes.php (added)
-
tags/v1.1.9/includes/post-types/class-meal-post-type.php (added)
-
tags/v1.1.9/includes/post-types/class-reservation-post-meta-boxes.php (added)
-
tags/v1.1.9/includes/post-types/class-reservation-post-type.php (added)
-
tags/v1.1.9/includes/post-types/class-reservation-status.php (added)
-
tags/v1.1.9/includes/post-types/class-template-locator.php (added)
-
tags/v1.1.9/includes/shortcodes (added)
-
tags/v1.1.9/includes/shortcodes/class-shortcode-extensions.php (added)
-
tags/v1.1.9/includes/shortcodes/components (added)
-
tags/v1.1.9/includes/shortcodes/components/reservation.php (added)
-
tags/v1.1.9/includes/shortcodes/components/restaurant-menu.php (added)
-
tags/v1.1.9/languages (added)
-
tags/v1.1.9/languages/restaurant-manager.pot (added)
-
tags/v1.1.9/readme.txt (added)
-
tags/v1.1.9/restaurant-manager.php (added)
-
tags/v1.1.9/templates (added)
-
tags/v1.1.9/templates/restaurant-manager (added)
-
tags/v1.1.9/templates/restaurant-manager/single-meal.php (added)
-
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-config.php (modified) (1 diff)
-
trunk/class-initialize.php (modified) (1 diff)
-
trunk/class-plugin.php (modified) (2 diffs)
-
trunk/includes/class-event-log.php (added)
-
trunk/includes/class-events-list-table.php (added)
-
trunk/includes/data/class-eventmeta-data.php (added)
-
trunk/includes/data/class-events-data.php (added)
-
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) (6 diffs)
-
trunk/restaurant-manager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
restaurant-manager/trunk/assets/css/admin-style.css
r1024660 r1025780 52 52 content: "\f073"; 53 53 } 54 .rman-envelope:before { 55 content: "\f0e0"; 56 } 57 .rman-mobile-phone:before { 58 content: "\f10b"; 59 } 54 60 .rman-chevron-circle-up:before { 55 61 content: "\f139"; … … 552 558 width: 18%; 553 559 } 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 } 554 583 #customer_details_metabox { 555 584 margin: 0 0 30px 0; … … 688 717 float: right; 689 718 } 719 /* =Event Log 720 -------------------------------------------------------------- */ 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 Extensions 777 ************************************************************** */ 778 /* =Restaurant Email Plugin 779 -------------------------------------------------------------- */ 780 /* =Customer Emails Metabox 781 -------------------------------------------------------------- */ 782 #restaurant_customer_emails_metabox #email_subject { 783 width: 100%; 784 } 785 /* =Restaurant SMS Plugin 786 -------------------------------------------------------------- */ 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
r1024486 r1025780 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}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} -
restaurant-manager/trunk/assets/fonts/restaurant-manager-icons/fonts/restaurant-manager-icons.svg
r1020155 r1025780 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" /> 16 18 <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" /> 17 19 <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
r1020155 r1025780 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": 14 104 }, 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": 198 115 }, 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": 14 128 }, 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": 239 93 139 }, 94 140 { -
restaurant-manager/trunk/assets/fonts/restaurant-manager-icons/style.less
r1020155 r1025780 40 40 content: "\f073"; 41 41 } 42 .rman-envelope:before { 43 content: "\f0e0"; 44 } 45 .rman-mobile-phone:before { 46 content: "\f10b"; 47 } 42 48 .rman-chevron-circle-up:before { 43 49 content: "\f139"; -
restaurant-manager/trunk/assets/less/admin-style.less
r1024660 r1025780 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 513 539 #customer_details_metabox{ 514 540 margin: 0 0 30px 0; 515 541 516 542 input[type="text"]{ 517 543 width: 75%; 518 544 519 545 &:focus{ 520 546 outline: 0; … … 533 559 534 560 #customer_notes_field{ 535 561 536 562 label, 537 563 textarea{ … … 649 675 } 650 676 } 677 678 /* =Event Log 679 -------------------------------------------------------------- */ 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 Extensions 755 ************************************************************** */ 756 757 758 /* =Restaurant Email Plugin 759 -------------------------------------------------------------- */ 760 761 /* =Customer Emails Metabox 762 -------------------------------------------------------------- */ 763 #restaurant_customer_emails_metabox{ 764 #email_subject{ 765 width: 100%; 766 } 767 } 768 769 /* =Restaurant SMS Plugin 770 -------------------------------------------------------------- */ 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
r1021648 r1025780 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
r1021648 r1025780 97 97 98 98 /*Restaurant Menu*/ 99 .syntaxthemes_restaruant_menu{100 101 }102 99 .syn-restaurant-menu{ 103 100 position: relative; … … 106 103 list-style-type: none; 107 104 108 li{105 .restaurant-menu-item{ 109 106 margin: 0; 110 107 padding: 0; -
restaurant-manager/trunk/class-config.php
r1024660 r1025780 23 23 public function __construct() { 24 24 25 $this->version = '1.1. 8';25 $this->version = '1.1.9'; 26 26 $this->plugin_name = 'Restaurant Manager'; 27 27 $this->plugin_slug = 'restaurant-manager'; -
restaurant-manager/trunk/class-initialize.php
r1021565 r1025780 41 41 if ($this->_plugin->plugin_requirements_check()) { 42 42 43 // Perform any version-upgrade activities prior to activation (e.g. database changes)43 // Perform any version-upgrade events prior to activation (e.g. database changes) 44 44 $this->_plugin->upgrade(); 45 45 -
restaurant-manager/trunk/class-plugin.php
r1024660 r1025780 30 30 */ 31 31 public function install_database_tables() { 32 33 $events_data = new events_data(); 34 $events_data->create_table(); 32 35 36 $eventmeta_data = new eventmeta_data(); 37 $eventmeta_data->create_table(); 33 38 } 34 39 … … 98 103 public function register_script_files() { 99 104 100 wp_register_script('jquery-validation', plugins_url('framework/js/validation/jquery.validate.min.js', __FILE__), array('jquery'), null, true);101 105 wp_register_style('restaurant-manager-admin-style', plugins_url('/assets/css/admin-style.css', __FILE__)); 106 wp_register_style('restaurant-manager-style', plugins_url('/assets/css/style.css', __FILE__)); 107 108 wp_register_script('jquery-validation', plugins_url('framework/js/validation/jquery.validate.min.js', __FILE__), array('jquery'), null, true); 102 109 wp_register_script('jquery-timepicker-script', plugins_url('/assets/js/jquery-ui-timepicker.js', __FILE__), array('jquery'), false, true); 103 104 110 wp_register_script('jquery-pickdate-picker-script', plugins_url('/assets/js/pickdate/picker.js', __FILE__), array('jquery'), false, true); 105 111 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
r1024660 r1025780 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 //$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'); 207 $country_code = get_option($syn_restaurant_config->plugin_prefix . 'country_code', null); 209 208 210 209 if (empty($reservation_success_message)) { … … 234 233 <input class="regular-text" id="restaurant_telephone" name="restaurant_telephone" type="text" value="<?php echo $restaurant_telephone ?>" /> 235 234 <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 <?php 243 $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> 236 251 </td> 237 252 </tr> … … 527 542 <img class="addon-image" src="http://www.syntaxthemes.co.uk/wp-content/uploads/2014/11/restaurant-emails-logo-450x450.jpg" /> 528 543 <p> 529 Now you can email your customers directly from their saved reservation booking record. All emails sent are530 recorded on the booking so you can keep track of communication sent from your restaurant.Improve your customer531 relations without the need for external email clients.544 Now you can email your customers directly from their saved reservation booking record. All emails sent are 545 recorded on the booking so you can keep track of communication sent from your restaurant. Improve your customer 546 relations without the need for external email clients. 532 547 </p> 533 548 </div> … … 538 553 </div> 539 554 </li> 540 <li class="addon-item"> 541 <p> </p> 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> 542 571 </li> 543 572 </ul> -
restaurant-manager/trunk/includes/functions-form-processing.php
r1024660 r1025780 137 137 $restaurant_telephone = $session->post_var('restaurant_telephone'); 138 138 $currency_symbol = $session->post_var('currency_symbol'); 139 //$date_format = $session->post_var('date_format'); 140 //$time_format = $session->post_var('time_format'); 139 $country_code = $session->post_var('country_code'); 141 140 142 141 update_option($syn_restaurant_config->plugin_prefix . 'group_size', $group_size); … … 144 143 update_option($syn_restaurant_config->plugin_prefix . 'restaurant_telephone', $restaurant_telephone); 145 144 update_option($syn_restaurant_config->plugin_prefix . 'currency_symbol', $currency_symbol); 146 //update_option($syn_restaurant_config->plugin_prefix . 'date_format', $date_format); 147 //update_option($syn_restaurant_config->plugin_prefix . 'time_format', $time_format); 145 update_option($syn_restaurant_config->plugin_prefix . 'country_code', $country_code); 148 146 } 149 147 -
restaurant-manager/trunk/includes/functions-helpers.php
r1024660 r1025780 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 } 527 774 ?> -
restaurant-manager/trunk/includes/includes.php
r1024660 r1025780 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'); 19 24 ?> -
restaurant-manager/trunk/includes/post-types/class-reservation-post-meta-boxes.php
r1024486 r1025780 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'); 63 64 add_meta_box('restaurant_reservation_status_metabox', __('Reservation Status', 'syn_restaurant_plugin'), array($this, 'reservation_status_meta_box'), 'syn_rest_reservation', 'side', 'default'); 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'); 65 add_meta_box('restaurant_events_metabox', __('Event Log', 'syn_restaurant_plugin'), array($this, 'events_meta_box'), 'syn_rest_reservation', 'advanced', 'low'); 66 66 } 67 67 … … 109 109 * @return boolean 110 110 */ 111 public function reservation_customer_notes_meta_box($post) {111 public function 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 reservation_customer_emails_meta_box($post) { 166 167 $email_address = get_post_meta($post->ID, 'customer_email', true); 165 public function events_meta_box($post) { 168 166 ?> 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 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> 211 174 <?php 212 175 } … … 237 200 ?> 238 201 </select> 202 <span class="status-light status-<?php echo $post_status ?>"></span> 239 203 </p> 240 204 </div> -
restaurant-manager/trunk/includes/post-types/class-reservation-status.php
r1024486 r1025780 40 40 } 41 41 42 $event_log = new event_log(); 43 44 $old_post_status = $session->post_var('original_post_status'); 45 42 46 $post = get_post($post_id); 43 47 $post_status = $post->post_status; … … 61 65 $reservation_time = date("{$time_format}", strtotime($reservation_time_meta)); 62 66 63 $notes = $session->post_var('notes');64 65 67 $replace = array( 66 68 $site_name, … … 77 79 ); 78 80 79 $result = syntaxthemes_process_notification_email($post_status, $email_address, $replace); 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 80 89 } 81 90 -
restaurant-manager/trunk/readme.txt
r1024660 r1025780 7 7 Requires at least: 3.8 8 8 Tested up to: 4.0 9 Stable tag: 1.1. 89 Stable tag: 1.1.9 10 10 Text Domain: syn_restaurant_plugin 11 11 License: GPLv2 or later … … 21 21 Create or Accept restaurant bookings online with our easy to use restaurant manager plugin. You can create your restaurant bookings through your WordPress Admin, or your customers can create their 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 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. 23 27 24 28 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. … … 33 37 - Fast and easy to use. 34 38 - Easily modify the CSS to better fit your theme. 39 - Log all of your events when a user changes the reservation status. 35 40 - Excellent documentation and online support. 36 41 … … 52 57 Create menu courses and assign the meal to the courses and menus. 53 58 59 60 **New Extensions Available Download Now** 61 62 View the add-ons screen in your Restaurant Manager plugin menu for new extensions 63 54 64 **MailChimp Support** 55 65 … … 59 69 60 70 - 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. 61 75 62 76 **Future Developments** … … 122 136 123 137 == Changelog == 138 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 Plugin 150 - Improved admin settings pages and compressed files. 124 151 125 152 **Version 1.1.7** -
restaurant-manager/trunk/restaurant-manager.php
r1024660 r1025780 4 4 Plugin Name: Restaurant Manager 5 5 Plugin URI: http://www.syntaxthemes.co.uk 6 Version: 1.1. 86 Version: 1.1.9 7 7 Author: Ryan Haworth 8 8 Description: Restaurant Manager is a plugin to manage your restaurant. Create your dinner menus, take reservations and send and receive notifications with your customers.
Note: See TracChangeset
for help on using the changeset viewer.