Version 5.0.0 beta 10

This commit is contained in:
Neo committed 2025-12-19 17:53:48 -08:00
1 parent 56979f8ee8
commit 264eeb97e0
325 files changed
+6442 -1849

No files matched your search

+11 -9
View File
@@ -1755,19 +1755,21 @@
</ul>
</div>]]></template>
<template template_group="view" template_name="log" template_data="$file, $table" template_location="front" template_app="downloads"><![CDATA[{{if $file->container()->log}}
<div class='i-padding_2'><div class='ipsMessage ipsMessage--info'>{lang="log_days" pluralize="$file->container()->log"}</div></div>
<div class='{{if \IPS\Request::i()->isAjax() }}i-padding_2{{else}}i-margin-bottom_2{{endif}}'><div class='ipsMessage ipsMessage--info'>{lang="log_days" pluralize="$file->container()->log"}</div></div>
{{endif}}
{$table|raw}]]></template>
<template template_group="view" template_name="logRows" template_data="$table, $headers, $rows" template_location="front" template_app="downloads"><![CDATA[{{foreach $rows as $row}}
<li class='ipsSpanGrid__6 ipsPhotoPanel ipsPhotoPanel--mini i-padding_2'>
{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $row['dmid'] ), 'mini'"}
<div>
<h3 class='ipsTruncate_1'>{member="name" id="$row['dmid']"}</h3>
<span class='i-color_soft'>{datetime="$row['dtime']" norelative="true"}</span>
<li>
<div class="ipsPhotoPanel ipsPhotoPanel--mini">
{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $row['dmid'] ), 'mini'"}
<div class="ipsPhotoPanel__text">
<h3 class='ipsPhotoPanel__primary'>{template="userLink" app="core" group="global" params="\IPS\Member::load( $row['dmid'] )"}</h3>
<span class='ipsPhotoPanel__secondary'>{datetime="$row['dtime']" norelative="true"}</span>
</div>
</div>
</li>
{{endforeach}}]]></template>
<template template_group="view" template_name="logTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="downloads"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}}>
<template template_group="view" template_name="logTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="downloads"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}} {{if !\IPS\Request::i()->isAjax() }}class="ipsBox"{{endif}}>
{{if $table->pages > 1}}
<div class="ipsButtonBar ipsButtonBar--top">
@@ -1777,7 +1779,7 @@
</div>
{{endif}}
{{if \count( $rows )}}
<ol class='ipsGrid {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
<ol class='ipsGrid ipsGrid--fileLogTable i-padding_3 {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
</ol>
{{else}}
@@ -2042,7 +2044,7 @@
{template="reviewUnavailable" group="forms" location="front" app="core" params="'restricted_cannot_comment', \IPS\Member::loggedIn()->warnings(5,NULL,'rpa'), \IPS\Member::loggedIn()->restrict_post"}
{{endif}}
{{elseif $file->mustDownloadBeforeReview()}}
<p class='i-color_soft'>{lang="no_download_review"}</p>
<p class='i-color_soft i-font-weight_600 i-text-align_center i-background_2 i-padding_2'>{lang="no_download_review"}</p>
{{elseif \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}}
{template="reviewUnavailable" group="forms" location="front" app="core" params="'unacknowledged_warning_cannot_post', \IPS\Member::loggedIn()->warnings( 1, FALSE )"}
{{endif}}