{* $Id$ *} {title}{tr}Mass Search and Replace{/tr}{/title} {remarksbox type="note" title="{tr}Note{/tr}"} {tr}This feature currently searches and replaces within wiki pages only{/tr} {/remarksbox}
{tr}Search:{/tr}  {tr}Case sensitive:{/tr}
{tr}Replace:{/tr}
{tr}Max number of pages at a time:{/tr}  {tr}Number of surrounding chars to preview:{/tr}
{if isset($message)} {$message} {/if}
{if isset($results)}
{section name=search loop=$results} {if isset($results[search].searchreplace)} {/if} {/section}
{select_all checkbox_names='checked[]'}
{section name=snippet loop=$results[search].beforeSnippet} {/section}
{$results[search].pageName|escape}
{* note that non-escaping is intentional *} {$results[search].beforeSnippet[snippet]} {* note that non-escaping is intentional *} {$results[search].afterSnippet[snippet]} {if $results[search].searchreplace[snippet] != '0:0:0'}{/if}
{pagination_links cant=$cant step=$maxRecords offset=$offset}{/pagination_links} {/if}