{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"}
{tr msg="R"} = {tr msg="Readable"} | {tr msg="R/W"} = {tr msg="Readable / Writable"}
{if $name != $label}?{/if} {$label}
{$conf.label} ? {if $conf.rights[$profil] == 'r'} {tr msg="R"} {elseif $conf.rights[$profil] == 'w'} {tr msg="R/W"} {/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"}
R = {tr msg="Readable"} | R/W = {tr msg="Readable / Writable"}
{if $name != $label}?{/if} {$label}
{$conf.label} ? {if $conf.rights[$profil] == 'r'} {tr msg="R"} {elseif $conf.rights[$profil] == 'w'} {tr msg="R/W"} {/if}
{else}

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

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