diff options
author | Yorhel <git@yorhel.nl> | 2010-11-21 16:43:22 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-11-21 16:43:22 +0100 |
commit | 8395dc9db24ebd4814e7dd5cade08ce1e41b559b (patch) | |
tree | 74aba6c6fdbdb0cfac4cb86d78e2117cf24385c1 | |
parent | 85f27dc797243c6d6e478a29f3eb5f20c369acb6 (diff) |
Re-added the 'boolean or' message to the filters
Doesn't look very nice; but serves its purpose.
-rw-r--r-- | data/lang.txt | 5 | ||||
-rw-r--r-- | data/script.js | 8 | ||||
-rw-r--r-- | data/style.css | 1 |
3 files changed, 9 insertions, 5 deletions
diff --git a/data/lang.txt b/data/lang.txt index 20c4179f..556b5f82 100644 --- a/data/lang.txt +++ b/data/lang.txt @@ -3821,13 +3821,12 @@ cs : Rozlišení obrazovky hu : Felbontás nl : Schermresolutie -# currently unused - TODO :_rbrowse_boolor -en : boolean or, selecting more gives more results +en : Boolean or, selecting more gives more results ru : логическое 'или', чем больше выбрано, тем больше даёт результатов cs : boolean nebo, výběr více dá více výsledků hu : Boole féle értékhalmaz(igaz/hamis), ha többet jelölsz be, több eredményt ad ki -nl : booleaanse 'of', meerdere selecties geven meer resultaten +nl : Booleaanse 'of', meerdere selecties geven meer resultaten :_rbrowse_platform en : Platform diff --git a/data/script.js b/data/script.js index 76bb55b9..d73a748f 100644 --- a/data/script.js +++ b/data/script.js @@ -1815,9 +1815,13 @@ function filLoad() { a.fil_t = t; for(var j=1; j<l[i].length; j++) { var fd = l[i][j]; + var lab = typeof fd[1] == 'object' ? fd[1][0] : fd[1]; var f = tag('tr', {'class':'newfield', fil_code: fd[0], fil_contents: fd[2], fil_readfunc: fd[3], fil_writefunc: fd[4]}, tag('td', {'class':'check'}, tag('input', {type:'checkbox', id:'fil_check_'+fd[0], name:'fil_check_'+fd[0], onclick: filSelectField })), - fd[1] ? tag('td', {'class':'label'}, tag('label', {'for':'fil_check_'+fd[0]}, fd[1])) : '', + fd[1] ? tag('td', {'class':'label'}, + tag('label', {'for':'fil_check_'+fd[0]}, lab), + typeof fd[1] == 'object' ? tag('b', fd[1][1]) : null + ) : null, tag('td', {'class':'cont' }, fd[2])); fil_cats[0][fd[0]] = f; t.appendChild(f); @@ -1966,7 +1970,7 @@ function filFSelect(c, n, lines, opts) { s.appendChild(g); } } - return [ c, n, s, + return [ c, lines > 1 ? [ n, mt('_rbrowse_boolor') ] : n, s, function (c) { var l = []; for(var i=0; i<c.options.length; i++) diff --git a/data/style.css b/data/style.css index 5f619677..fcaf7607 100644 --- a/data/style.css +++ b/data/style.css @@ -1161,6 +1161,7 @@ div#fil_div { #fil_div h3 { width: 100%; text-align: center; font-size: 11px } #fil_div table { width: 93%; text-align: left; margin: 0 auto 5px auto } #fil_div table td.label label { width: 120px } +#fil_div table td.label b { display: block; font-weight: normal; padding: 10px 5px 0 0 } #fil_div table td.check { width: 15px } #fil_div label.active { font-weight: bold } #filselect i { font-style: normal } |