Close issue #16
This commit is contained in:
parent
460c5892bc
commit
7c99deb303
|
@ -26,7 +26,7 @@ if ( akina_option('theme_skin') ) { ?>
|
|||
background-color: <?php echo akina_option('theme_skin'); ?>
|
||||
}
|
||||
|
||||
.scrollbar {
|
||||
.scrollbar,.butterBar-message {
|
||||
background: <?php echo akina_option('theme_skin'); ?>
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ function poi_time_since( $older_date, $comment_date = false, $text = false ) {
|
|||
array( 1, __( ' 秒前', 'akina' ) )
|
||||
);
|
||||
|
||||
$newer_date = time() - (8*60*60);
|
||||
$newer_date = time() - (akina_option('time_zone_fix')*60*60);
|
||||
$since = abs( $newer_date - $older_date );
|
||||
if($text){
|
||||
$output = '';
|
||||
|
|
|
@ -851,6 +851,13 @@ function optionsframework_options() {
|
|||
'id' => 'logo_img',
|
||||
'std' => $imagepath.'mashiro-logo-s.png',
|
||||
'type' => 'upload');
|
||||
|
||||
$options[] = array(
|
||||
'name' => __('时区调整', 'options_framework_theme'),
|
||||
'desc' => __('如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的时间-你输入的整数(单位:小时)', 'options_framework_theme'),
|
||||
'id' => 'time_zone_fix',
|
||||
'std' => '0',
|
||||
'type' => 'text');
|
||||
|
||||
return $options;
|
||||
}
|
Loading…
Reference in New Issue