From bc59ffa8f1b284666ef2847bee096669803fe24a Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 24 Dec 2012 01:30:08 +0000 Subject: [PATCH] * fix style for action. --- bin/syncext.php | 2 +- module/common/view/action.html.php | 4 ++-- www/theme/default/style.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/syncext.php b/bin/syncext.php index 8f41494aff..cad41b07ce 100644 --- a/bin/syncext.php +++ b/bin/syncext.php @@ -43,7 +43,7 @@ function getFiles($dir, $exceptions = array()) foreach($entries as $entry) { - if($entry == '.' or $entry == '..' or $entry == '.svn') continue; + if($entry == '.' or $entry == '..' or $entry == '.svn' or $entry == 'db') continue; if(in_array($entry, $exceptions)) continue; $fullEntry = $dir . $entry; diff --git a/module/common/view/action.html.php b/module/common/view/action.html.php index 93d1664736..df9a7c29e5 100644 --- a/module/common/view/action.html.php +++ b/module/common/view/action.html.php @@ -75,7 +75,7 @@ function toggleOrder(obj) } $(function(){ - var diffButton = ""; + var diffButton = ""; var newBoxID = '' var oldBoxID = '' $('blockquote').each(function(){ @@ -121,7 +121,7 @@ $(function(){ ?> action->printAction($action);?> - history)) echo html::commonButton('', "id=switchButton$i class='hand change-show' onclick=switchChange($i)");?> + history)) echo html::commonButton(' ', "id=switchButton$i class='hand change-show' onclick=switchChange($i)");?> comment) or !empty($action->history)):?> comment)) echo "
";?> diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 5f206a958a..6b295d61d6 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -539,5 +539,5 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table .log-desc {padding:2px 6px; background:url(images/main/zt-icons.png) -22px 25px;} .change-hide {padding:2px 8px; background:url(images/main/zt-icons.png) -42px 25px; border:0px;} .change-show {padding:2px 8px; background:url(images/main/zt-icons.png) -62px 25px; border:0px;} -.diff-all {padding:2px 9px; background:url(images/main/zt-icons.png) -80px 25px; border:0px} -.diff-short {padding:2px 9px; background:url(images/main/zt-icons.png) -100px 25px; border:0px} +.diff-all {padding:2px 9px; background:url(images/main/zt-icons.png) -78px 25px; border:0px} +.diff-short {padding:2px 9px; background:url(images/main/zt-icons.png) -98px 25px; border:0px}