Version 5.0.0 beta 2
This commit is contained in:
1 parent
15c7beabc5
commit
f61b0da85d
181 files changed
+3182
-1533
No files matched your search
@@ -1126,7 +1126,7 @@
|
||||
</section>
|
||||
</div>]]></template>
|
||||
<template template_group="nexus" template_name="fileInfo" template_data="$file" template_location="admin" template_app="downloads"><![CDATA[
|
||||
<div class='i-background_2 i-padding_3'>
|
||||
<div class='i-background_2 i-padding_3 i-margin-bottom_2 i-border-radius_box'>
|
||||
<div class='ipsData__item'>
|
||||
<a href="$file->url()" class='ipsData__image'>
|
||||
{{if $file->primary_screenshot_thumb}}
|
||||
@@ -1192,6 +1192,16 @@
|
||||
{{if !$file->canView()}}
|
||||
<p class='i-color_soft'>{lang="nexus_file_no_longer_available"}</p>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="nexus" template_name="itemResultTemplate" template_data="$item" template_location="admin" template_app="downloads"><![CDATA[<div data-itemid="{$item->id}" data-role='contentItemRow'>
|
||||
<strong>{$item->mapped('title')}</strong>
|
||||
{{if $item->container()}}
|
||||
<em>{lang="item_selector_added_to_container" sprintf="$item->container()->_title"}</em>
|
||||
{{endif}}
|
||||
<br>
|
||||
<span class='i-color_soft'>{$item->author()->name} </span> · {$item->price()}
|
||||
</div>
|
||||
|
||||
]]></template>
|
||||
<template template_group="stats" template_name="downloadsTable" template_data="$select, $pagination, $members, $total" template_location="admin" template_app="downloads"><![CDATA[<div class="ipsBox" data-ips-template="downloadsTable">
|
||||
<h1 class="ipsBox__header">{lang="downloads_stats_downloader_count" pluralize="$total"}</h1>
|
||||
{{if trim( $pagination )}}
|
||||
@@ -1562,75 +1572,33 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>]]></template>
|
||||
<template template_group="submit" template_name="topic" template_data="$file" template_location="front" template_app="downloads"><![CDATA[<div class='i-background_2 i-padding_3'>
|
||||
{{if $file->container()->bitoptions['topic_screenshot'] and $file->primary_screenshot}}
|
||||
<div class='ipsColumns'>
|
||||
<div class='ipsColumns__secondary i-basis_200 i-text-align_center'>
|
||||
<a href="{$file->url()}">
|
||||
{{$image = ( $file->primary_screenshot instanceof \IPS\File ) ? (string) $file->primary_screenshot->url : $file->primary_screenshot;}}
|
||||
<img src='{file="$image" extension="downloads_Screenshots"}' alt='{$file->name}' loading='lazy'>
|
||||
</a>
|
||||
<br><br>
|
||||
<a href="{$file->url()}" class='ipsButton ipsButton--primary ipsButton--wide ipsButton--small'>
|
||||
{lang="view_file"}
|
||||
</a>
|
||||
</div>
|
||||
<div class='ipsColumns__primary'>
|
||||
<template template_group="submit" template_name="topic" template_data="$file" template_location="front" template_app="downloads"><![CDATA[<h3>{$file->name}</h3>
|
||||
{{if $file->desc}}
|
||||
{$file->desc|raw}
|
||||
{{endif}}
|
||||
<h3 class='ipsTitle ipsTitle--h3'>{$file->name}</h3>
|
||||
{{if !$file->container()->bitoptions['topic_screenshot'] or !$file->primary_screenshot}}
|
||||
<a href="{$file->url()}" class='ipsButton ipsButton--primary ipsButton--wide ipsButton--small'>
|
||||
{lang="view_file"}
|
||||
</a>
|
||||
{{endif}}
|
||||
<hr class='ipsHr'>
|
||||
<div class='ipsRichText '>
|
||||
{$file->desc|raw}
|
||||
</div>
|
||||
<hr class='ipsHr'>
|
||||
<i-data>
|
||||
<ul class='ipsData ipsData--table ipsData--file-submitter'>
|
||||
<li class='ipsData__item'>
|
||||
<div class='i-basis_160'>
|
||||
<strong>{lang="file_submitter"}</strong>
|
||||
</div>
|
||||
<div class='ipsData__main'>
|
||||
{$file->author()->link( NULL, NULL, $file->isAnonymous() )|raw}
|
||||
</div>
|
||||
</li>
|
||||
<li class='ipsData__item'>
|
||||
<div class='i-basis_160'>
|
||||
<strong>{lang="file_submitted"}</strong>
|
||||
</div>
|
||||
<div class='ipsData__main'>
|
||||
{expression="\IPS\DateTime::ts( $file->submitted )->localeDate()"}
|
||||
</div>
|
||||
</li>
|
||||
<li class='ipsData__item'>
|
||||
<div class='i-basis_160'>
|
||||
<strong>{lang="file_cat"}</strong>
|
||||
</div>
|
||||
<div class='ipsData__main'>
|
||||
<a href="{$file->container()->url()}">{$file->container()->_title}</a>
|
||||
</div>
|
||||
</li>
|
||||
{{foreach $file->customFields( TRUE ) as $k => $v}}
|
||||
<li class='ipsData__item'>
|
||||
<div class='i-basis_160'>
|
||||
<strong>{lang="downloads_{$k}"}</strong>
|
||||
</div>
|
||||
<div class='ipsData__main'>
|
||||
{$v|raw}
|
||||
</div>
|
||||
</li>
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</i-data>
|
||||
{{if $file->container()->bitoptions['topic_screenshot'] and $file->primary_screenshot}}
|
||||
</div>
|
||||
</div>
|
||||
{{endif}}
|
||||
</div>]]></template>
|
||||
<div class="ipsRichTextBox ipsRichTextBox--alwaysopen">
|
||||
<div class="ipsRichTextBox__title">
|
||||
<p>{lang="file_information"}</p>
|
||||
</div>
|
||||
<p>
|
||||
<strong><span data-ips-font-size="90">{lang="file_submitter"} </span></strong> {$file->author()->link( null, null, $file->isAnonymous() )|raw}
|
||||
</p>
|
||||
<p>
|
||||
<strong><span data-ips-font-size="90">{lang="file_submitted"} </span></strong> {expression="\IPS\DateTime::ts( $file->submitted )->localeDate()"}
|
||||
</p>
|
||||
<p>
|
||||
<strong><span data-ips-font-size="90">{lang="file_cat"} </span></strong> <a href="{$file->container()->url()}">{$file->container()->_title}</a>
|
||||
</p>
|
||||
{{foreach $file->customFields( TRUE ) as $k => $v}}
|
||||
<p>
|
||||
<strong><span data-ips-font-size="90">{lang="downloads_{$k}"} </span></strong> {$v|raw}
|
||||
</p>
|
||||
{{endforeach}}
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<a href='{$file->url()}'>{lang="view_file"}</a>
|
||||
</p>]]></template>
|
||||
<template template_group="submit" template_name="wizardForm" template_data="$stepNames, $activeStep, $output, $baseUrl, $showSteps" template_location="front" template_app="downloads"><![CDATA[
|
||||
{{foreach $stepNames as $step => $name}}
|
||||
{{if $activeStep == $name}}
|
||||
@@ -2359,7 +2327,7 @@
|
||||
</article>
|
||||
<aside class='ipsColumns__secondary i-basis_380'>
|
||||
<div class='i-padding_3'>
|
||||
<ul class="ipsButtons i-margin-bottom_4">
|
||||
<ul class="ipsButtons i-margin-bottom_4" data-ips-hook="downloadButtonList">
|
||||
{{if $file->canBuy()}}
|
||||
{{if $file->canDownload()}}
|
||||
{template="downloadButton" group="view" app="downloads" params="$file"}
|
||||
|
||||
Reference in new issue
Block a user