{{if $club = $file->container()->club()}} {{if settings.clubs and settings.clubs_header == 'full'}} {template="header" app="core" group="clubs" params="$club, $file->container()"} {{endif}}
{{endif}}
primary_screenshot_thumb}}class='ipsColumn ipsColumn_fluid'{{endif}}>

{{if $file->prefix() OR ( $file->canEdit() AND $file::canTag( NULL, $file->container() ) AND $file::canPrefix( NULL, $file->container() ) )}} prefix()}}class='ipsHide'{{endif}} {{if ( $file->canEdit() AND $file::canTag( NULL, $file->container() ) AND $file::canPrefix( NULL, $file->container() ) )}}data-editablePrefix{{endif}}> {template="prefix" group="global" app="core" params="$file->prefix( TRUE ), $file->prefix()"} {{endif}} {{if $file->hidden() === 1}} {{elseif $file->hidden() === -1}} {{elseif $file->hidden() === -2}} {{endif}} {{if $file->mapped('pinned')}} {{endif}} {{if $file->mapped('featured')}} {{endif}} {{if $file->canEdit()}} {{if $file->locked()}} {{endif}}{$file->name}{{if $file->container()->version_numbers}} {$file->version}{{endif}} {{else}} {{if $file->locked()}} {{endif}}{$file->name}{{if $file->container()->version_numbers}} {$file->version}{{endif}} {{endif}}

{{if $file->isPaid()}}

{{if $price = $file->price()}} {$price|raw} {{if $renewalTerm = $file->renewalTerm()}} · {lang="file_renewal_term_val" sprintf="$renewalTerm"} {{endif}} {{endif}}

{{endif}} {{if \count( $file->tags() ) OR ( $file->canEdit() AND $file::canTag( NULL, $file->container() ) )}} {template="tags" group="global" app="core" params="$file->tags(), FALSE, FALSE, ( $file->canEdit() AND ( \count( $file->tags() ) OR $file::canTag( NULL, $file->container() ) ) ) ? $file->url() : NULL"} {{endif}}
{{if $file->container()->bitoptions['reviews']}}
{template="rating" group="global" location="front" app="core" params="'large', $file->averageReviewRating(), \IPS\Settings::i()->reviews_rating_out_of, $file->memberReviewRating()"}   ({lang="num_reviews" pluralize="$file->reviews"})
{{endif}}

{template="userPhoto" app="core" group="global" params="$file->author(), 'tiny', $file->warningRef()"}
{{if $file->author()->member_id OR $file->canChangeAuthor()}} {{endif}}
{template="contentItemMessages" group="global" app="core" params="$file->getMessages(), $file"} {{if ( \IPS\Member::loggedIn()->member_id == $file->author()->member_id OR $file->canUnhide() OR $file->canHide() ) AND $file->hasPendingVersion()}} {{endif}} {{if $file->hidden() === 1 and $file->canUnhide()}} {{endif}}
{{if $file->screenshots()->getInnerIterator()->count()}}

{lang="screenshots_ct" pluralize="$file->screenshots()->getInnerIterator()->count()"}

    {{$fullScreenshots = iterator_to_array( $file->screenshots() );}} {{foreach $file->screenshots( 1 ) as $id => $screenshot}}
  • {{endforeach}}
{{endif}}
{{$tabs = array();}} {{foreach $cfields as $field}} {{if $field['location'] == 'tab'}} {{$tabs[] = "downloads_{$field['key']}";}} {{endif}} {{endforeach}}
{{if \count( $tabs )}}
{{endif}}
{{if !\count( $tabs )}}

{lang="file_desc"}

{{endif}}
{$file->content()|raw}
{{if $file->editLine()}} {$file->editLine()|raw} {{endif}} {{if $versionData['b_changelog'] or !empty( $previousVersions )}}

{lang="whats_new_in_version" sprintf="$versionData['b_version'] ?: (string) \IPS\DateTime::ts( $versionData['b_backup'] )"}{{if !empty( $previousVersions )}}   {lang="see_changelog"} {{endif}}

{template="changeLog" group="view" params="$file, $versionData"}
{{endif}} {{foreach $cfields as $field}} {{if $field['location'] == 'below'}}

{lang="downloads_{$field['key']}"}

{$field['value']|raw}
{{endif}} {{endforeach}}
{{if \count( $tabs )}}
{{foreach $cfields as $field}} {{if $field['location'] == 'tab'}}
{$field['value']|raw}
{{endif}} {{endforeach}}
{{endif}}
{{if ( $file->canEdit() or $file->canPin() or $file->canUnpin() or $file->canFeature() or $file->canUnfeature() or $file->canHide() or $file->canUnhide() or $file->canMove() or $file->canLock() or $file->canUnlock() or $file->canDelete() or $file->canEnablePurchases() or $file->canDisablePurchases() ) or ( $file->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') ) or $file->canReportOrRevoke() or ( \IPS\IPS::classUsesTrait( $file, 'IPS\Content\Reactable' ) and settings.reputation_enabled )}}
{{if \IPS\IPS::classUsesTrait( $file, 'IPS\Content\Reactable' ) and settings.reputation_enabled}} {template="reputation" app="core" group="global" params="$file"} {{endif}} {{if ( $file->canEdit() or $file->canPin() or $file->canUnpin() or $file->canFeature() or $file->canUnfeature() or $file->canHide() or $file->canUnhide() or $file->canMove() or $file->canLock() or $file->canUnlock() or $file->canDelete() or $file->canEnablePurchases() or $file->canDisablePurchases() ) or ( $file->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') ) or $file->canReportOrRevoke()}} {{endif}}
{{endif}}
{{if $prev || $next}}
{{if $prev !== NULL}} {lang="prev_file"} {$prev->mapped('title')} {{endif}}
{{if $next !== NULL}} {{endif}}

{{endif}} {{if $commentsAndReviews}}

{lang="user_feedback"}

{$commentsAndReviews|raw}
{{endif}}
{{if $file->container()->club()}}
{{endif}}