{{foreach $categories as $category}} {{if $category->can('view') AND ( $category->open OR \IPS\Member::loggedIn()->isAdmin() )}} {{$club = $category->club();}}
  • {{if $club}} profile_photo" extension="core_Clubs"}{{else}}{resource="default_club.png" app="core" location="global"}{{endif}}" class='ipsItemStatus ipsItemStatus_large {{if !\IPS\downloads\File::containerUnread( $category )}}ipsItemStatus_read{{endif}}'> {{else}} {{endif}}

    {{if $club}}{lang="club_node" sprintf="$club->name, $category->_title"}{{else}}{$category->_title}{{endif}}

    {{if $category->hasChildren()}} {{endif}} {{if $category->description}} {template="richText" group="global" app="core" location="global" params="$category->description, array('ipsDataItem_meta')"} {{endif}}
    {{$count = \IPS\downloads\File::contentCount( $category );}}
    {number="$count"}
    {lang="files_no_number" pluralize="$count"}
    {{if $table AND method_exists( $table, 'canModerate' ) AND $table->canModerate()}}
    multimodActions( $category ) )"}" data-state=''>
    {{endif}}
  • {{endif}} {{endforeach}}