{* $Id$ *} {title help="Integrator"}{tr}Edit Rules for Repository:{/tr} {$name}{/title}
{button href="tiki-admin_integrator.php" class="btn btn-primary" _icon_name="cog" _text="{tr}Configure Repositories{/tr}"} {button href="tiki-list_integrator_repositories.php" class="btn btn-info" _icon_name="list" _text="{tr}List Repositories{/tr}"} {assign var=thisrepID value=$repID|escape} {button href="tiki-admin_integrator.php?action=edit&repID=$thisrepID" class="btn btn-primary" _icon_name="wrench" _text="{tr}Configure this Repository{/tr}"} {button href="tiki-integrator.php?repID=$thisrepID" _text="{tr}View this Repository{/tr}" _icon_name="view" class="btn btn-primary"} {button href="tiki-admin_integrator_rules.php?repID=$thisrepID" _text="{tr}New Rule{/tr}" _icon_name="create" class="btn btn-primary"} {if count($reps) gt 0} {button _onclick="javascript:flip('rules-copy-panel');" _text="{tr}Copy Rules{/tr}" _icon_name="copy" _title="{tr}view/hide copy rules dialog{/tr}"} {/if}
{if count($reps) gt 0}


{/if} {* Add form *}
 
{if (($html eq 'y') or ($code eq 'y')) and (strlen($preview_data) gt 0)}

{tr}Preview Results{/tr}

{if strlen($css_file) > 0} {/if}
{if $code eq 'y'}
{$preview_data|escape:"html"|wordwrap:120:"\n"}
{/if} {if $html eq 'y'}
{$preview_data}
{/if}
{/if}

{tr}Rules List{/tr}

{* Table with list of repositories *}
{* table-responsive class cuts off css drop-down menus *} {section name=rule loop=$rules} 0)} rowspan="2"{/if}> {if $rules[rule].enabled ne 'y'}{$rules[rule].ord|escape} {else}{$rules[rule].ord|escape} {/if} {* Show description as colspaned row if it is not an empty *} {if (strlen($rules[rule].description) > 0)} {/if} {/section}
# {tr}Search{/tr} {tr}Replace{/tr} {tr}Regex{/tr} {tr}Case{/tr}
{tr}Description{/tr}
{$rules[rule].srch|escape} {$rules[rule].repl|escape} {$rules[rule].type|escape} {$rules[rule].casesense|escape} {actions} {strip} {icon name='edit' _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"} {icon name='remove' _menu_text='y' _menu_icon='y' alt="{tr}Remove{/tr}"} {/strip} {/actions}
{$rules[rule].description|escape}