{if $action eq "edit"}
{$target}
{$msg_title}
{$msg_desc}
{$msg_keywords}
{$msg_vhost}
{$msg_flags} {html_checkboxes name="flags" options=$v_flag_opts selected=$v_flags}

{$msg_vhost_note}

{else} {if !$readonly} {literal} {/literal}
{/if} {if !$readonly} {/if} {if $sites} {counter start=0 assign=cnt print=0} {foreach from=$sites item=mysite} {if !$readonly} {/if} {counter} {/foreach} {else} {/if}
{$msg_alias}{$msg_title} {$msg_desc}  
{$mysite.alias}{a lnk=$mysite.title} {$mysite.description} {foreach from=$mysite.actions item=action} {a lnk=$action class="action"} {/foreach}
{$msg_no_barrels}
{if !$readonly}

{$msg_create} :

{$msg_create_note}

{/if} {/if}