This topic has 4 replies, 3 voices, and was last updated 10 years, 3 months ago by Anonymous.
Viewing 5 posts - 1 through 5 (of 5 total)
If you can provide us WP Logins to your website with URL then we can take a closer look at it and will fix the issue. Make sure you set the post as private reply so that only admin can see your wp-logins.
Follow the path: framework/admin/admin-interface.php file and replace below code line 714 to 763:
case 'closehours':
$interval = get_option('iva_timeinterval') ? get_option('iva_timeinterval'):'15';
$iva_time_interval = '+'.$interval.'minutes';
$optionid = get_option( $value['id'] );
$iva_weekdays = array(
'sunday',
'monday',
'tuesday',
'wednesday',
'thursday',
'friday',
'saturday'
);
foreach( $iva_weekdays as $key => $day ){
$iva_hrs = get_option( 'iva_'.$day );
$iva_stored_val = $optionid[$key];
$open_hrs = strtotime( $iva_hrs['opening'] );
$close_hrs = strtotime( $iva_hrs['closing']);
$closed_hrs = $iva_hrs['close'];
if( $closed_hrs == 'off' ){
$output .= '<h3>'. ucfirst ( $day ) .'</h3>';
$output .= '<div class="hours">';
$output .= '<select class=" of-input " multiple="multiple" name="'. $value['id'].'_'.$key.'_closed[]" id="'. $value['id'].'_'.$key.'_closed[]">';
while( $open_hrs < $close_hrs ){
$iva_time_hrs = date( 'H:i',$open_hrs );
$selected = '';
if ( get_option( $value['id'] ) ) {
if( @in_array( $iva_time_hrs , $iva_stored_val ) ) $selected = "selected=\"selected\"";
} else {
}
$output .= '<option value="'.$iva_time_hrs.'" '.$selected.'>'.$iva_time_hrs.'</option>';
$open_hrs = strtotime( $iva_time_interval, $open_hrs );
}
$output .= '</select></div>';
}
}
break;
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.