History log of /dokuwiki/inc/Ui/Search.php (Results 26 – 50 of 69)
Revision Date Author Comments
# 8225e1ab 20-Apr-2018 Michael Große <grosse@cosmocode.de>

fix(search): don't start result position with 2

Also, for consistency this initializes also $num with 0, while ensuring
that the first FT_SNIPPET_NUMBER results with a $cnt>0 have a snippet.


# f0861d1f 20-Apr-2018 Michael Große <grosse@cosmocode.de>

refactor(search): clearer data flow


# b12bcb77 19-Apr-2018 Anika Henke <anika@selfthinker.org>

Change spacing in search meta data to punctuation

Punctuation is more natural, makes sense with CSS switched off
and makes screenreaders add a little pause.


# 6d55fda7 17-Apr-2018 Michael Große <grosse@cosmocode.de>

Fix(search): restore valid heading hierarchy

In #2286 the 2nd level heading in the intro was removed, so the h3
should be promoted to h2.


# 78d786c9 17-Apr-2018 Michael Große <grosse@cosmocode.de>

fix(search): add position to fulltext results event


# 5d06a1e4 17-Apr-2018 Michael Große <grosse@cosmocode.de>

fix(search): ensure consistent html in search results

This implements some of the changes discussed in #2314:

1. last mod and number of hits are on the same line and always shown
2. There is a clas

fix(search): ensure consistent html in search results

This implements some of the changes discussed in #2314:

1. last mod and number of hits are on the same line and always shown
2. There is a class around the last mod string so it can be
hidden/replaced by an icon
3. All items in the resultBody returned by the event are wrapped in
`<dd>` tags to ensure validity. They get their array key as class
4. There is still a wrapper div around each result for styling purposes

show more ...


# 7c15eaa2 15-Apr-2018 Anika Henke <anika@selfthinker.org>

Fix invalid HTML in search results

Recent changes to the search results page added various divs
to the pre-existing description list, which is invalid.
This fixes that by a) removing a couple of unn

Fix invalid HTML in search results

Recent changes to the search results page added various divs
to the pre-existing description list, which is invalid.
This fixes that by a) removing a couple of unnecessary elements
and b) interpret the 'last modified' line as another 'dd'.

show more ...


# 5d87aa31 13-Apr-2018 Michael Große <grosse@cosmocode.de>

fix: bring back the namespace in brace for pagelookup results

This was unintentionally removed in
4eab6f7c40ab5e2fbbb5e0efb20d930d4b1730fe

It also should now be clearer what the code does.

This fi

fix: bring back the namespace in brace for pagelookup results

This was unintentionally removed in
4eab6f7c40ab5e2fbbb5e0efb20d930d4b1730fe

It also should now be clearer what the code does.

This fixes #2305

show more ...


# 422bbbc6 29-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor: rename dta and dtb parameters

They are now named min and max respectively, which is hopefully less
cryptic.


# ec27794f 28-Mar-2018 Michael Große <grosse@cosmocode.de>

doc(search): parameter must be string or false


# fc46ed58 28-Mar-2018 Michael Große <grosse@cosmocode.de>

doc(search): highlight is expected to be an array


# 826e222f 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

show adavanced tools with JavaScript only


# 2171f9cb 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

added aria attributes


# 1d918893 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

more styling and RTL support


# 0fc38806 28-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

use relative time in search results


# be76738b 27-Mar-2018 Michael Große <grosse@cosmocode.de>

doc(search): add missing PHP doc blocks


# 7fa270bc 27-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(Form): add parameter to omit security token in forms

This is useful for anonymously useable forms, like the search.


# c5bd5721 27-Mar-2018 Michael Große <grosse@cosmocode.de>

l10n(search): localization for the toggle tools button


# 52d4cd42 27-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): rewite SearchState to make behavior more obvious

As suggested by @splitbrain SearchState now behaves simliar to the PSR-7
message interfaces.


# 2ce8affc 27-Mar-2018 Michael Große <grosse@cosmocode.de>

l10n(search): Add link to create page from query to searchintro

Implements the functionality requested in #1124


# 55dc8783 27-Mar-2018 Michael Große <grosse@cosmocode.de>

fix(search): sort list of namespaces alphabetical in 2nd order


# 4bdf82b5 27-Mar-2018 Andreas Gohr <gohr@cosmocode.de>

first go at styling

This removes a lot of reudundant CSS classes in favor of cascading
selectors. Styling isn't done, yet this is just a first step.

Still to do:

* aria labels
* styling the toggle

first go at styling

This removes a lot of reudundant CSS classes in favor of cascading
selectors. Styling isn't done, yet this is just a first step.

Still to do:

* aria labels
* styling the toggle mechanism
* RTL styling
* making sure everything displays correct when no JS is available
* translations may be missing
* refactoring the rest of search.less to make use of LESS features

show more ...


# 16ece95c 27-Mar-2018 Michael Große <grosse@cosmocode.de>

feat(search): trigger new event for small search field form

This also renames the event for the search form on the search page.

The scheme for naming events that provide the new Form-class as $data

feat(search): trigger new event for small search field form

This also renames the event for the search form on the search page.

The scheme for naming events that provide the new Form-class as $data is
FORM_<formname>_OUTPUT

show more ...


# 1265b193 27-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor(search): shorten get parameters


# c6b5b74a 27-Mar-2018 Michael Große <grosse@cosmocode.de>

fix(search): detect irregular fragment query

If the entered query does not cleanly fall into the area of the given
options, show the current behavior as "custom".


123