Not signed in (Sign In)
 
Aug 22nd 2008
 
this is about as minor as you can get, but SearchTerms isn't ever set in the dictionary.

...on the topic of searches though, it would be nice if the Search and SearchForm classes were a little more open minded about search types. I'm integrating a handler for another type of search and you sometimes have to resort to kludges or outright theme file editing to add it in. just as an example, here's the DefineType function from the Search class: if ($InValue != 'Users' && $InValue != 'Comments') $InValue = 'Topics'; and from the SearchForm: if ($this->Search->Type == 'Users') {
...
} else if ($this->Search->Type == 'Topics') {
...
} else if ($this->Search->Type == 'Comments') {
...
}
and there also aren't any delegates in the search_form template (to allow, eg., for another type of advanced search). it's not really a big deal though, just thought I'd mention it.
 
Aug 29th 2008
 
Here is the language definition.

Index: src/languages/English/definitions.php
===================================================================
--- src/languages/English/definitions.php (revision 739)
+++ src/languages/English/definitions.php (working copy)
@@ -126,6 +126,7 @@
$Context->Dictionary['Users'] = 'Users';
$Context->Dictionary['AllRoles'] = 'All roles';
$Context->Dictionary['Advanced'] = 'Advanced';
+$Context->Dictionary['SearchTerms'] = 'Search terms:';
$Context->Dictionary['ChooseSearchType'] = 'Search:';
$Context->Dictionary['DiscussionTopicSearch'] = 'Discussion topic search';
$Context->Dictionary['FindDiscussionsContaining'] = 'Find discussion topics containing';


What do you need for search form?

Issue information

  • 79
  • No assigned user

    No assigned user

     

  • Resolved
  • Low
  • Bug

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.