Geeklog-Core / geeklog

Geeklog - The Secure CMS.
https://www.geeklog.net
24 stars 19 forks source link

Themes have a pile of unused Search Template Files #1040

Closed eSilverStrike closed 4 years ago

eSilverStrike commented 4 years ago

I notice there are a pile of different search templates in the search directory of a theme.

Looking at the search class we don’t use any of them except for 2. It looks like it is left over from before using the list class to display the search results.

I am going to remove these .thtml files

eSilverStrike commented 4 years ago

Now we only need one template file for the search form itself. The search results uses the list class and it's template files for displaying the search results (for Google and Table display and even for backwards compatibility) so these old search template files are not needed.

The search class currently supports old API calls defined for versions prior to Geeklog 1.5.1. At some point we may want to move these as no plugin from that era would work with the current version of Geeklog.