* Allow to define sort order for search-results (garvinhicking)

This commit is contained in:
Garvin Hicking 2009-08-24 08:24:19 +00:00
parent 0c5e5ddd2b
commit c7dd0c77ab
62 changed files with 278 additions and 21 deletions

View File

@ -5,6 +5,8 @@ Version 1.5 ()
* Allow redirects when fetching remote images (garvinhicking)
* Allow to define sort order for search-results (garvinhicking)
-- beta1 release
* PHP 5.3.0 compatibility without E_WARNING triggers (garvinhicking)

View File

@ -750,6 +750,7 @@ function &serendipity_searchEntries($term, $limit = '', $searchresults = '') {
$term = serendipity_db_escape_string($term);
$cond = array();
$relevance_enabled = false;
if ($serendipity['dbType'] == 'postgres' ||
$serendipity['dbType'] == 'pdo-postgres') {
$cond['group'] = '';
@ -780,6 +781,7 @@ function &serendipity_searchEntries($term, $limit = '', $searchresults = '') {
$cond['group'] = 'GROUP BY e.id';
$cond['distinct'] = '';
$term = str_replace('"', '"', $term);
$relevance_enabled = true;
if (preg_match('@["\+\-\*~<>\(\)]+@', $term)) {
$cond['find_part'] = "MATCH(title,body,extended) AGAINST('$term' IN BOOLEAN MODE)";
} else {
@ -787,7 +789,21 @@ function &serendipity_searchEntries($term, $limit = '', $searchresults = '') {
}
}
$cond['orderby'] = "timestamp DESC";
switch($serendipity['searchsort']) {
case 'relevance':
if ($relevance_enabled) {
$cond['searchorderby'] = $cond['find_part'] . " DESC";
} else {
$cond['searchorderby'] = "timestamp DESC";
}
break;
case 'timestamp':
default:
$cond['searchorderby'] = "timestamp DESC";
break;
}
$cond['and'] = " AND isdraft = 'false' " . (!serendipity_db_bool($serendipity['showFutureEntries']) ? " AND timestamp <= " . serendipity_db_time() : '');
serendipity_plugin_api::hook_event('frontend_fetchentries', $cond, array('source' => 'search', 'term' => $term));
serendipity_ACL_SQL($cond, 'limited');
@ -824,7 +840,7 @@ function &serendipity_searchEntries($term, $limit = '', $searchresults = '') {
{$serendipity['fullCountQuery']}
{$cond['group']}
{$cond['having']}
ORDER BY {$cond['orderby']}
ORDER BY {$cond['searchorderby']}
$limit";
$search =& serendipity_db_query($querystring);

View File

@ -417,6 +417,13 @@
'default' => 15,
'permission' => 'blogConfiguration'),
array('var' => 'searchsort',
'title' => QUICKSEARCH_SORT,
'description' => '',
'type' => 'list',
'default' => array('timestamp' => DATE, 'relevance' => QUICKSEARCH_SORT_RELEVANCE),
'permission' => 'blogConfiguration'),
array('var' => 'enforce_RFC2616',
'title' => SYNDICATION_RFC2616,
'description' => SYNDICATION_RFC2616_DESC,

View File

@ -139,3 +139,7 @@ foreach($const['missing'] AS $file => $constants) {
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -944,3 +944,7 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_cn.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_cn.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by
@ -953,3 +953,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_da.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_da.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Tom Sommer, <ts@dreamcoder.dk>
@ -950,3 +950,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_de.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_de.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) Jannis Hermanns, Garvin Hicking and others
@ -953,3 +953,7 @@
@define('MEDIA_PROPERTY_ALT', 'Bildinhalt (Zusammenfassung für das ALT-Attribut)');
@define('MEDIA_TITLE', 'TITLE-Attribut (wird beim Überfahren mit der Maus angezeigt)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_en.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_en.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
/* vim: set sts=4 ts=4 expandtab : */
@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_es.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_es.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Luis Cervantes <LuisCervantes@ono.com>,
@ -969,3 +969,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_fa.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_fa.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# this translation, translated by Omid Mottaghi <http://oxygenws.com>
@ -953,3 +953,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_fi.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_fi.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Mauri Sahlberg <mos@iki.fi>
@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_fr.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_fr.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Sebastian Mordziol <argh@php-tools.net>
@ -958,3 +958,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -949,3 +949,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_is.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_is.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Örn Arnarson <orn@arnarson.net>
@ -952,3 +952,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_ja.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_ja.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) Tadashi Jokagi <elf2000@users.sourceforge.net>, 2004-2005.
@ -955,3 +955,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_ko.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_ko.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
@ -954,3 +954,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_nl.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_nl.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Christiaan Heerze <webmaster@heimp.nl>
@ -953,3 +953,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_no.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_no.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Jo Christian Oterhals <oterhals@gmail.com>
@ -954,3 +954,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -950,3 +950,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_pt.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_pt.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Agner Olson <agner@agner.net>
@ -956,3 +956,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -963,3 +963,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -952,3 +952,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_ru.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_ru.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Nightly <nightly@reys.net>
@ -955,3 +955,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -870,3 +870,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_tn.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_tn.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by CapriSkye <admin@capriskye.com>
@ -955,3 +955,7 @@ $i18n_unknown = 'tw';
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_tw.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_tw.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by CapriSkye <admin@capriskye.com>
@ -956,3 +956,7 @@ $i18n_unknown = 'tw';
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_zh.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
<?php # $Id: serendipity_lang_zh.inc.php 2548 2009-07-14 09:40:11Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by
@ -952,3 +952,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -1,2 +1,2 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -139,3 +139,7 @@ foreach($const['missing'] AS $file => $constants) {
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -944,3 +944,7 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -953,3 +953,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -950,3 +950,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -953,3 +953,7 @@
@define('MEDIA_PROPERTY_ALT', 'Bildinhalt (Zusammenfassung für das ALT-Attribut)');
@define('MEDIA_TITLE', 'TITLE-Attribut (wird beim Überfahren mit der Maus angezeigt)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -969,3 +969,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -953,3 +953,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -958,3 +958,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -949,3 +949,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -952,3 +952,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -954,3 +954,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -953,3 +953,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -954,3 +954,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -950,3 +950,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -956,3 +956,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -963,3 +963,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -952,3 +952,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -870,3 +870,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -951,3 +951,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@ $i18n_unknown = 'tw';
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -955,3 +955,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -956,3 +956,7 @@ $i18n_unknown = 'tw';
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');

View File

@ -952,3 +952,7 @@
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');
@define('QUICKSEARCH_SORT', 'How should search-results be sorted?');
@define('QUICKSEARCH_SORT_RELEVANCE', 'Relevance');