search block generating search_SearchBlock_init error

mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Sun, 2006-07-23 07:28

I found only limited reference to this on the forums. On my highly customized theme, I have this code in album.tpl:

{if $theme.params.showSearch }
  <td align="right" width="150>
  <div align="right" valign="top">{g->block type="search.SearchBlock" showAdvancedLink=false}</div>
  </td>
{/if}

It is generating this error at the bottom of the pages when "{g->trailer}" is called:

<script type="text/javascript">
// <![CDATA[
search_SearchBlock_init('Search the Gallery', 'Please enter a search term.');
// ]]>

Any thoughts? Thanks!

Later,
Scott


My details:
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.0.5 apache2handler
Webserver = Apache/2.0.53 (Win32) mod_perl/1.99_13 Perl/v5.8.6 mod_ssl/2.0.55 OpenSSL/0.9.8a PHP/5.0.5
Database = mysql 5.0.16-nt, lock.system=database