From f7886630bdbe75bdf2bfc9ec827128623ef7900e Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 1 Nov 2016 15:57:01 -0400 Subject: [PATCH] Update search view file (extra div) adding div on top of view file --- index.php | 6 ++-- views/front/search/index.html | 56 +++++++++++++++++------------------ 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/index.php b/index.php index 1855cf6..3982642 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database Search * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.2.1 + * Version: 1.2.2 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabaseSearchAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.2.1 + * @version 1.2.2 */ /* @@ -37,7 +37,7 @@ * so that we're sure the other add-ons see an up to date * version from this plugin. */ -define('GLM_MEMBERS_SEARCH_PLUGIN_VERSION', '1.2.1'); +define('GLM_MEMBERS_SEARCH_PLUGIN_VERSION', '1.2.2'); define('GLM_MEMBERS_SEARCH_PLUGIN_DB_VERSION', '0.0.3'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/views/front/search/index.html b/views/front/search/index.html index bcd70cb..50ad4a8 100644 --- a/views/front/search/index.html +++ b/views/front/search/index.html @@ -1,98 +1,98 @@ {include file='front/search/header.html'} - +
Search for: Match all words
- + {if $haveSearchRequest} - + {if $haveSearchResult} - + - +
Showing {$searchResult.firstResultOnPage} through {$searchResult.lastResultOnPage} of {$searchResult.totalResults} results. -
- +
+ - +
- {if $searchResult.previousPageStartIndex !== false} + {if $searchResult.previousPageStartIndex !== false} Previous Results {else} Previous Results {/if} - {if $searchResult.nextPageStartIndex !== false} - Next Results + Next Results {else} Next Results {/if}
- +
- + - +
{foreach $searchResult.documents as $doc}
- + - +
{foreach from=$doc.content.snippets item="snip" name="snip"} {$snip} - {if (!$smarty.foreach.snip.last)}
----
{/if} + {if (!$smarty.foreach.snip.last)}
----
{/if} {/foreach}
{$doc.url.value}
-
+
{/foreach} - + - +
Showing {$searchResult.firstResultOnPage} through {$searchResult.lastResultOnPage} of {$searchResult.totalResults} results. -
- +
+ - +
- {if $searchResult.previousPageStartIndex !== false} + {if $searchResult.previousPageStartIndex !== false} Previous Results {else} Previous Results {/if} - {if $searchResult.nextPageStartIndex !== false} - Next Results + Next Results {else} Next Results {/if}
- + - - + + {else}

No results matching your search.

{/if} - + {else} (Please enter your desired search above.) {/if} -- 2.17.1