Re: svn: /web/php/trunk/ include/header.inc js/common.js js/jquery.autocomplete.js js/jquery.autocomplete.pack.js styles/structure.css
styles/theme.css
| From: | Hannes Magnusson | Date: | Tue, 28 Dec 2010 09:04:52 +0000 |
| Subject: | Re: svn: /web/php/trunk/ include/header.inc js/common.js js/jquery.autocomplete.js js/jquery.autocomplete.pack.js styles/structure.css styles/theme.css |
||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-9900@lists.php.net to get a copy of this message | ||
On Tue, Dec 28, 2010 at 09:46, Stewart Lord <stewartlord@php.net> wrote:
> stewartlord Tue, 28 Dec 2010 08:46:56 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=306776
>
> Log:
> Fixed the scoring of results in search auto-complete. This required an upgrade
> to jQuery 1.4.4 and the inclusion of jQuery UI 1.8.7 (both linked to Google's
> Ajax APIs CDN) as the auto-complete plugin has been rolled into the standard
> jQuery UI library.
>
> We now supply a source callback function to the auto-complete plugin (instead
> of a JS array). This callback mimics the quick-ref logic for ranking manual
> pages based on where the user's search term appears in the name of the doc
> entry. However, it lacks the similar_text() component since that function is
> not available in JS (doesn't seem like a significant loss).
>
> Tweaked auto-complete related CSS rules to accommodate different markup
> produced by the new version of the auto-complete plugin.
>
> Changed paths:
> U web/php/trunk/include/header.inc
> U web/php/trunk/js/common.js
Kudos
+ jQuery.getScript("js/search-index-" + getLanguage() + ".js", function(){
This needs to be /js though.
And now the question is; how to generate that file?
-Hannes