{include file='ls:top.tpl'}

{$pagetitle}

{$LSobjects[$LSobject]['label']}

{foreach $LSprofiles as $name => $label} {/foreach} {foreach $LSobjects[$LSobject]['attrs'] as $name => $conf} {foreach $LSprofiles as $profil => $profil_label} {/foreach} {/foreach}
{tr msg="Attributes / Profiles"}{$label} {if $name != $label}?{/if}
{$conf.label} ? {if $conf.rights[$profil] == 'r'} {tr msg="Readable"} {elseif $conf.rights[$profil] == 'w'} {tr msg="Readable / Writable"} {/if}

{tr msg="Their relations with other objects"}

{if !empty($LSobjects[$LSobject]['relations'])} {foreach $LSprofiles as $name => $label} {/foreach} {foreach $LSobjects[$LSobject]['relations'] as $name => $conf} {foreach $LSprofiles as $profil => $profil_label} {/foreach} {/foreach}
{tr msg="Relations / Profiles"}{$label} {if $name != $label}?{/if}
{$conf.label} ? {if $conf.rights[$profil] == 'r'} {tr msg="Readable"} {elseif $conf.rights[$profil] == 'w'} {tr msg="Readable / Writable"} {/if}
{else}

{tr msg="This object type has no configured relation."} {/if}

{include file='ls:bottom.tpl'}