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

+36 -9
View File
@@ -900,7 +900,22 @@ IPSCONTENT;
if ( $file->container()->log ):
$return .= <<<IPSCONTENT
<div class='i-padding_2'><div class='ipsMessage ipsMessage--info'>
<div class='
IPSCONTENT;
if ( \IPS\Widget\Request::i()->isAjax() ):
$return .= <<<IPSCONTENT
i-padding_2
IPSCONTENT;
else:
$return .= <<<IPSCONTENT
i-margin-bottom_2
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
'><div class='ipsMessage ipsMessage--info'>
IPSCONTENT;
$pluralize = array( $file->container()->log ); $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'log_days', ENT_DISALLOWED, 'UTF-8', FALSE ), FALSE, array( 'pluralize' => $pluralize ) );
@@ -928,26 +943,28 @@ IPSCONTENT;
foreach ( $rows as $row ):
$return .= <<<IPSCONTENT
<li class='ipsSpanGrid__6 ipsPhotoPanel ipsPhotoPanel--mini i-padding_2'>
<li>
<div class="ipsPhotoPanel ipsPhotoPanel--mini">
IPSCONTENT;
$return .= \IPS\Theme::i()->getTemplate( "global", "core" )->userPhoto( \IPS\Member::load( $row['dmid'] ), 'mini' );
$return .= <<<IPSCONTENT
<div>
<h3 class='ipsTruncate_1'>
<div class="ipsPhotoPanel__text">
<h3 class='ipsPhotoPanel__primary'>
IPSCONTENT;
$return .= htmlspecialchars( \IPS\Member::load( $row['dmid'] )->name, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
$return .= \IPS\Theme::i()->getTemplate( "global", "core" )->userLink( \IPS\Member::load( $row['dmid'] ) );
$return .= <<<IPSCONTENT
</h3>
<span class='i-color_soft'>
<span class='ipsPhotoPanel__secondary'>
IPSCONTENT;
$val = ( $row['dtime'] instanceof \IPS\DateTime ) ? $row['dtime'] : \IPS\DateTime::ts( $row['dtime'] );$return .= (string) $val;
$return .= <<<IPSCONTENT
</span>
</div>
</div>
</li>
@@ -985,6 +1002,16 @@ $return .= <<<IPSCONTENT
'
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
IPSCONTENT;
if ( !\IPS\Widget\Request::i()->isAjax() ):
$return .= <<<IPSCONTENT
class="ipsBox"
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
>
@@ -1017,7 +1044,7 @@ IPSCONTENT;
if ( \count( $rows ) ):
$return .= <<<IPSCONTENT
<ol class='ipsGrid
<ol class='ipsGrid ipsGrid--fileLogTable i-padding_3
IPSCONTENT;
foreach ( $table->classes as $class ):
@@ -2287,7 +2314,7 @@ IPSCONTENT;
elseif ( $file->mustDownloadBeforeReview() ):
$return .= <<<IPSCONTENT
<p class='i-color_soft'>
<p class='i-color_soft i-font-weight_600 i-text-align_center i-background_2 i-padding_2'>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'no_download_review', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );