{if !$doedit} {if !$readonly} {literal} {/literal} {/if}
{if $idsum}{/if} {foreach from=$vars item=myval} {if $myval.sum}{/if} {/foreach} {if !$hideactions} {/if} {if !$readonly} {/if} {counter start=1 assign=cnt print=0} {foreach from=$rows item=myrow}{assign var="myarr" value=$myrow[1]} {if $idsum} {/if} {foreach from=$vars key=mykey item=myval} {if $myval.sum} {/if} {/foreach} {if !$hideactions} {/if} {counter} {/foreach}
{$msg_id}{$myval.desc}{$msg_action}
{$msg_new_entry} {$msg_create}
{$myrow[0]} {if $myval.type=="timestamp"} {$myarr.$mykey|date_format:"%Y-%m-%d %H:%M:%S"} {elseif $myval.type=="set" and $myval.trans} {$myval.trans[$myval.value]} {elseif $myval.type=="ext"} {extval table=$table field=$mykey value=$myarr.$mykey vtable=$myval.vtable vjoinid=$myval.vjoinid vfield=$myval.vfield} {else} {$myarr.$mykey} {/if} {if !$readonly} {$msg_edit} {$msg_delete} {/if} {foreach from=$myrow[2] item=myaction} {a class="action" lnk=$myaction} {/foreach}
{if ($p_prev > -1) || ($p_next > -1)} {/if} {else}
{if $id!=''} {/if} {foreach from=$vars key=mykey item=myval} {if $myval.show} {/if} {/foreach}
{if $id!=''}{$msg_existing_entry} {$id} {else}{$msg_new_entry}{/if}
{$myval.desc} {if $myval.type=="password"}
{$msg_no_change}{/if}
{if $myval.edit} {if $myval.type=="textarea"} {elseif $myval.type=="set"} {if $myval.trans} {flags table=$table field=$mykey name="$prefix$mykey" selected=$myval.trans[$myval.value] trans=$myval.trans} {else} {flags table=$table field=$mykey name="$prefix$mykey" selected=$myval.value} {/if} {elseif $myval.type=="ext"} {extval table=$table field=$mykey name="$prefix$mykey" vtable=$myval.vtable vjoinid=$myval.vjoinid vfield=$myval.vfield selected=$myval.value} {elseif $myval.type=="timestamp"} {elseif $myval.type=="password"} {else} {/if} {else} {$myval.value|escape} {/if}

{$msg_back}

{/if}