diff --git a/lib/front/front.class.php b/lib/front/front.class.php index fc9900f5ab..766a189270 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -230,7 +230,7 @@ class html { $string = << -function selectAll(self,scope,type) +function selectAll(checker, scope, type) { if(scope) { @@ -245,7 +245,7 @@ function selectAll(self,scope,type) { $('#' + scope + ' input').each(function() { - $(this).attr("checked", self.checked) + $(this).attr("checked", checker.checked) }); } } @@ -262,7 +262,7 @@ function selectAll(self,scope,type) { $('input').each(function() { - $(this).attr("checked", self.checked) + $(this).attr("checked", checker.checked) }); } } @@ -272,11 +272,11 @@ EOT; global $lang; if($type == 'checkbox') { - $string .= ""; + $string .= " "; } elseif($type == 'button') { - $string .= ""; + $string .= ""; } return $string; @@ -312,7 +312,7 @@ function selectReverse(scope) EOT; global $lang; - $string .= ""; + $string .= ""; return $string; } diff --git a/www/theme/default/style.css b/www/theme/default/style.css index f318b94bb0..6854a4406f 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -336,6 +336,9 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table /* Product, project switcher. */ #switcher {color:white; font-style:bold; background:red; cursor:pointer;} +/* Select all and select reverse. */ +#allchecker, #reversechecker {padding:3px 5px} + /* Other items. */ #actionbox .button-c {font-size:9px; height:20px; padding:0 5px 0 5px} .history, .changes {border:1px solid #ccc; background:#f2f2f2; padding:10px; margin-top:10px; margin-bottom:10px; color:#333; line-height:20px;}