Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+10 -40
View File
@@ -151,11 +151,11 @@ IPSCONTENT;
$val = "customer_tab_{$k}"; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( $val, ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
'>
<i class='fa-solid fa-
<i class='
IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( $tab['icon'], ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
$return .= <<<IPSCONTENT
'></i> <span class='ipsResponsive_showPhone'>&nbsp;&nbsp;
'></i> <span class='ipsResponsive_showPhone'>
IPSCONTENT;
$val = "customer_tab_{$k}"; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( $val, ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
@@ -555,40 +555,10 @@ IPSCONTENT;
$count = \count( $table->getRows(NULL) );
$return .= <<<IPSCONTENT
<h3 class='ipsTitle ipsTitle--h3 ipsTruncate ipsTruncate_line
IPSCONTENT;
if ( !$count ):
$return .= <<<IPSCONTENT
i-color_soft
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
'>
IPSCONTENT;
if ( $count ):
$return .= <<<IPSCONTENT
<strong>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
<h3 class='ipsTitle ipsTitle--h4'>
IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( $title, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
$return .= <<<IPSCONTENT
IPSCONTENT;
if ( $count ):
$return .= <<<IPSCONTENT
</strong>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
</h3>
{$table}
<p class='i-margin-top_1'>
@@ -602,7 +572,7 @@ IPSCONTENT;
$val = "customer_tab_{$type}"; $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( $val, ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
' class='ipsButton ipsButton--inherit ipsButton--tiny ipsButton--wide'>
' class='ipsButton ipsButton--inherit ipsButton--wide'>
IPSCONTENT;
@@ -849,7 +819,7 @@ IPSCONTENT;
if ( \count( $rows ) ):
$return .= <<<IPSCONTENT
<ul class='cCustomerOther_list i-grid i-gap_3'>
<ul class='cCustomerOther_list i-grid i-gap_2 i-margin-top_2 i-margin-bottom_3'>
IPSCONTENT;
@@ -892,10 +862,10 @@ foreach ( $rows as $row ):
$return .= <<<IPSCONTENT
<li>
<p class='ipsTruncate ipsTruncate_line'>
<p class='i-font-weight_600 i-color_hard'>
{$row['alt_id']}
</p>
<span class='i-font-size_1 i-color_soft'>
<span class='i-color_soft'>
IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( $row['email'], ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
$return .= <<<IPSCONTENT
@@ -1565,7 +1535,7 @@ $return .= <<<IPSCONTENT
IPSCONTENT;
$val = ( $row['i_date'] instanceof \IPS\DateTime ) ? $row['i_date'] : \IPS\DateTime::ts( $row['i_date'] );$return .= $val->html();
$val = ( $row['i_date'] instanceof \IPS\DateTime ) ? $row['i_date'] : \IPS\DateTime::ts( $row['i_date'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</p>
</div>
@@ -1777,7 +1747,7 @@ $return .= <<<IPSCONTENT
<div class="ipsPhotoPanel__secondary">
IPSCONTENT;
$val = ( $note['note_date'] instanceof \IPS\DateTime ) ? $note['note_date'] : \IPS\DateTime::ts( $note['note_date'] );$return .= $val->html();
$val = ( $note['note_date'] instanceof \IPS\DateTime ) ? $note['note_date'] : \IPS\DateTime::ts( $note['note_date'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</div>
</div>
@@ -1982,7 +1952,7 @@ $return .= <<<IPSCONTENT
<span class='i-font-size_1 i-color_soft ipsTruncate ipsTruncate_line'>
IPSCONTENT;
$val = ( $row['note_date'] instanceof \IPS\DateTime ) ? $row['note_date'] : \IPS\DateTime::ts( $row['note_date'] );$return .= $val->html();
$val = ( $row['note_date'] instanceof \IPS\DateTime ) ? $row['note_date'] : \IPS\DateTime::ts( $row['note_date'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
,
IPSCONTENT;