From 04b589420eda4e31c6a05d5255b3d863a0428962 Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 18:44:18 +0200 Subject: [PATCH 1/4] search field selected --- themes/baggy/_search-form.twig | 2 +- themes/default/js/popupForm.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index b8ac3bf..073291f 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig @@ -1,7 +1,7 @@
- : + :
\ No newline at end of file diff --git a/themes/default/js/popupForm.js b/themes/default/js/popupForm.js index 06be3f0..a32e6e7 100644 --- a/themes/default/js/popupForm.js +++ b/themes/default/js/popupForm.js @@ -10,6 +10,7 @@ $(document).ready(function() { $("#search").click(function(){ closeSearch(); + $('#searchfield').focus(); }); $("#search-form-close").click(function(){ From 1cd02d55fbf93a08e8bcd7f7a0fab2cdc9ff851d Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 18:51:43 +0200 Subject: [PATCH 2/4] autofocus on all themes --- themes/baggy/_search-form.twig | 2 +- themes/default/_search-form.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index 073291f..7b2c708 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig @@ -1,7 +1,7 @@
- : + :
\ No newline at end of file diff --git a/themes/default/_search-form.twig b/themes/default/_search-form.twig index 33bea20..0cf6097 100755 --- a/themes/default/_search-form.twig +++ b/themes/default/_search-form.twig @@ -2,7 +2,7 @@

- : + :

From ab494e4edede7ee2fc77800ddf55fc366c3397d7 Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 19:01:43 +0200 Subject: [PATCH 3/4] translate search messages --- locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo | Bin 12917 -> 12987 bytes locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po | 7 +++++-- locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo | Bin 16505 -> 16505 bytes locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo b/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo index 1f729b60dcb1f67c1a00d55ceb85fbbb6b9ef378..a3c984970b4279f17783368de837c0ad58d38a03 100644 GIT binary patch delta 3913 zcmajid2m(L0mtzZ2_yy*Ac3;O%K}K)WDy~Ns3{^UWfM?vOE7?h0zN^|fDgrhRYVB{ z*@_~Y7+Pe~z1U90>7YYh2HF`5rrOcgWk$t;wp51k`+fJ~zn<~;KIh)|?zv~XH+b&e z-&duY@-yoLQ zVLl!~n|vF~@e~dZAr*RXReMg{hTJnKKVm0*6Ifrwqv({KMmu;G-BcIQhFf%wmMRx*Cm*|EA9Uu%q1VsEVoYKJH=}zk^=m5qsGLMc zlF=m^K?k&f67>AlXaf^4f%jt{tV3^n1ntlXwBf&_d+5LD%v^|%oAafQZw_)k71~p= zf$r!CuR^DIH2PGGkB?`e7tTe0myExE7`?$d^oI55Om4%z_yS&m$I++c9QMM_Oj8G+ z|Ldqs;l%AoC&NMH-4Tu!T{tIXMa98Jdk2YTsdZS_J$VZ_aFGqhj5f98S8NySaL6MN$u$Ti^%x|!M}q8aLjBQv-d9qD3rl&|Ea=m@u z4amL>lhGNeMz2dEV+oIXng05)8MdFWO)u+L1paO@=0PAkElu&S)zfk3~2R7o?~-!e5{xKZ=gveROHQMmN(% z%)~r4h$AXMuj_)%uoV4%0Jgv(=pHD;Iar0Za~yqhp2p^w`ihD@{tphoJcj2k9gXR| zfsUXOZMYg8X)-=vi)9?IM;m?vZ^id5SJcBlp~$JJ=VPoqn*32kR9`u=zYow>Kr>p#R|?jO!m zNnp4B(Pp~_ITdE1BY6T_;ZC%HhWPv+kOw84#035inbpvVb@ayNXoqH^o45k)*dyr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2-NptP^IpJewb;`k3-#PDrzC~P@8U%?N?!#e*fEOXmcGwmFNpp zX&O9V;4#EHCF_WqU>|IWgHQvfp&r#})Hq{N?~U20%B@C~d<(K~O&z-M0!DCu^A`>N znb2O&N`_%;`V&wC1vL5N5AU+yOPQ6jWsf+5SlMr=N*# z{UL{j2FOFLa1pk`WvE}p8r!c%UAPDJy*m5%qo{G}Q8zq~s$?TlL~|8mFn|XhiG48| zC&yENm1YGe#^7eutGEgE25Xt%yo$q7CGCSjI2JvxP}GfzP%AG%O}rHKy$yH}x1%bY z#m>}bFTrH2>`nbO&>2p!zswcvhW?4pt2hz$D6&x%%0(|!TQ}0dCFUuzhXfE_j-Ep+ z&nK@tUC*OabGq&8zRfC@v z8AQg~b7Cl2Z~I%UqAjV`Z%{|N=hOL^3;XZuzeZbi)U(mCiM-`$Id#;-3?_X@r9H2o zh>kQeio8soBpb=2WF4s>J#_yCH1dcZrjBPF%siY#UbX$sxW=}{G%}csCmBS$P;Vn0 z<>Vz#%a}K;Vl~-CipdUQ*Y9lgXLN!ii9GFTIUh41ifkrR$XcS;;BHbtbUZ>1kcos1 zXNHsek6hbXh5kf4@lE1>n-3RRPU47;KnK&yItH7Q#kQ~iJ(k*b4L(L*AhYbb*_cCC z5WNgWl1!qbmTV&{Nu<`VEuTnck{F^R*1@y=m(U(TwvrU$O%@Ry&pUXk7(}~-JWjI7 zJ~EZ)2q$w$Dj7mH5FIaSi~G Date: Sat, 4 Oct 2014 19:08:56 +0200 Subject: [PATCH 4/4] small fix for better width for search translations full display --- themes/default/css/messages.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/themes/default/css/messages.css b/themes/default/css/messages.css index 46b5479..3ad4e34 100644 --- a/themes/default/css/messages.css +++ b/themes/default/css/messages.css @@ -8,6 +8,11 @@ border-radius: 4px; } +/* Search form message needs a little more width, depending on translations */ +#search-form { + width: 420px; +} + .messages a.closeMessage { display: none; float: right;