From ea90142739e9c549fd5c35ae31a7723c0f74f882 Mon Sep 17 00:00:00 2001 From: Patrick Allaert Date: Mon, 16 May 2011 16:38:52 +0200 Subject: [PATCH] CS: removing trailing whitespaces --- CREDITS.txt | 2 +- bin/scripts/debian/solr | 2 +- bin/scripts/rhel/solr | 4 +- design/admin2/templates/page_search.tpl | 4 +- .../override/templates/block/search.tpl | 2 +- design/ezwebin/templates/content/search.tpl | 70 ++--- .../templates/page_header_searchbox.tpl | 2 +- .../templates/parts/image/related_content.tpl | 2 +- .../javascript/ezajax_autocomplete.js | 10 +- design/standard/javascript/ezajaxsearch.js | 36 +-- design/standard/stylesheets/ezfind.css | 4 +- design/standard/templates/ezfind/elevate.tpl | 60 ++--- .../templates/ezfind/elevation_detail.tpl | 22 +- .../templates/ezfind/remove_elevation.tpl | 8 +- doc/INSTALL.txt | 20 +- doc/design/2.0/facets.txt | 26 +- doc/design/2.0/native_types.txt | 22 +- doc/design/2.0/sorting.txt | 8 +- doc/design/2.1/elevate_support.rst.txt | 34 +-- .../enhanced_multilanguage_support.rst.txt | 6 +- doc/design/2.1/subattribute-filtering.txt | 12 +- ...i-lingual-improvements-with-multi-core.txt | 4 +- doc/multicore-HOWTO.txt | 6 +- ...rade-ezfind-2.0.0-final-to-2.1.0-final.txt | 12 +- .../upgrade-ezfind-2.0alpha1-to-2.0-beta1.txt | 2 +- java/README.txt | 4 +- java/etc/jetty.xml | 4 +- java/etc/webdefault.xml | 8 +- .../eng-GB/conf/mapping-FoldToASCII.txt | 6 +- java/solr.multicore/eng-GB/conf/schema.xml | 34 +-- .../solr.multicore/eng-GB/conf/solrconfig.xml | 254 +++++++++--------- .../eng-GB/conf/xslt/example.xsl | 14 +- .../eng-GB/conf/xslt/example_atom.xsl | 8 +- .../eng-GB/conf/xslt/example_rss.xsl | 6 +- java/solr.multicore/eng-GB/conf/xslt/luke.xsl | 8 +- .../fre-FR/conf/mapping-FoldToASCII.txt | 6 +- java/solr.multicore/fre-FR/conf/schema.xml | 36 +-- .../solr.multicore/fre-FR/conf/solrconfig.xml | 254 +++++++++--------- .../fre-FR/conf/xslt/example.xsl | 14 +- .../fre-FR/conf/xslt/example_atom.xsl | 8 +- .../fre-FR/conf/xslt/example_rss.xsl | 6 +- java/solr.multicore/fre-FR/conf/xslt/luke.xsl | 8 +- .../nor-NO/conf/mapping-FoldToASCII.txt | 6 +- java/solr.multicore/nor-NO/conf/schema.xml | 36 +-- .../solr.multicore/nor-NO/conf/solrconfig.xml | 254 +++++++++--------- .../nor-NO/conf/xslt/example.xsl | 14 +- .../nor-NO/conf/xslt/example_atom.xsl | 8 +- .../nor-NO/conf/xslt/example_rss.xsl | 6 +- java/solr.multicore/nor-NO/conf/xslt/luke.xsl | 8 +- java/solr.sh | 2 +- java/solr/README.txt | 2 +- java/solr/bin/backupcleaner | 2 +- java/solr/bin/rsyncd-start | 2 +- java/solr/conf/mapping-FoldToASCII.txt | 6 +- java/solr/conf/schema.xml | 22 +- java/solr/conf/solrconfig.xml | 252 ++++++++--------- java/solr/conf/xslt/example.xsl | 14 +- java/solr/conf/xslt/example_atom.xsl | 8 +- java/solr/conf/xslt/example_rss.xsl | 6 +- java/solr/conf/xslt/luke.xsl | 8 +- java/solr/solr.xml | 4 +- .../handler/ezfind/eZFindRequestHandler.java | 106 ++++---- settings/ezfind.ini | 2 +- share/db_schema.dba | 26 +- share/ezfind_elevate_configuration.dba | 26 +- 65 files changed, 939 insertions(+), 939 deletions(-) diff --git a/CREDITS.txt b/CREDITS.txt index 6b57995c..bf8a7ef6 100644 --- a/CREDITS.txt +++ b/CREDITS.txt @@ -1,4 +1,4 @@ -eZ Systems would like to thank the following active contributors, +eZ Systems would like to thank the following active contributors, whose work inspired early versions of eZ Find : * Kristof Coomans on http://projects.ez.no/ezsolr diff --git a/bin/scripts/debian/solr b/bin/scripts/debian/solr index 856cfd2f..b2e086aa 100755 --- a/bin/scripts/debian/solr +++ b/bin/scripts/debian/solr @@ -37,7 +37,7 @@ test -x $DAEMON || exit 0 # d_start() { start-stop-daemon --start --pidfile $PIDFILE --chdir $SOLR_HOME --background --make-pidfile --exec $DAEMON -- $PARAMETERS -} +} # # Function that stops the daemon/service. # diff --git a/bin/scripts/rhel/solr b/bin/scripts/rhel/solr index aede81f7..8db05af3 100644 --- a/bin/scripts/rhel/solr +++ b/bin/scripts/rhel/solr @@ -1,9 +1,9 @@ #!/bin/bash # # eZ Find init script for RHEL and CENTOS. -# +# # Usage: -# +# # Set the correct SOLR_HOME value, and copy this file to /etc/init.d # Symlink to /etc/init.d/solr to /etc/rc3.d/S70solr and /etc/rc5.d/S70solr # diff --git a/design/admin2/templates/page_search.tpl b/design/admin2/templates/page_search.tpl index ad8f5592..359d5976 100644 --- a/design/admin2/templates/page_search.tpl +++ b/design/admin2/templates/page_search.tpl @@ -49,9 +49,9 @@ ezAutoHeader.init({ldelim} if ( document.getElementById('searchbuttonfield') ) { jQuery('#searchbuttonfield').click(function() { - if ( jQuery('#searchtext').val() === jQuery('#searchtext').attr('title') ) + if ( jQuery('#searchtext').val() === jQuery('#searchtext').attr('title') ) return; - + jQuery('#searchbutton').click(); }); } diff --git a/design/ezflow/override/templates/block/search.tpl b/design/ezflow/override/templates/block/search.tpl index 7c7fb723..ed0d6d92 100644 --- a/design/ezflow/override/templates/block/search.tpl +++ b/design/ezflow/override/templates/block/search.tpl @@ -7,7 +7,7 @@ {def $customAttributesString='['} {foreach $block.custom_attributes as $name => $value} - {set $customAttributesString = concat( $customAttributesString, '"#search-custom-attribute-', $name, '-', $block.id, '", ' )} + {set $customAttributesString = concat( $customAttributesString, '"#search-custom-attribute-', $name, '-', $block.id, '", ' )} {/foreach} {set $customAttributesString=concat( $customAttributesString|trim( ' ,' ), ']' )} diff --git a/design/ezwebin/templates/content/search.tpl b/design/ezwebin/templates/content/search.tpl index d50d5b0a..b69c9325 100644 --- a/design/ezwebin/templates/content/search.tpl +++ b/design/ezwebin/templates/content/search.tpl @@ -1,12 +1,12 @@ {def $search=false()} {if $use_template_search} {set $page_limit=10} - + {def $activeFacetParameters = array()} {if ezhttp_hasvariable( 'activeFacets', 'get' )} {set $activeFacetParameters = ezhttp( 'activeFacets', 'get' )} {/if} - + {def $dateFilter=0} {if ezhttp_hasvariable( 'dateFilter', 'get' )} {set $dateFilter = ezhttp( 'dateFilter', 'get' )} @@ -19,20 +19,20 @@ {/case} {case match=3} {def $dateFilterLabel="Last month"|i18n("design/standard/content/search")} - {/case} + {/case} {case match=4} {def $dateFilterLabel="Last three months"|i18n("design/standard/content/search")} - {/case} + {/case} {case match=5} {def $dateFilterLabel="Last year"|i18n("design/standard/content/search")} - {/case} - {/switch} - {/if} - + {/case} + {/switch} + {/if} + {def $filterParameters = fetch( 'ezfind', 'filterParameters' ) $defaultSearchFacets = fetch( 'ezfind', 'getDefaultSearchFacets' )} {* def $facetParameters=$defaultSearchFacets|array_merge_recursive( $activeFacetParameters ) *} - + {set $search=fetch( ezfind,search, hash( 'query', $search_text, 'offset', $view_parameters.offset, @@ -41,7 +41,7 @@ 'facet', $defaultSearchFacets, 'filter', $filterParameters, 'publish_date', $dateFilter, - 'spell_check', array( true() ) + 'spell_check', array( true() ) ))} {set $search_result=$search['SearchResult']} {set $search_count=$search['SearchCount']} @@ -65,7 +65,7 @@ {if gt( $dateFilter, 0 )} {set $uriSuffix = concat( $uriSuffix, '&dateFilter=', $dateFilter )} {/if} - +