[- $r = shift ; $set = $r -> {item_set} ; $tt = $r->{category_set}{table_type}; $cy = $r->{category_types}; $cf = $r->{category_fields}; $title_type = $r->{category_title_type}; -]
[+ $r -> {category_set}{category} +] ([= items_of =] [+ $r -> {user_email} +][+ $r->{user_admin}?"[admin]":'' +])
[$ while ($rec = $$set -> Next) $] [$ if ($r -> {user_id} and (($r -> {user_id} == $rec->{user_id}) or ($r -> {user_admin}))) $] [- $date = $rec -> {modtime} ; $date =~ /^(\d+)-(\d+)-(\d+)/ ; $date = $r -> param -> language eq 'de'?"$3.$2.$1":"$2/$3/$1" ; -] [$ foreach $type (grep { $_ ne $title_type } @$cf) $] [$ endforeach $] [$ endif $] [$ endwhile $]
[$ if $cy->{$title_type} =~ /pulldown/ $] [+ $r->app->get_title($r,$title_type,$rec->{$title_type}) +] [$ else $] [+ $rec -> {$title_type} +] [$ endif $] [ [+ $date +] [$ if ($r->{user_id} && $r->{user_id} == $rec->{user_id}) || $r->{user_admin} $] | [+ $r -> gettext($r->{item_set}{state} ? 'display' : 'hide') +] | Edit [$ endif $] | Top ]
[+ $r->{category_texts}{$type.'_text'} +]

[$ if $r->{category_types}{$type} =~ /url/ $] [+ $rec -> {$type} +] [$ else $] [+ $rec -> {$type} +] [$ endif $]