mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 14:58:14 +08:00
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'); ?>
|
background-color: <?php echo akina_option('theme_skin'); ?>
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollbar {
|
.scrollbar,.butterBar-message {
|
||||||
background: <?php echo akina_option('theme_skin'); ?>
|
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' ) )
|
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 );
|
$since = abs( $newer_date - $older_date );
|
||||||
if($text){
|
if($text){
|
||||||
$output = '';
|
$output = '';
|
||||||
|
@ -852,5 +852,12 @@ function optionsframework_options() {
|
|||||||
'std' => $imagepath.'mashiro-logo-s.png',
|
'std' => $imagepath.'mashiro-logo-s.png',
|
||||||
'type' => 'upload');
|
'type' => 'upload');
|
||||||
|
|
||||||
|
$options[] = array(
|
||||||
|
'name' => __('时区调整', 'options_framework_theme'),
|
||||||
|
'desc' => __('如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的时间-你输入的整数(单位:小时)', 'options_framework_theme'),
|
||||||
|
'id' => 'time_zone_fix',
|
||||||
|
'std' => '0',
|
||||||
|
'type' => 'text');
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user