new ui up
This commit is contained in:
parent
4bda9c74ca
commit
3c1c09ecd9
|
@ -2,7 +2,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin: 15px 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.sec label {
|
.sec label {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
}
|
}
|
||||||
.mep_status .active {
|
.mep_status .active {
|
||||||
background: green none repeat scroll 0 0;
|
background: green none repeat scroll 0 0;
|
||||||
color: #fff;
|
color: #FFF;
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
.mep_status .err {
|
.mep_status .err {
|
||||||
background: red none repeat scroll 0 0;
|
background: red none repeat scroll 0 0;
|
||||||
color: #fff;
|
color: #FFF;
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -32,14 +32,13 @@ td.mep_event_seat.column-mep_event_seat span {
|
||||||
width: 65px;
|
width: 65px;
|
||||||
}
|
}
|
||||||
.inside .sec input {
|
.inside .sec input {
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #DDD;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
.inside .sec label {
|
.inside .sec label {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
table.atendee-info {
|
table.atendee-info {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -73,8 +72,7 @@ table.atendee-info {
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||||||
background-color: #fff;
|
background-color: #FFF;
|
||||||
font-family: Roboto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pac-container {
|
#pac-container {
|
||||||
|
@ -88,14 +86,12 @@ table.atendee-info {
|
||||||
}
|
}
|
||||||
|
|
||||||
.pac-controls label {
|
.pac-controls label {
|
||||||
font-family: Roboto;
|
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pac-input {
|
#pac-input {
|
||||||
background-color: #fff;
|
background-color: #FFF;
|
||||||
font-family: Roboto;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
|
@ -105,20 +101,18 @@ table.atendee-info {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pac-input:focus {
|
#pac-input:focus {
|
||||||
border-color: #4d90fe;
|
border-color: #4D90FE;
|
||||||
}
|
}
|
||||||
|
div#mep_event_day_r,
|
||||||
div#mep_event_faq_r {
|
div#mep_event_faq_r {
|
||||||
display: block;
|
display: block;
|
||||||
width: 94%;
|
padding:0 15px 15px;
|
||||||
border: 1px solid #ddd;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mep-faq-input {
|
.mep-faq-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
border: 1px solid #8a8a8a;
|
border: 1px solid #8A8A8A;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
}
|
}
|
||||||
|
@ -136,18 +130,18 @@ a.button.remove-faq-row {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
.mep-attendee-sec-details span {
|
.mep-attendee-sec-details span {
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #DDD;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mep-attendee-sec-details .ea-label {
|
.mep-attendee-sec-details .ea-label {
|
||||||
width: 200px!important;
|
width: 200px !important;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mep-attendee-sec-details .ea-value {
|
.mep-attendee-sec-details .ea-value {
|
||||||
width: 68%!important;
|
width: 68% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mep-attendee-sec-details .sec {
|
.mep-attendee-sec-details .sec {
|
||||||
|
@ -162,7 +156,7 @@ a.button.remove-faq-row {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-type-mep_events .switch input {display:none;}
|
.post-type-mep_events .switch input {display: none;}
|
||||||
|
|
||||||
.post-type-mep_events .slider {
|
.post-type-mep_events .slider {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -171,13 +165,13 @@ a.button.remove-faq-row {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background-color: #ccc;
|
background-color: #CCC;
|
||||||
-webkit-transition: .4s;
|
-webkit-transition: .4s;
|
||||||
transition: .4s;
|
transition: .4s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-type-mep_events .slider:before {
|
.post-type-mep_events .slider:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
height: 17px;
|
height: 17px;
|
||||||
width: 17px;
|
width: 17px;
|
||||||
|
@ -211,47 +205,32 @@ position: absolute;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#mep-event-price {
|
div#mage-primary-button {
|
||||||
border: 5px solid red;
|
background: green !important;
|
||||||
}
|
color: white !important;
|
||||||
|
|
||||||
div#mep-event-price h2 {
|
|
||||||
background: red;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#mage-primary-button{
|
|
||||||
background:green !important;
|
|
||||||
color:white !important;
|
|
||||||
}
|
|
||||||
ul.mep_rt_settings_list li {
|
|
||||||
display: block;
|
|
||||||
margin: 20px 0;
|
|
||||||
border-bottom: 1px solid #ddd;
|
|
||||||
padding: 5px 0 10px;
|
|
||||||
}
|
}
|
||||||
.mage_settings_panel_wrap .metabox-holder {
|
.mage_settings_panel_wrap .metabox-holder {
|
||||||
padding-top: 10px;
|
background: #FFF;
|
||||||
background: #fff;
|
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border: 5px solid #0071a1;
|
border: 5px solid #0071A1;
|
||||||
/* border-top: 0px; */
|
/* border-top: 0px; */
|
||||||
width: 75%;
|
width: 75%;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
order: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mage_settings_panel_wrap .nav-tab {
|
.mage_settings_panel_wrap .nav-tab {
|
||||||
float: none;
|
float: none;
|
||||||
border: 2px solid #0e678c;
|
border: 2px solid #0E678C;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
background: #0071a1;
|
background: #0071A1;
|
||||||
color: #fff;
|
color: #FFF;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -260,17 +239,17 @@ ul.mep_rt_settings_list li {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
.mage_settings_panel_wrap .nav-tab.nav-tab-active {
|
.mage_settings_panel_wrap .nav-tab.nav-tab-active {
|
||||||
background: #5ea8c8;
|
background: #5EA8C8;
|
||||||
}
|
}
|
||||||
.mage_settings_panel_wrap table th {
|
.mage_settings_panel_wrap table th {
|
||||||
width: 330px;
|
width: 330px;
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #DDD;
|
||||||
padding: 10px 10px 0 0;
|
padding: 10px 10px 0 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mage_settings_panel_wrap table td {
|
.mage_settings_panel_wrap table td {
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #DDD;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
.mage_settings_panel_wrap p.submit {
|
.mage_settings_panel_wrap p.submit {
|
||||||
|
@ -283,35 +262,30 @@ ul.mep_rt_settings_list li {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.mage_settings_panel_wrap .metabox-holder h2 {
|
.mage_settings_panel_wrap .metabox-holder h2 {
|
||||||
border-bottom: 2px solid #0071a1;
|
border-bottom: 2px solid #0071A1;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
background: #ddd;
|
background: #DDD;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
.mep_event_metabox_address .sec {
|
.mep_event_metabox_address .sec {
|
||||||
width: 48%;
|
width: 48%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0px 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
#poststuff .stuffbox>h3, #poststuff h2, #poststuff h3.hndle {
|
#poststuff .stuffbox > h3, #poststuff h2, #poststuff h3.hndle {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
span.event_meta_help_txt {
|
|
||||||
display: block;
|
|
||||||
font-size: 13px;
|
|
||||||
margin: 2px 0 20px;
|
|
||||||
color: #ba2720;
|
|
||||||
}
|
|
||||||
span.mep_event_date {
|
span.mep_event_date {
|
||||||
background: #b2833f;
|
background: #B2833F;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 7px 3px;
|
padding: 7px 3px;
|
||||||
color: #fff;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#mep_event_list_thumbnail_meta_boxes table th, div#mep_event_list_thumbnail_meta_boxes table td {
|
div#mep_event_list_thumbnail_meta_boxes table th, div#mep_event_list_thumbnail_meta_boxes table td {
|
||||||
|
@ -322,44 +296,134 @@ div#mep_event_list_thumbnail_meta_boxes table th, div#mep_event_list_thumbnail_m
|
||||||
}
|
}
|
||||||
|
|
||||||
div#mep_event_list_thumbnail_meta_boxes table, div#mep_event_list_thumbnail_meta_boxes table tbody {
|
div#mep_event_list_thumbnail_meta_boxes table, div#mep_event_list_thumbnail_meta_boxes table tbody {
|
||||||
width: 100%!important;
|
width: 100% !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#mep_event_list_thumbnail_meta_boxes table td input {
|
div#mep_event_list_thumbnail_meta_boxes table td input {
|
||||||
width: 93%!important;
|
width: 93% !important;
|
||||||
}
|
}
|
||||||
div#mep_event_list_thumbnail_meta_boxes span.slider:before {
|
div#mep_event_list_thumbnail_meta_boxes span.slider:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
div#mep_event_list_thumbnail_meta_boxes table td input#enable_global_qty {
|
div#mep_event_list_thumbnail_meta_boxes table td input#enable_global_qty {
|
||||||
width: auto!important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
#mep_event_list_thumbnail_meta_boxes table.form-table {
|
#mep_event_list_thumbnail_meta_boxes table.form-table {
|
||||||
width: 100%!important;
|
width: 100% !important;
|
||||||
margin: 0!important;
|
margin: 0 !important;
|
||||||
padding: 0!important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mep_event_list_thumbnail_meta_boxes table.form-table tbody th, #mep_event_list_thumbnail_meta_boxes table.form-table tbody td {
|
#mep_event_list_thumbnail_meta_boxes table.form-table tbody th, #mep_event_list_thumbnail_meta_boxes table.form-table tbody td {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
#mep_event_list_thumbnail_meta_boxes .media_preview {
|
#mep_event_list_thumbnail_meta_boxes .media_preview {
|
||||||
width: 92%!important;
|
width: 92% !important;
|
||||||
}
|
}
|
||||||
.wrap.mage_settings_panel_wrap {
|
.wrap.mage_settings_panel_wrap {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: -webkit-flex;display: flex;-webkit-flex-wrap: wrap;flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2.nav-tab-wrapper {}
|
|
||||||
|
|
||||||
.wrap.mage_settings_panel_wrap h2.nav-tab-wrapper {
|
.wrap.mage_settings_panel_wrap h2.nav-tab-wrapper {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
float: left;
|
float: left;
|
||||||
|
order:2;
|
||||||
}
|
}
|
||||||
|
.wrap.mage_settings_panel_wrap #setting-error-tgmpa{order: 0;width: 100%;}
|
||||||
|
#mp_event_all_info_in_tab table.form-table{table-layout: inherit;}
|
||||||
|
#mp_event_all_info_in_tab table.form-table th{width: 35%;}
|
||||||
|
#mp_event_all_info_in_tab table.form-table td{width: 65%;}
|
||||||
|
/****************mp_event_all_meta_in_tab********************/
|
||||||
|
iframe#gmap_canvas {width: 100%; height: 300px;}
|
||||||
|
#mp_event_all_info_in_tab .section-title,
|
||||||
|
#mp_event_all_info_in_tab .mp_event_virtual_type_des,
|
||||||
|
#mp_event_all_info_in_tab label.mp_event_drop_list_hidden,
|
||||||
|
#mp_event_all_info_in_tab .mp_event_custom_form_hidden{display: none;}
|
||||||
|
#mp_event_all_info_in_tab .mp_event_virtual_type_des.active{display:block;}
|
||||||
|
#mp_event_all_info_in_tab .ppof-settings .form-section{padding: 0;}
|
||||||
|
#mp_event_all_info_in_tab .postbox-header{background-color: #007cba;padding: 10px;}
|
||||||
|
#mp_event_all_info_in_tab .postbox-header h2{font-size:20px;font-weight: 600;color:#FFF !important;border: none !important;padding: 0;}
|
||||||
|
#mp_event_all_info_in_tab .postbox-header h2 .dashicons{width: 45px;height: 28px;font-size: 28px;}
|
||||||
|
#mp_event_all_info_in_tab .postbox-header button span{color:#fff;}
|
||||||
|
#mp_event_all_info_in_tab .postbox-header button:hover span{color:#999;}
|
||||||
|
#mp_event_all_info_in_tab .inside{margin: 0;padding: 0;}
|
||||||
|
|
||||||
|
#mp_event_all_info_in_tab table{border: 1px solid #ddd;table-layout: fixed;width:100%;border-collapse: inherit;}
|
||||||
|
#mp_event_all_info_in_tab table th{background-color: #f1f1f1;text-align: left;font-size: 15px;padding: 5px 10px;}
|
||||||
|
#mp_event_all_info_in_tab table th,
|
||||||
|
#mp_event_all_info_in_tab table td{border: 1px solid #ddd;position: relative;width: inherit;}
|
||||||
|
#mp_event_all_info_in_tab table td{padding: 5px;}
|
||||||
|
#mp_event_all_info_in_tab table button{width: 100%;}
|
||||||
|
#mp_event_all_info_in_tab table button.remove-day-row,
|
||||||
|
#mp_event_all_info_in_tab table button.remove-faq-row{width: auto;}
|
||||||
|
#mp_event_all_info_in_tab table.mp_form_builder_table .mp_formControl{width: 100%;}
|
||||||
|
#add-new-date-row,
|
||||||
|
#mp_event_add_new_form,
|
||||||
|
.mp_event_remove_this_row{background: #007cba !important; font-size: 16px;padding: 5px 20px;color: #fff;border:none;
|
||||||
|
display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;-webkit-justify-content: center;justify-content: center;
|
||||||
|
}
|
||||||
|
.mp_event_remove_this_row{background: darkred !important;}
|
||||||
|
.mp_event_remove_this_row:hover{background: #fff !important;color:red;}
|
||||||
|
#add-new-date-row span,
|
||||||
|
#mp_event_all_info_in_tab p button span{margin: 0 7px 0 0;}
|
||||||
|
|
||||||
|
#mp_event_all_info_in_tab ul{list-style-type: none;margin:0;padding: 0;}
|
||||||
|
#mp_event_all_info_in_tab ul li{display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;}
|
||||||
|
#mp_event_all_info_in_tab h5{font-size: 18px;font-weight: 500;margin: 0 0 5px 0;}
|
||||||
|
|
||||||
|
.mp_event_all_meta_in_tab {display: -webkit-flex;display: flex;min-height: 300px;}
|
||||||
|
.mp_tab_menu {width: 260px;background-color: #f1f1f1;color: #0073aa;font-size: 15px;font-weight: 600;}
|
||||||
|
.mp_tab_menu ul {border-top: 1px solid #FFF;}
|
||||||
|
.mp_tab_menu ul li {
|
||||||
|
padding:10px;margin: 0;border-bottom: 1px solid #FFF;cursor: pointer;color:#0073aa; position: relative;
|
||||||
|
}
|
||||||
|
.mp_tab_menu ul li.active{background-color: #007cba;color: #FFF;font-size: 16px;}
|
||||||
|
.mp_tab_menu ul li:hover {color: #F1ADAD;}
|
||||||
|
.mp_tab_menu ul li.active::after{
|
||||||
|
position: absolute;right: 0;content: '';border: 10px solid transparent;border-right-color: #FFF;
|
||||||
|
}
|
||||||
|
.mp_tab_details {width: calc(100% - 260px);background-color: #FFF;padding: 15px;}
|
||||||
|
.mp_tab_item {display: none;}
|
||||||
|
|
||||||
|
.mp_form_area {display: -webkit-flex;display: flex;}
|
||||||
|
.mp_form_area > * {-webkit-flex: 1;flex: 1;}
|
||||||
|
.mp_form_area label {font-size: 15px;color: #777;font-weight: 500;margin:0;position: relative;
|
||||||
|
display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;
|
||||||
|
}
|
||||||
|
.mp_form_area label span{min-width: 220px;font-size: 17px;color: #555;font-weight: 600;}
|
||||||
|
#mp_event_all_info_in_tab .mp_formControl {min-width: auto;font-size: 15px;margin: 0;font-weight: 500;max-width: 100%;width: 100%}
|
||||||
|
#mp_event_all_info_in_tab.switch_checkbox {min-width: 50px;margin: 0 20px 0 0;}
|
||||||
|
.mp_form_area .mp_form_item {margin: 0 0 15px 0;}
|
||||||
|
#mp_event_all_info_in_tab label span.round{min-width: auto;left: 2px;width: 60px;right: inherit;height: 25px;top: 2px;}
|
||||||
|
#mp_event_all_info_in_tab .mp_opacity_zero{opacity: 0;}
|
||||||
|
|
||||||
|
p.event_meta_help_txt {font-size: 13px;margin: 5px;color: #BA2720;}
|
||||||
|
#add-new-date-row{margin: 10px 0;}
|
||||||
|
|
||||||
|
label.mp_event_virtual_type_des{margin:20px 0 0 0;}
|
||||||
|
label.mp_event_virtual_type_des textarea{width:100%;}
|
||||||
|
/*************/
|
||||||
|
#mp_event_all_info_in_tab .mp_event_custom_form_table{margin: 20px 0;}
|
||||||
|
#mp_event_all_info_in_tab .mp_event_custom_form_table .mp_formControl{min-width: auto;width: 100%;}
|
||||||
|
|
||||||
|
#mp_event_all_info_in_tab button,
|
||||||
|
.mp_tab_menu ul li{
|
||||||
|
-webkit-transition: all .25s ease-in-out;transition: all .25s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mp_event_all_info_in_tab .mp_event_remove_move{display: -webkit-flex;display: flex;}
|
||||||
|
#mp_event_all_info_in_tab .mp_event_remove_move>*{-webkit-flex: 1;flex: 1;}
|
||||||
|
#mp_event_all_info_in_tab .mp_event_type_sortable_button,
|
||||||
|
#mp_event_all_info_in_tab .mp_event_remove_move button{
|
||||||
|
display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;-webkit-justify-content: center;justify-content: center;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 5px 0 0 5px;
|
||||||
|
padding: 0;background-color: #f2f2f2;
|
||||||
|
}
|
||||||
|
#mp_event_all_info_in_tab .mp_event_type_sortable_button{ border-radius: 0 5px 5px 0;border-left: none;cursor: move;}
|
|
@ -86,17 +86,6 @@ function mep_fw_meta_boxs()
|
||||||
'type' => 'select2',
|
'type' => 'select2',
|
||||||
'args' => 'CPT_%mep_event_speaker%',
|
'args' => 'CPT_%mep_event_speaker%',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
|
||||||
'id' => 'mep_event_type',
|
|
||||||
'title' => __('Event Type', 'mage-eventpress'),
|
|
||||||
'details' => __('Please Select Event Type, This will add a Rebon in the event list', 'mage-eventpress'),
|
|
||||||
'type' => 'select',
|
|
||||||
'args' => array(
|
|
||||||
'offline' => __('Offline Event', 'mage-eventpress'),
|
|
||||||
'online' => __('Online/Virtual Event', 'mage-eventpress')
|
|
||||||
)
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
@ -104,7 +93,7 @@ function mep_fw_meta_boxs()
|
||||||
);
|
);
|
||||||
$events_speaker_list_meta_args = array(
|
$events_speaker_list_meta_args = array(
|
||||||
'meta_box_id' => 'mep_event_speakers_list_meta_boxes',
|
'meta_box_id' => 'mep_event_speakers_list_meta_boxes',
|
||||||
'meta_box_title' => __('Event Speaker Information', 'mage-eventpress'),
|
'meta_box_title' => '<span class="dashicons dashicons-businessman"></span> '.__('Speaker Information', 'mage-eventpress'),
|
||||||
'screen' => array('mep_events'),
|
'screen' => array('mep_events'),
|
||||||
'context' => 'normal',
|
'context' => 'normal',
|
||||||
'priority' => 'high',
|
'priority' => 'high',
|
||||||
|
@ -199,7 +188,7 @@ function mep_fw_meta_boxs()
|
||||||
|
|
||||||
$email_body_meta_args = array(
|
$email_body_meta_args = array(
|
||||||
'meta_box_id' => 'mep_event_email_body_meta_boxes',
|
'meta_box_id' => 'mep_event_email_body_meta_boxes',
|
||||||
'meta_box_title' => __('Event Email Confirmation Text', 'mage-eventpress'),
|
'meta_box_title' => '<span class="dashicons dashicons-email"></span> '.__('Email Confirmation Text', 'mage-eventpress'),
|
||||||
//'callback' => '_meta_box_callback',
|
//'callback' => '_meta_box_callback',
|
||||||
'screen' => array('mep_events'),
|
'screen' => array('mep_events'),
|
||||||
'context' => 'normal', // 'normal', 'side', and 'advanced'
|
'context' => 'normal', // 'normal', 'side', and 'advanced'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -223,7 +223,7 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
||||||
$cart_location = $values['event_cart_location'];
|
$cart_location = $values['event_cart_location'];
|
||||||
$event_extra_service = $values['event_extra_service'];
|
$event_extra_service = $values['event_extra_service'];
|
||||||
$ticket_type_arr = $values['event_ticket_info'];
|
$ticket_type_arr = $values['event_ticket_info'];
|
||||||
$cart_date = $values['event_cart_date'];
|
$cart_date = get_mep_datetime($values['event_cart_date'],'date-time-text');
|
||||||
$form_position = mep_get_option('mep_user_form_position', 'general_attendee_sec', 'details_page');
|
$form_position = mep_get_option('mep_user_form_position', 'general_attendee_sec', 'details_page');
|
||||||
$event_user_info = $form_position == 'details_page' ? $values['event_user_info'] : mep_save_attendee_info_into_cart($eid);
|
$event_user_info = $form_position == 'details_page' ? $values['event_user_info'] : mep_save_attendee_info_into_cart($eid);
|
||||||
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
get_header();
|
get_header();
|
||||||
the_post();
|
the_post();
|
||||||
global $post, $woocommerce;
|
global $post, $woocommerce;
|
||||||
|
if ( post_password_required() ) {
|
||||||
|
echo get_the_password_form(); // WPCS: XSS ok.
|
||||||
|
}else{
|
||||||
|
|
||||||
$event_meta = get_post_custom(get_the_id());
|
$event_meta = get_post_custom(get_the_id());
|
||||||
$author_terms = get_the_terms(get_the_id(), 'mep_org');
|
$author_terms = get_the_terms(get_the_id(), 'mep_org');
|
||||||
$book_count = get_post_meta(get_the_id(), 'total_booking', true);
|
$book_count = get_post_meta(get_the_id(), 'total_booking', true);
|
||||||
|
@ -219,7 +223,7 @@ jQuery('#quantity_5a7abbd1bff73').on('change', function () {
|
||||||
<?php
|
<?php
|
||||||
}else{
|
}else{
|
||||||
do_action('mep_event_single_template_end',get_the_id());
|
do_action('mep_event_single_template_end',get_the_id());
|
||||||
}?>
|
}
|
||||||
<?php
|
do_action('mep_event_single_page_before_footer');
|
||||||
do_action('mep_event_single_page_before_footer');
|
}
|
||||||
get_footer();
|
get_footer();
|
||||||
|
|
|
@ -1,5 +1,87 @@
|
||||||
// jQuery(document).ready(function($) {
|
jQuery(document).ready(function ($) {
|
||||||
// "use strict";
|
"use strict";
|
||||||
|
// Tabs
|
||||||
|
$(window).load(function () {
|
||||||
|
$('.mp_event_all_meta_in_tab .mp_tab_menu li:first-child[data-target-tabs]').trigger('click');
|
||||||
|
if ($('[name="mep_org_address"]').val() > 0) {
|
||||||
|
$('.mp_event_address').slideUp(250);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '[data-target-tabs]', function () {
|
||||||
|
if (!$(this).hasClass('active')) {
|
||||||
|
let tabsTarget = $(this).attr('data-target-tabs');
|
||||||
|
let targetParent = $(this).parents('.mp_event_all_meta_in_tab');
|
||||||
|
targetParent.find('.mp_tab_item.active').removeClass('active').slideUp('fast');
|
||||||
|
targetParent.find('.mp_tab_item[data-tab-item="' + tabsTarget + '"]').addClass('active').slideDown(250);
|
||||||
|
targetParent.find('li.active').removeClass('active');
|
||||||
|
$(this).addClass('active');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
$('[name="mep_event_expire"]').datepicker({
|
||||||
|
dateFormat: "yy-mm-dd",
|
||||||
|
minDate: 0
|
||||||
|
});
|
||||||
|
$(document).on('click', 'label.mp_event_virtual_type_des_switch input', function () {
|
||||||
|
if ($(this).is(":checked")) {
|
||||||
|
$(this).parents('label.mp_event_virtual_type_des_switch').siblings('label.mp_event_virtual_type_des').slideDown(200);
|
||||||
|
} else {
|
||||||
|
$(this).parents('label.mp_event_virtual_type_des_switch').siblings('label.mp_event_virtual_type_des').val('').slideUp(200);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#add-row-t').on('click', function () {
|
||||||
|
var row = $('.empty-row-t.screen-reader-text').clone(true);
|
||||||
|
row.removeClass('empty-row-t screen-reader-text');
|
||||||
|
row.insertBefore('#repeatable-fieldset-one-t tbody>tr:last');
|
||||||
|
$('#mep_ticket_type_empty option[value=inputbox]').attr('selected', 'selected');
|
||||||
|
jQuery('.empty-row-t #mep_ticket_type_empty option[value=inputbox]').removeAttr('selected');
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.remove-row-t').on('click', function () {
|
||||||
|
if (confirm('Are You Sure , Remove this row ? \n\n 1. Ok : To Remove . \n 2. Cancel : To Cancel .')) {
|
||||||
|
$(this).parents('tr').remove();
|
||||||
|
$('#mep_ticket_type_empty option[value=inputbox]').removeAttr('selected');
|
||||||
|
$('#mep_ticket_type_empty option[value=dropdown]').removeAttr('selected');
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$(document).find('.mp_event_type_sortable').sortable({
|
||||||
|
handle: $(this).find('.mp_event_type_sortable_button')
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// });
|
$('#add-row').on('click', function () {
|
||||||
|
var row = $('.empty-row.screen-reader-text').clone(true);
|
||||||
|
row.removeClass('empty-row screen-reader-text');
|
||||||
|
row.insertBefore('#repeatable-fieldset-one tbody>tr:last');
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.remove-row').on('click', function () {
|
||||||
|
if (confirm('Are You Sure , Remove this row ? \n\n 1. Ok : To Remove . \n 2. Cancel : To Cancel .')) {
|
||||||
|
$(this).parents('tr').remove();
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#add-new-date-row').on('click', function () {
|
||||||
|
var row = $('.empty-row-d.screen-reader-text').clone(true);
|
||||||
|
row.removeClass('empty-row-d screen-reader-text');
|
||||||
|
row.insertBefore('#repeatable-fieldset-one-d tbody>tr:last');
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.remove-row-d').on('click', function () {
|
||||||
|
if (confirm('Are You Sure , Remove this row ? \n\n 1. Ok : To Remove . \n 2. Cancel : To Cancel .')) {
|
||||||
|
$(this).parents('tr').remove();
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
|
@ -1,57 +1,68 @@
|
||||||
<?php
|
<?php
|
||||||
if ( ! defined('ABSPATH')) exit; // if direct access
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
exit;
|
||||||
|
} // if direct access
|
||||||
|
|
||||||
|
|
||||||
if( ! class_exists( 'AddMetaBox' ) ) {
|
if ( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
|
|
||||||
class AddMetaBox {
|
class AddMetaBox {
|
||||||
|
|
||||||
public $data = array();
|
public $data = array();
|
||||||
|
|
||||||
public function __construct( $args ){
|
public function __construct( $args ) {
|
||||||
|
|
||||||
$this->data = &$args;
|
$this->data = &$args;
|
||||||
|
if ( isset( $this->data['seat_plan'] ) ) {
|
||||||
|
add_action( 'mp_event_all_in_tab_item_seat_plan', array( $this, 'meta_box_callback' ), 10, 1 );
|
||||||
|
}elseif ( isset( $this->data['every_day_setting'] ) ) {
|
||||||
|
add_action('mp_event_recurring_every_day_setting',array( $this, 'meta_box_callback' ), 10, 1);
|
||||||
|
} elseif ( $this->get_meta_box_screen()[0] == 'mep_events' && $this->get_meta_box_context() == 'normal' ) {
|
||||||
|
add_action( 'mp_event_all_in_tab_menu', array( $this, 'mp_event_all_in_tab_menu_list' ) );
|
||||||
|
add_action( 'mp_event_all_in_tab_item', array( $this, 'meta_box_callback' ), 10, 1 );
|
||||||
|
} else {
|
||||||
add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 12 );
|
add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 12 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
add_action( 'save_post', array( $this, 'save_post' ), 12 );
|
add_action( 'save_post', array( $this, 'save_post' ), 12 );
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function add_meta_boxes(){
|
public function add_meta_boxes() {
|
||||||
|
|
||||||
|
|
||||||
add_meta_box($this->get_meta_box_id(),$this->get_meta_box_title(),array( $this, 'meta_box_callback' ),
|
add_meta_box( $this->get_meta_box_id(), $this->get_meta_box_title(), array( $this, 'meta_box_callback' ),
|
||||||
$this->get_meta_box_screen(), $this->get_meta_box_context(), $this->get_meta_box_priority(),$this->get_callback_args());
|
$this->get_meta_box_screen(), $this->get_meta_box_context(), $this->get_meta_box_priority(), $this->get_callback_args() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function save_post($post_id){
|
public function save_post( $post_id ) {
|
||||||
|
|
||||||
$get_option_name = $this->get_option_name();
|
$get_option_name = $this->get_option_name();
|
||||||
$post_id = $this->get_post_id();
|
$post_id = $this->get_post_id();
|
||||||
|
|
||||||
if(!empty($get_option_name)):
|
if ( ! empty( $get_option_name ) ):
|
||||||
$option_value = serialize($_POST[$get_option_name]);
|
$option_value = serialize( $_POST[ $get_option_name ] );
|
||||||
|
|
||||||
update_post_meta($post_id, $get_option_name, $option_value);
|
update_post_meta( $post_id, $get_option_name, $option_value );
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
||||||
foreach ($this->get_panels() as $panelsIndex=>$panel):
|
foreach ( $this->get_panels() as $panelsIndex => $panel ):
|
||||||
foreach ($panel['sections'] as $sectionIndex=>$section):
|
foreach ( $panel['sections'] as $sectionIndex => $section ):
|
||||||
foreach ($section['options'] as $option):
|
foreach ( $section['options'] as $option ):
|
||||||
|
|
||||||
$option_value = isset($_POST[$option['id']]) ? $_POST[$option['id']] : '';
|
$option_value = isset( $_POST[ $option['id'] ] ) ? $_POST[ $option['id'] ] : '';
|
||||||
|
|
||||||
if(is_array($option_value)){
|
if ( is_array( $option_value ) ) {
|
||||||
$option_value = serialize($option_value);
|
$option_value = serialize( $option_value );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
update_post_meta( $post_id, $option['id'], $option_value );
|
||||||
update_post_meta($post_id, $option['id'], $option_value);
|
|
||||||
|
|
||||||
endforeach;
|
endforeach;
|
||||||
endforeach;
|
endforeach;
|
||||||
|
@ -60,15 +71,27 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function mp_event_all_in_tab_menu_list() {
|
||||||
|
?>
|
||||||
|
<li data-target-tabs="#<?php echo $this->get_meta_box_id(); ?>">
|
||||||
|
<?php echo $this->get_meta_box_title(); ?>
|
||||||
|
</li>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function meta_box_callback(){
|
public function meta_box_callback( $post_id = null ) {
|
||||||
|
|
||||||
$get_nav_position = $this->get_nav_position();
|
$get_nav_position = $this->get_nav_position();
|
||||||
|
|
||||||
//var_dump($get_nav_position);
|
//var_dump($get_nav_position);
|
||||||
|
if ( $this->get_meta_box_screen()[0] == 'mep_events' && $this->get_meta_box_context() == 'normal' && !isset( $this->data['seat_plan'] )) {
|
||||||
|
?>
|
||||||
|
<div class="mp_tab_item" data-tab-item="#<?php echo $this->get_meta_box_id(); ?>">
|
||||||
|
<?php
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class='wrap ppof-settings ppof-metabox'>
|
<div class='wrap ppof-settings ppof-metabox'>
|
||||||
|
@ -76,51 +99,60 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
|
|
||||||
<div class="nav-header">
|
<div class="nav-header">
|
||||||
<?php
|
<?php
|
||||||
do_action('nav_header_top');
|
do_action( 'nav_header_top' );
|
||||||
?>
|
?>
|
||||||
<div class="themeName"><?php echo $this->get_item_name(); ?></div>
|
<div class="themeName"><?php echo $this->get_item_name(); ?></div>
|
||||||
<div class="themeVersion"><?php echo sprintf(__('Version: %s', 'wp-theme-settings'), $this->get_item_version()); ?></div>
|
<div class="themeVersion"><?php echo sprintf( __( 'Version: %s', 'wp-theme-settings' ), $this->get_item_version() ); ?></div>
|
||||||
<?php
|
<?php
|
||||||
do_action('nav_header_bottom');
|
do_action( 'nav_header_bottom' );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-items">
|
<div class="nav-items">
|
||||||
<?php
|
<?php
|
||||||
do_action('nav_nav_items_top');
|
do_action( 'nav_nav_items_top' );
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
$current_page = 1;
|
$current_page = 1;
|
||||||
foreach( $this->get_panels() as $page_id => $page ):
|
foreach ( $this->get_panels() as $page_id => $page ):
|
||||||
|
|
||||||
|
|
||||||
$page_settings = !empty($page['sections']) ? $page['sections'] : array();
|
$page_settings = ! empty( $page['sections'] ) ? $page['sections'] : array();
|
||||||
|
|
||||||
|
|
||||||
$page_settings_count = count($page_settings);
|
$page_settings_count = count( $page_settings );
|
||||||
//var_dump($page_settings);
|
//var_dump($page_settings);
|
||||||
?>
|
?>
|
||||||
<li class="nav-item-wrap <?php if(($page_settings_count > 1)) echo 'has-child'; ?> <?php if($current_page==$page_id) echo 'active'; ?>">
|
<li class="nav-item-wrap <?php if ( ( $page_settings_count > 1 ) ) {
|
||||||
<a dataid="<?php echo $page_id; ?>" href='#<?php //echo $pagenow.'?'.$section_id; ?><?php echo
|
echo 'has-child';
|
||||||
|
} ?> <?php if ( $current_page == $page_id ) {
|
||||||
|
echo 'active';
|
||||||
|
} ?>">
|
||||||
|
<a dataid="<?php echo $page_id; ?>" href='#<?php //echo $pagenow.'?'.$section_id;
|
||||||
|
?><?php echo
|
||||||
$page_id; ?>' class='nav-item'><?php echo $page['page_nav']; ?>
|
$page_id; ?>' class='nav-item'><?php echo $page['page_nav']; ?>
|
||||||
|
|
||||||
<?php if(($page_settings_count > 1)) echo '<i class="child-nav-icon fas fa-angle-down"></i>'; ?>
|
<?php if ( ( $page_settings_count > 1 ) ) {
|
||||||
|
echo '<i class="child-nav-icon fas fa-angle-down"></i>';
|
||||||
|
} ?>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
if(($page_settings_count > 1)):
|
if ( ( $page_settings_count > 1 ) ):
|
||||||
?>
|
?>
|
||||||
<ul class="child-navs">
|
<ul class="child-navs">
|
||||||
<?php
|
<?php
|
||||||
foreach ($page_settings as $section_id=>$nav_sections):
|
foreach ( $page_settings as $section_id => $nav_sections ):
|
||||||
$nav_sections_title = !empty($nav_sections['nav_title']) ? $nav_sections['nav_title'] : $nav_sections['title'];
|
$nav_sections_title = ! empty( $nav_sections['nav_title'] ) ? $nav_sections['nav_title'] : $nav_sections['title'];
|
||||||
|
|
||||||
//var_dump($nav_sections_title);
|
//var_dump($nav_sections_title);
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<a sectionId="<?php echo $section_id; ?>" dataid="<?php echo $page_id; ?>" href='#<?php echo $section_id; ?>' class='nav-item <?php if($current_page==$page_id) echo 'active'; ?>'><?php echo $nav_sections_title; ?>
|
<a sectionId="<?php echo $section_id; ?>" dataid="<?php echo $page_id; ?>" href='#<?php echo $section_id; ?>' class='nav-item <?php if ( $current_page == $page_id ) {
|
||||||
|
echo 'active';
|
||||||
|
} ?>'><?php echo $nav_sections_title; ?>
|
||||||
|
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
@ -137,30 +169,26 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
$current_page ++;
|
||||||
$current_page++;
|
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
do_action('nav_nav_items_bottom');
|
do_action( 'nav_nav_items_bottom' );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="nav-footer">
|
<div class="nav-footer">
|
||||||
<?php
|
<?php
|
||||||
do_action('nav_footer_top');
|
do_action( 'nav_footer_top' );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
do_action('nav_footer_bottom');
|
do_action( 'nav_footer_bottom' );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -168,16 +196,13 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if($get_nav_position == 'right'){
|
if ( $get_nav_position == 'right' ) {
|
||||||
$form_wrapper_position = 'left';
|
$form_wrapper_position = 'left';
|
||||||
}
|
} elseif ( $get_nav_position == 'left' ) {
|
||||||
elseif($get_nav_position == 'left'){
|
|
||||||
$form_wrapper_position = 'right';
|
$form_wrapper_position = 'right';
|
||||||
}
|
} elseif ( $get_nav_position == 'top' ) {
|
||||||
elseif($get_nav_position == 'top'){
|
|
||||||
$form_wrapper_position = 'full-width-top';
|
$form_wrapper_position = 'full-width-top';
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
$form_wrapper_position = 'full-width';
|
$form_wrapper_position = 'full-width';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -189,15 +214,16 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
|
|
||||||
$current_page = 1;
|
$current_page = 1;
|
||||||
|
|
||||||
foreach ($this->get_panels() as $panelsIndex=>$panel):
|
foreach ( $this->get_panels() as $panelsIndex => $panel ):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="tab-content <?php if($current_page==1) echo 'active'; ?> tab-content-<?php
|
<div class="tab-content <?php if ( $current_page == 1 ) {
|
||||||
|
echo 'active';
|
||||||
|
} ?> tab-content-<?php
|
||||||
echo $panelsIndex; ?>">
|
echo $panelsIndex; ?>">
|
||||||
<?php
|
<?php
|
||||||
foreach ($panel['sections'] as $sectionIndex=>$section):
|
foreach ( $panel['sections'] as $sectionIndex => $section ):
|
||||||
?>
|
?>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<h1 id="<?php echo $sectionIndex; ?>" class="section-title"><?php echo $section['title']; ?></h1>
|
<h1 id="<?php echo $sectionIndex; ?>" class="section-title"><?php echo $section['title']; ?></h1>
|
||||||
|
@ -207,17 +233,17 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach ($section['options'] as $option):
|
foreach ( $section['options'] as $option ):
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php echo $option['title']; ?></th>
|
<th scope="row"><?php echo $option['title']; ?></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$option_value = get_post_meta($this->get_post_id(), $option['id'], true);
|
$option_value = get_post_meta( $this->get_post_id(), $option['id'], true );
|
||||||
|
|
||||||
if(is_serialized($option_value)){
|
if ( is_serialized( $option_value ) ) {
|
||||||
$option_value = unserialize($option_value);
|
$option_value = unserialize( $option_value );
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -225,10 +251,7 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
$option['value'] = $option_value;
|
$option['value'] = $option_value;
|
||||||
|
|
||||||
|
|
||||||
|
$this->field_generator( $option )
|
||||||
|
|
||||||
|
|
||||||
$this->field_generator($option)
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
@ -253,7 +276,7 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$current_page++;
|
$current_page ++;
|
||||||
endforeach;
|
endforeach;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -262,11 +285,13 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
if ( $this->get_meta_box_screen()[0] == 'mep_events' && $this->get_meta_box_context() == 'normal' && !isset( $this->data['seat_plan'] )) {
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function field_generator( $option ) {
|
public function field_generator( $option ) {
|
||||||
|
@ -277,23 +302,25 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
|
|
||||||
$post_id = $this->get_post_id();
|
$post_id = $this->get_post_id();
|
||||||
|
|
||||||
if( empty( $id ) ) return;
|
if ( empty( $id ) ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$prent_option_name = $this->get_option_name();
|
$prent_option_name = $this->get_option_name();
|
||||||
$FormFieldsGenerator = new FormFieldsGenerator();
|
$FormFieldsGenerator = new FormFieldsGenerator();
|
||||||
|
|
||||||
if(!empty($prent_option_name)):
|
if ( ! empty( $prent_option_name ) ):
|
||||||
$field_name = $prent_option_name.'['.$id.']';
|
$field_name = $prent_option_name . '[' . $id . ']';
|
||||||
$option['field_name'] = $field_name;
|
$option['field_name'] = $field_name;
|
||||||
|
|
||||||
$prent_option_value = get_post_meta($post_id, $prent_option_name, true );
|
$prent_option_value = get_post_meta( $post_id, $prent_option_name, true );
|
||||||
|
|
||||||
$prent_option_value = is_serialized($prent_option_value) ? unserialize($prent_option_value): array();
|
$prent_option_value = is_serialized( $prent_option_value ) ? unserialize( $prent_option_value ) : array();
|
||||||
$option['value'] = isset($prent_option_value[$id]) ? $prent_option_value[$id] : '';
|
$option['value'] = isset( $prent_option_value[ $id ] ) ? $prent_option_value[ $id ] : '';
|
||||||
else:
|
else:
|
||||||
$option['field_name'] = $id;
|
$option['field_name'] = $id;
|
||||||
$option_value = get_post_meta($post_id, $id, true );
|
$option_value = get_post_meta( $post_id, $id, true );
|
||||||
$option['value'] = is_serialized($option_value) ? unserialize($option_value): $option_value;
|
$option['value'] = is_serialized( $option_value ) ? unserialize( $option_value ) : $option_value;
|
||||||
|
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
|
@ -305,223 +332,192 @@ if( ! class_exists( 'AddMetaBox' ) ) {
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
if( isset($option['type']) && $option['type'] === 'text' ){
|
if ( isset( $option['type'] ) && $option['type'] === 'text' ) {
|
||||||
echo $FormFieldsGenerator->field_text($option);
|
echo $FormFieldsGenerator->field_text( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'text_multi' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'text_multi' ){
|
echo $FormFieldsGenerator->field_text_multi( $option );
|
||||||
echo $FormFieldsGenerator->field_text_multi($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'textarea' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_textarea( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'textarea' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'checkbox' ) {
|
||||||
echo $FormFieldsGenerator->field_textarea($option);
|
echo $FormFieldsGenerator->field_checkbox( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'checkbox_multi' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'checkbox' ){
|
echo $FormFieldsGenerator->field_checkbox_multi( $option );
|
||||||
echo $FormFieldsGenerator->field_checkbox($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'radio' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_radio( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'checkbox_multi' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'select' ) {
|
||||||
echo $FormFieldsGenerator->field_checkbox_multi($option);
|
echo $FormFieldsGenerator->field_select( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'range' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'radio' ){
|
echo $FormFieldsGenerator->field_range( $option );
|
||||||
echo $FormFieldsGenerator->field_radio($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'range_input' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_range_input( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'select' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'switch' ) {
|
||||||
echo $FormFieldsGenerator->field_select($option);
|
echo $FormFieldsGenerator->field_switch( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'switch_multi' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'range' ){
|
echo $FormFieldsGenerator->field_switch_multi( $option );
|
||||||
echo $FormFieldsGenerator->field_range($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'switch_img' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_switch_img( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'range_input' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'time_format' ) {
|
||||||
echo $FormFieldsGenerator->field_range_input($option);
|
echo $FormFieldsGenerator->field_time_format( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'date_format' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'switch' ){
|
echo $FormFieldsGenerator->field_date_format( $option );
|
||||||
echo $FormFieldsGenerator->field_switch($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'datepicker' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_datepicker( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'switch_multi' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'color_sets' ) {
|
||||||
echo $FormFieldsGenerator->field_switch_multi($option);
|
echo $FormFieldsGenerator->field_color_sets( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'colorpicker' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'switch_img' ){
|
echo $FormFieldsGenerator->field_colorpicker( $option );
|
||||||
echo $FormFieldsGenerator->field_switch_img($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'colorpicker_multi' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_colorpicker_multi( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'time_format' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'link_color' ) {
|
||||||
echo $FormFieldsGenerator->field_time_format($option);
|
echo $FormFieldsGenerator->field_link_color( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'icon' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'date_format' ){
|
echo $FormFieldsGenerator->field_icon( $option );
|
||||||
echo $FormFieldsGenerator->field_date_format($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'icon_multi' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_icon_multi( $option );
|
||||||
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'dimensions' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'datepicker' ){
|
echo $FormFieldsGenerator->field_dimensions( $option );
|
||||||
echo $FormFieldsGenerator->field_datepicker($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'wp_editor' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_wp_editor( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'color_sets' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'select2' ) {
|
||||||
echo $FormFieldsGenerator->field_color_sets($option);
|
echo $FormFieldsGenerator->field_select2( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'faq' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'colorpicker' ){
|
echo $FormFieldsGenerator->field_faq( $option );
|
||||||
echo $FormFieldsGenerator->field_colorpicker($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'grid' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_grid( $option );
|
||||||
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'color_palette' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'colorpicker_multi' ){
|
echo $FormFieldsGenerator->field_color_palette( $option );
|
||||||
echo $FormFieldsGenerator->field_colorpicker_multi($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'color_palette_multi' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_color_palette_multi( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'link_color' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'media' ) {
|
||||||
echo $FormFieldsGenerator->field_link_color($option);
|
echo $FormFieldsGenerator->field_media( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'media_multi' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'icon' ){
|
echo $FormFieldsGenerator->field_media_multi( $option );
|
||||||
echo $FormFieldsGenerator->field_icon($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'repeatable' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_repeatable( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'icon_multi' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'user' ) {
|
||||||
echo $FormFieldsGenerator->field_icon_multi($option);
|
echo $FormFieldsGenerator->field_user( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'margin' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'dimensions' ){
|
echo $FormFieldsGenerator->field_margin( $option );
|
||||||
echo $FormFieldsGenerator->field_dimensions($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'padding' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_padding( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'wp_editor' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'border' ) {
|
||||||
echo $FormFieldsGenerator->field_wp_editor($option);
|
echo $FormFieldsGenerator->field_border( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'switcher' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'select2' ){
|
echo $FormFieldsGenerator->field_switcher( $option );
|
||||||
echo $FormFieldsGenerator->field_select2($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'password' ) {
|
||||||
}
|
echo $FormFieldsGenerator->field_password( $option );
|
||||||
elseif( isset($option['type']) && $option['type'] === 'faq' ){
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'post_objects' ) {
|
||||||
echo $FormFieldsGenerator->field_faq($option);
|
echo $FormFieldsGenerator->field_post_objects( $option );
|
||||||
}
|
} elseif ( isset( $option['type'] ) && $option['type'] === 'google_map' ) {
|
||||||
elseif( isset($option['type']) && $option['type'] === 'grid' ){
|
echo $FormFieldsGenerator->field_google_map( $option );
|
||||||
echo $FormFieldsGenerator->field_grid($option);
|
} elseif ( isset( $option['type'] ) && $option['type'] === $type ) {
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'color_palette' ){
|
|
||||||
echo $FormFieldsGenerator->field_color_palette($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'color_palette_multi' ){
|
|
||||||
echo $FormFieldsGenerator->field_color_palette_multi($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'media' ){
|
|
||||||
echo $FormFieldsGenerator->field_media($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'media_multi' ){
|
|
||||||
echo $FormFieldsGenerator->field_media_multi($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'repeatable' ){
|
|
||||||
echo $FormFieldsGenerator->field_repeatable($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'user' ){
|
|
||||||
echo $FormFieldsGenerator->field_user($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'margin' ){
|
|
||||||
echo $FormFieldsGenerator->field_margin($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'padding' ){
|
|
||||||
echo $FormFieldsGenerator->field_padding($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'border' ){
|
|
||||||
echo $FormFieldsGenerator->field_border($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'switcher' ){
|
|
||||||
echo $FormFieldsGenerator->field_switcher($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'password' ){
|
|
||||||
echo $FormFieldsGenerator->field_password($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'post_objects' ){
|
|
||||||
echo $FormFieldsGenerator->field_post_objects($option);
|
|
||||||
}
|
|
||||||
elseif( isset($option['type']) && $option['type'] === 'google_map' ){
|
|
||||||
echo $FormFieldsGenerator->field_google_map($option);
|
|
||||||
}
|
|
||||||
|
|
||||||
elseif( isset($option['type']) && $option['type'] === $type ){
|
|
||||||
do_action( "wp_theme_settings_field_$type", $option );
|
do_action( "wp_theme_settings_field_$type", $option );
|
||||||
}
|
}
|
||||||
if( !empty( $details ) ) echo "<p class='description'>$details</p>";
|
if ( ! empty( $details ) ) {
|
||||||
|
echo "<p class='description'>$details</p>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private function get_meta_box_id() {
|
||||||
private function get_meta_box_id(){
|
if ( isset( $this->data['meta_box_id'] ) ) {
|
||||||
if( isset( $this->data['meta_box_id'] ) ) return $this->data['meta_box_id'];
|
return $this->data['meta_box_id'];
|
||||||
else return "";
|
} else {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_meta_box_title(){
|
private function get_meta_box_title() {
|
||||||
if( isset( $this->data['meta_box_title'] ) ) return $this->data['meta_box_title'];
|
if ( isset( $this->data['meta_box_title'] ) ) {
|
||||||
else return "";
|
return $this->data['meta_box_title'];
|
||||||
|
} else {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_meta_box_screen(){
|
private function get_meta_box_screen() {
|
||||||
if( isset( $this->data['screen'] ) ) return $this->data['screen'];
|
if ( isset( $this->data['screen'] ) ) {
|
||||||
else return array('post');
|
return $this->data['screen'];
|
||||||
|
} else {
|
||||||
|
return array( 'post' );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_meta_box_context(){
|
private function get_meta_box_context() {
|
||||||
if( isset( $this->data['context'] ) ) return $this->data['context'];
|
if ( isset( $this->data['context'] ) ) {
|
||||||
else return 'normal';
|
return $this->data['context'];
|
||||||
|
} else {
|
||||||
|
return 'normal';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_meta_box_priority(){
|
private function get_meta_box_priority() {
|
||||||
if( isset( $this->data['priority'] ) ) return $this->data['priority'];
|
if ( isset( $this->data['priority'] ) ) {
|
||||||
else return "high";
|
return $this->data['priority'];
|
||||||
|
} else {
|
||||||
|
return "high";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_callback_args(){
|
private function get_callback_args() {
|
||||||
if( isset( $this->data['callback_args'] ) ) return $this->data['callback_args'];
|
if ( isset( $this->data['callback_args'] ) ) {
|
||||||
else return array();
|
return $this->data['callback_args'];
|
||||||
|
} else {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_panels(){
|
private function get_panels() {
|
||||||
if( isset( $this->data['panels'] ) ) return $this->data['panels'];
|
if ( isset( $this->data['panels'] ) ) {
|
||||||
else return array();
|
return $this->data['panels'];
|
||||||
|
} else {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function get_item_name() {
|
||||||
private function get_item_name(){
|
if ( isset( $this->data['item_name'] ) ) {
|
||||||
if( isset( $this->data['item_name'] ) ) return $this->data['item_name'];
|
return $this->data['item_name'];
|
||||||
else return "PickPlugins";
|
} else {
|
||||||
|
return "PickPlugins";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_item_version(){
|
private function get_item_version() {
|
||||||
if( isset( $this->data['item_version'] ) ) return $this->data['item_version'];
|
if ( isset( $this->data['item_version'] ) ) {
|
||||||
else return "1.0.0";
|
return $this->data['item_version'];
|
||||||
|
} else {
|
||||||
|
return "1.0.0";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_option_name(){
|
private function get_option_name() {
|
||||||
if( isset( $this->data['option_name'] )) return $this->data['option_name'];
|
if ( isset( $this->data['option_name'] ) ) {
|
||||||
else return false;
|
return $this->data['option_name'];
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_nav_position(){
|
private function get_nav_position() {
|
||||||
if( isset( $this->data['nav_position'] )) return $this->data['nav_position'];
|
if ( isset( $this->data['nav_position'] ) ) {
|
||||||
else return 'left';
|
return $this->data['nav_position'];
|
||||||
|
} else {
|
||||||
|
return 'left';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function get_post_id() {
|
||||||
private function get_post_id(){
|
|
||||||
|
|
||||||
$post_id = get_the_ID();
|
$post_id = get_the_ID();
|
||||||
|
|
||||||
return $post_id;
|
return $post_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue