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

+171 -166
View File
@@ -1575,7 +1575,7 @@ IPSCONTENT;
if ( $loadedMember->isOnline() ):
$return .= <<<IPSCONTENT
<i class="ipsOnlineStatus ipsOnlineStatus--online" data-ipsTooltip title='
<i class="ipsOnline" data-ipsTooltip title='
IPSCONTENT;
$sprintf = array($row->name); $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'online_now', ENT_DISALLOWED, 'UTF-8', FALSE ), FALSE, array( 'sprintf' => $sprintf ) );
@@ -1608,7 +1608,7 @@ $return .= <<<IPSCONTENT
:
IPSCONTENT;
$val = ( $loadedMember->last_activity instanceof \IPS\DateTime ) ? $loadedMember->last_activity : \IPS\DateTime::ts( $loadedMember->last_activity );$return .= $val->html();
$val = ( $loadedMember->last_activity instanceof \IPS\DateTime ) ? $loadedMember->last_activity : \IPS\DateTime::ts( $loadedMember->last_activity );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
@@ -1627,7 +1627,7 @@ $return .= <<<IPSCONTENT
' data-role='followDate' hidden><i class='fa-regular fa-clock'></i>
IPSCONTENT;
$val = ( $row->_followData['follow_added'] instanceof \IPS\DateTime ) ? $row->_followData['follow_added'] : \IPS\DateTime::ts( $row->_followData['follow_added'] );$return .= $val->html();
$val = ( $row->_followData['follow_added'] instanceof \IPS\DateTime ) ? $row->_followData['follow_added'] : \IPS\DateTime::ts( $row->_followData['follow_added'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</li>
<li title='
@@ -1845,7 +1845,7 @@ $return .= <<<IPSCONTENT
' data-role='followDate'><i class='fa-regular fa-clock'></i>
IPSCONTENT;
$val = ( $row->_followData['follow_added'] instanceof \IPS\DateTime ) ? $row->_followData['follow_added'] : \IPS\DateTime::ts( $row->_followData['follow_added'] );$return .= $val->html();
$val = ( $row->_followData['follow_added'] instanceof \IPS\DateTime ) ? $row->_followData['follow_added'] : \IPS\DateTime::ts( $row->_followData['follow_added'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</li>
<li title='
@@ -2096,7 +2096,7 @@ $return .= <<<IPSCONTENT
<span class='ipsData__meta'>
IPSCONTENT;
$val = ( $follower['follow_added'] instanceof \IPS\DateTime ) ? $follower['follow_added'] : \IPS\DateTime::ts( $follower['follow_added'] );$return .= $val->html();
$val = ( $follower['follow_added'] instanceof \IPS\DateTime ) ? $follower['follow_added'] : \IPS\DateTime::ts( $follower['follow_added'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</span>
</div>
@@ -3067,7 +3067,7 @@ $return .= <<<IPSCONTENT
</ul>
</div>
</div>
<i-data class="i-position_relative i-z-index_1">
<i-data>
<ol class="ipsData ipsData--table ipsData--ignored-users" id='elIgnoreUsers' data-role='tableRows'>
IPSCONTENT;
@@ -3455,7 +3455,7 @@ IPSCONTENT;
if ( !\IPS\Widget\Request::i()->isAjax() ):
$return .= <<<IPSCONTENT
ipsBox ipsPull
ipsBox ipsBox--loginBothMethods ipsPull
IPSCONTENT;
endif;
@@ -3482,7 +3482,7 @@ IPSCONTENT;
if ( \IPS\Login::registrationType() != 'disabled' ):
$return .= <<<IPSCONTENT
<p class="i-font-size_2 i-color_soft i-font-weight_500">
<p class="i-font-size_2 i-color_soft i-font-weight_500 i-margin-top_1">
IPSCONTENT;
@@ -3568,25 +3568,13 @@ IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'sign_in_faster', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</h2>
<p class="i-color_soft i-font-weight_500">
IPSCONTENT;
if ( \count( $buttonMethods ) > 1 ):
$return .= <<<IPSCONTENT
<p class="i-color_soft">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'sign_in_with_these', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'reg_connect', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</p>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
<div class="i-grid i-gap_1 i-margin-top_2">
<div class="i-grid i-gap_1 i-margin-top_3">
IPSCONTENT;
@@ -3636,7 +3624,7 @@ IPSCONTENT;
if ( !\IPS\Widget\Request::i()->isAjax() ):
$return .= <<<IPSCONTENT
ipsBox ipsPull
ipsBox ipsBox--loginEmail ipsPull
IPSCONTENT;
endif;
@@ -3661,7 +3649,7 @@ IPSCONTENT;
if ( \IPS\Login::registrationType() != 'disabled' ):
$return .= <<<IPSCONTENT
<p class="i-font-size_2 i-color_soft">
<p class="i-font-size_2 i-color_soft i-margin-top_1">
IPSCONTENT;
@@ -3766,22 +3754,34 @@ IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
<div class="i-gap_2 i-margin-top_2">
<div class="
IPSCONTENT;
if ( !\IPS\Widget\Request::i()->isAjax() ):
$return .= <<<IPSCONTENT
ipsBox ipsBox--loginEmail ipsPull
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
">
<ul class="i-padding_3 i-gap_2 i-margin-top_2">
IPSCONTENT;
foreach ( $buttonMethods as $method ):
$return .= <<<IPSCONTENT
<div class="i-text-align_center">
{$method->button()}
</div>
<li>
{$method->button()}
</li>
IPSCONTENT;
endforeach;
$return .= <<<IPSCONTENT
</ul>
</div>
</div>
@@ -3816,7 +3816,7 @@ IPSCONTENT;
$return .= \IPS\Theme\CustomTemplate::getCustomTemplatesForHookPoint( "core/front/system/loginForm", "loginForm:before", [ $login ] );
$return .= <<<IPSCONTENT
<ul data-ips-hook="loginForm" class="ipsForm">
<ul data-ips-hook="loginForm" class="ipsForm ipsForm--loginForm">
IPSCONTENT;
$return .= \IPS\Theme\CustomTemplate::getCustomTemplatesForHookPoint( "core/front/system/loginForm", "loginForm:inside-start", [ $login ] );
@@ -4022,15 +4022,27 @@ IPSCONTENT;
$return .= \IPS\Theme::i()->getTemplate( "global", \IPS\Request::i()->app )->pageHeader( \IPS\Member::loggedIn()->language()->addToStack('lost_password') );
$return .= <<<IPSCONTENT
<div class='ipsBox'>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
<div class='ipsBox i-padding_3'>
{$form}
</div>
IPSCONTENT;
if ( !\IPS\Widget\Request::i()->isAjax() ):
$return .= <<<IPSCONTENT
</div>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
IPSCONTENT;
@@ -4718,10 +4730,10 @@ $return .= <<<IPSCONTENT
</h4>
</div>
</div>
<p class='i-color_soft'>
<p class='i-color_soft i-flex_00'>
IPSCONTENT;
$val = ( $notification['notification']->updated_time instanceof \IPS\DateTime ) ? $notification['notification']->updated_time : \IPS\DateTime::ts( $notification['notification']->updated_time );$return .= $val->html();
$val = ( $notification['notification']->updated_time instanceof \IPS\DateTime ) ? $notification['notification']->updated_time : \IPS\DateTime::ts( $notification['notification']->updated_time );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</p>
</li>
@@ -5223,7 +5235,7 @@ IPSCONTENT;
$return .= \IPS\Theme::i()->getTemplate( "global", \IPS\Request::i()->app )->pageHeader( $title );
$return .= <<<IPSCONTENT
<div class="ipsBox i-padding_3">
<div class="ipsBox ipsBox--notificationSettingsType">
{$form}
</div>
@@ -5349,7 +5361,7 @@ $return .= <<<IPSCONTENT
<p class='ipsData__meta'>
IPSCONTENT;
$val = ( $notification['notification']->updated_time instanceof \IPS\DateTime ) ? $notification['notification']->updated_time : \IPS\DateTime::ts( $notification['notification']->updated_time );$return .= $val->html();
$val = ( $notification['notification']->updated_time instanceof \IPS\DateTime ) ? $notification['notification']->updated_time : \IPS\DateTime::ts( $notification['notification']->updated_time );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</p>
</li>
@@ -5933,7 +5945,7 @@ IPSCONTENT;
if ( $blurb ):
$return .= <<<IPSCONTENT
<p class='i-margin-bottom_3'>
<p class='i-padding_3'>
IPSCONTENT;
@@ -6031,7 +6043,7 @@ $return .= <<<IPSCONTENT
autocomplete="current-password">
</div>
</li>
<li class="ipsFieldRow ipsFieldRow--fullWidth">
<li class="ipsSubmitRow">
<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton--primary ipsButton--small">
IPSCONTENT;
@@ -6138,40 +6150,40 @@ IPSCONTENT;
elseif ( $usernamePasswordMethods ):
$return .= <<<IPSCONTENT
<p class='i-margin-bottom_3'>
<ul class='ipsForm'>
<li class="ipsFieldRow">
<label class='ipsFieldRow__label' for="password">
IPSCONTENT;
if ( $blurb ):
$return .= <<<IPSCONTENT
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'reauthenticate_password_blurb2', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
IPSCONTENT;
else:
$return .= <<<IPSCONTENT
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'reauthenticate_password_blurb', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
</p>
<ul class='ipsForm'>
<li class="ipsFieldRow">
</label>
<div class="ipsFieldRow__content">
<input type="password" class='ipsInput ipsInput--text' placeholder="
IPSCONTENT;
@@ -6196,39 +6208,32 @@ $return .= <<<IPSCONTENT
>
</div>
</li>
<li class="ipsFieldRow">
<div class="i-flex i-align-items_center i-flex-wrap_wrap i-gap_2 i-justify-content_space-between">
<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton--primary ipsButton--small">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'reauthenticate', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</button>
<li class="ipsSubmitRow">
IPSCONTENT;
if ( \IPS\Settings::i()->allow_forgot_password != 'disabled' ):
$return .= <<<IPSCONTENT
IPSCONTENT;
if ( \IPS\Settings::i()->allow_forgot_password == 'redirect' ):
$return .= <<<IPSCONTENT
<a href='
<a href='
IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( \IPS\Settings::i()->allow_forgot_password_target, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
$return .= <<<IPSCONTENT
' target="_blank" rel="noopener" class="ipsButton ipsButton--inherit ipsButton--small">
' target="_blank" rel="noopener" class="ipsButton ipsButton--inherit">
IPSCONTENT;
else:
$return .= <<<IPSCONTENT
<a href='
<a href='
IPSCONTENT;
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=lostpass", null, "lostpassword", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
@@ -6238,26 +6243,31 @@ IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'forgotten_password', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
' class="ipsButton ipsButton--inherit ipsButton--small">
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'forgotten_password', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</a>
' class="ipsButton ipsButton--inherit">
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
</div>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'forgotten_password', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</a>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton--primary">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'reauthenticate', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</button>
</li>
</ul>
@@ -6600,7 +6610,7 @@ $return .= <<<IPSCONTENT
<span class='i-color_soft i-font-size_-2'>
IPSCONTENT;
$val = ( $row['joined'] instanceof \IPS\DateTime ) ? $row['joined'] : \IPS\DateTime::ts( $row['joined'] );$return .= $val->html();
$val = ( $row['joined'] instanceof \IPS\DateTime ) ? $row['joined'] : \IPS\DateTime::ts( $row['joined'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</span>
</div>
@@ -6766,7 +6776,7 @@ IPSCONTENT;
$return .= \IPS\Theme\CustomTemplate::getCustomTemplatesForHookPoint( "core/front/system/register", "registerForm:inside-start", [ $form,$login,$postBeforeRegister ] );
$return .= <<<IPSCONTENT
<div class="ipsBox ipsPull ipsColumns ipsColumns--lines i-overflow_hidden">
<div class="ipsBox ipsBox--register ipsPull ipsColumns ipsColumns--lines i-overflow_hidden">
IPSCONTENT;
@@ -6797,14 +6807,14 @@ IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
">
<div class="i-padding_3 i-border-bottom_1 i-background_2 i-border-start-start-radius_box i-border-start-end-radius_box">
<div class="i-padding_3">
IPSCONTENT;
if ( $postBeforeRegister ):
$return .= <<<IPSCONTENT
<h1 class="ipsTitle ipsTitle--h3">
<h1 class="ipsTitle ipsTitle--h2">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'post_before_register_headline', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
@@ -6815,7 +6825,7 @@ IPSCONTENT;
if ( !\IPS\Widget\Request::i()->hidereminder ):
$return .= <<<IPSCONTENT
<p class="i-color_soft i-font-size_2 i-font-weight_500">
<p class="i-color_soft i-font-size_2 i-font-weight_500 i-margin-top_1">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'post_before_register_subtext', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
@@ -6832,13 +6842,13 @@ IPSCONTENT;
else:
$return .= <<<IPSCONTENT
<h1 class="ipsTitle ipsTitle--h3">
<h1 class="ipsTitle ipsTitle--h2">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'sign_up', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</h1>
<p class="i-color_soft i-font-size_2 i-font-weight_500">
<p class="i-color_soft i-font-size_2 i-font-weight_500 i-margin-top_1">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'existing_user', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
@@ -6869,8 +6879,8 @@ if ( $buttonMethods ):
$return .= <<<IPSCONTENT
</div>
<div class="ipsColumns__secondary i-basis_340 i-padding_3" id="elRegisterSocial">
<h2 class="ipsTitle ipsTitle--h4">
<div class="ipsColumns__secondary i-basis_360 i-padding_3" id="elRegisterSocial">
<h2 class="ipsTitle ipsTitle--h3">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'reg_start_faster', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
@@ -6893,7 +6903,7 @@ IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( \IPS\Session::i()->csrfKey, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
$return .= <<<IPSCONTENT
">
<div class="i-flex i-flex-wrap_wrap i-gap_2 i-margin-top_3">
<div class="i-grid i-gap_1 i-margin-top_3">
IPSCONTENT;
@@ -7137,7 +7147,7 @@ $return .= <<<IPSCONTENT
IPSCONTENT;
if ( $unread ):
if ( $unread or $iPostedIn ):
$return .= <<<IPSCONTENT
<a href="
@@ -7163,29 +7173,22 @@ IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
" data-linkType="star"
" data-linkType="star" class="ipsIndicator
IPSCONTENT;
if ( $iPostedIn ):
$return .= <<<IPSCONTENT
data-iPostedIn
ipsIndicator--participated
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
title='
" aria-label='
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'first_unread_post', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
' data-ipsTooltip class='ipsIndicator'></a>
IPSCONTENT;
elseif ( $iPostedIn ):
$return .= <<<IPSCONTENT
<span class='ipsIndicator ipsIndicator--read ipsIndicator--participated'></span>
' data-ipsTooltip></a>
IPSCONTENT;
@@ -7486,7 +7489,7 @@ $return .= <<<IPSCONTENT
'><i class='fa-regular fa-clock'></i>
IPSCONTENT;
$val = ( $indexData['index_date_created'] instanceof \IPS\DateTime ) ? $indexData['index_date_created'] : \IPS\DateTime::ts( $indexData['index_date_created'] );$return .= $val->html();
$val = ( $indexData['index_date_created'] instanceof \IPS\DateTime ) ? $indexData['index_date_created'] : \IPS\DateTime::ts( $indexData['index_date_created'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</a>
</li>
@@ -7904,7 +7907,7 @@ $return .= <<<IPSCONTENT
' rel="nofollow"><i class='fa-regular fa-clock'></i>
IPSCONTENT;
$val = ( $indexData['index_date_created'] instanceof \IPS\DateTime ) ? $indexData['index_date_created'] : \IPS\DateTime::ts( $indexData['index_date_created'] );$return .= $val->html();
$val = ( $indexData['index_date_created'] instanceof \IPS\DateTime ) ? $indexData['index_date_created'] : \IPS\DateTime::ts( $indexData['index_date_created'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</a>
</li>
@@ -8236,7 +8239,7 @@ IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
<div id='elSettingsTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elProfileTabContent' data-ipsTabBar-itemSelector='[data-ipsSideMenu] .ipsSideMenu_item' data-ipsTabBar-activeClass='ipsSideMenu_itemActive'>
<div id='elSettingsTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elSettingsTabContent' data-ipsTabBar-itemSelector='[data-ipsSideMenu] .ipsSideMenu_item' data-ipsTabBar-activeClass='ipsSideMenu_itemActive'>
<div class='ipsColumns ipsColumns--stack ipsBox ipsColumns--lines ipsPull'>
<div class='ipsColumns__secondary i-basis_320 i-padding_2'>
<div class='ipsSideMenu' data-ipsSideMenu>
@@ -8437,7 +8440,7 @@ $return .= <<<IPSCONTENT
</div>
</div>
<div class='ipsColumns__primary'>
<section id='elProfileTabContent'>
<section id='elSettingsTabContent'>
<div id="ipsTabs_elSettingsTabs_setting_
IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( $activeTab, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
@@ -8458,7 +8461,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class="ipsTitle ipsTitle--h3">
IPSCONTENT;
@@ -8528,7 +8531,7 @@ $return .= <<<IPSCONTENT
IPSCONTENT;
$val = ( $app['issued'] instanceof \IPS\DateTime ) ? $app['issued'] : \IPS\DateTime::ts( $app['issued'] );$return .= $val->html();
$val = ( $app['issued'] instanceof \IPS\DateTime ) ? $app['issued'] : \IPS\DateTime::ts( $app['issued'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</span>
@@ -8615,7 +8618,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class="i-background_2 i-padding_3 i-border-bottom_3">
<div class="i-padding_3 i-border-bottom_3">
<h2 class="ipsTitle ipsTitle--h3">
IPSCONTENT;
@@ -9108,7 +9111,7 @@ $return .= <<<IPSCONTENT
&nbsp; <span class="i-color_soft">
IPSCONTENT;
$val = ( $details['date'] instanceof \IPS\DateTime ) ? $details['date'] : \IPS\DateTime::ts( $details['date'] );$return .= $val->html();
$val = ( $details['date'] instanceof \IPS\DateTime ) ? $details['date'] : \IPS\DateTime::ts( $details['date'] );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT
</span>
</li>
@@ -9312,7 +9315,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class='ipsTitle ipsTitle--h3'>
IPSCONTENT;
@@ -9320,20 +9323,20 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'c
$return .= <<<IPSCONTENT
</h2>
</div>
<div class='i-padding_3'>
IPSCONTENT;
if ( $form ):
$return .= <<<IPSCONTENT
IPSCONTENT;
if ( \IPS\Settings::i()->reg_auth_type == 'user' or \IPS\Settings::i()->reg_auth_type == 'admin_user' ):
$return .= <<<IPSCONTENT
<ul class='ipsList ipsList--bullets'>
<div class="i-padding_3">
<ol class='ipsList ipsList--bullets'>
<li>
IPSCONTENT;
@@ -9348,34 +9351,34 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'c
$return .= <<<IPSCONTENT
</li>
</ul>
<hr class='ipsHr'>
</ol>
</div>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
{$form}
{$form}
IPSCONTENT;
elseif ( $login ):
$return .= <<<IPSCONTENT
<br><hr class='ipsHr'>
IPSCONTENT;
$return .= \IPS\Theme::i()->getTemplate( "system", \IPS\Request::i()->app )->reauthenticate( $login, $error );
$return .= <<<IPSCONTENT
IPSCONTENT;
else:
$return .= <<<IPSCONTENT
<div class="i-padding_3">
<div>
IPSCONTENT;
@@ -9384,7 +9387,6 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'c
$return .= <<<IPSCONTENT
</div>
<ol class='ipsList ipsList--bullets i-margin-top_3'>
<li>
IPSCONTENT;
@@ -9411,13 +9413,13 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'c
$return .= <<<IPSCONTENT
</li>
</ol>
</div>
IPSCONTENT;
endif;
$return .= <<<IPSCONTENT
</div>
IPSCONTENT;
return $return;
@@ -9427,7 +9429,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class='ipsTitle ipsTitle--h3'>
IPSCONTENT;
@@ -9622,7 +9624,7 @@ IPSCONTENT;
$return .= <<<IPSCONTENT
<div class='i-flex i-align-items_center i-gap_2 i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-flex i-align-items_center i-gap_2 i-padding_3 i-border-bottom_3'>
<h2 class='ipsTitle ipsTitle--h3'>
IPSCONTENT;
$return .= \IPS\Theme\Template::htmlspecialchars( $method->_title, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
@@ -9899,7 +9901,7 @@ IPSCONTENT;
if ( \count( $handlers ) ):
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class="ipsTitle ipsTitle--h3">
IPSCONTENT;
@@ -10025,7 +10027,7 @@ IPSCONTENT;
if ( \IPS\Member::loggedIn()->group['g_hide_online_list'] !== 2 ):
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3
<div class='i-padding_3 i-border-bottom_3
IPSCONTENT;
if ( \count( $handlers ) ):
@@ -10265,7 +10267,7 @@ IPSCONTENT;
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class="ipsTitle ipsTitle--h3">
IPSCONTENT;
@@ -10273,14 +10275,12 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'u
$return .= <<<IPSCONTENT
</h2>
</div>
<div class='i-padding_3'>
IPSCONTENT;
$return .= \IPS\Theme::i()->getTemplate( "system", \IPS\Request::i()->app )->reauthenticate( $login, $error, 'mfa_ucp_blurb_password' );
$return .= <<<IPSCONTENT
</div>
IPSCONTENT;
return $return;
@@ -10553,7 +10553,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class='ipsTitle ipsTitle--h3'>
IPSCONTENT;
@@ -10562,31 +10562,35 @@ $return .= <<<IPSCONTENT
</h2>
</div>
<div class='i-padding_3'>
<div>
IPSCONTENT;
if ( \IPS\Member::loggedIn()->passwordResetForced() ):
$return .= <<<IPSCONTENT
<p class='ipsMessage ipsMessage--warning'>
<div class='i-padding_3'>
<p class='ipsMessage ipsMessage--warning'>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'password_reset_required', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</p>
</div>
IPSCONTENT;
elseif ( isset( \IPS\Widget\Request::i()->success ) AND \IPS\Widget\Request::i()->success == 1 ):
$return .= <<<IPSCONTENT
<p class="ipsMessage ipsMessage--success">
<div class='i-padding_3'>
<p class="ipsMessage ipsMessage--success">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'password_changed', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</p>
</div>
IPSCONTENT;
@@ -10606,41 +10610,42 @@ IPSCONTENT;
else:
$return .= <<<IPSCONTENT
<div>
<div class='i-padding_3'>
<div>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'change_password_admin_1', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</div>
<ol class='ipsList ipsList--bullets i-margin-top_3'>
<li>
</div>
<ol class='ipsList ipsList--bullets i-margin-top_3'>
<li>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'change_password_admin_2', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</li>
<li>
<li>
IPSCONTENT;
$sprintf = array(\IPS\Member::loggedIn()->name); $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'change_password_admin_3', ENT_DISALLOWED, 'UTF-8', FALSE ), FALSE, array( 'sprintf' => $sprintf ) );
$return .= <<<IPSCONTENT
</li>
<li>
<li>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'change_password_admin_4', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</li>
<li>
<li>
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'change_password_admin_5', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</li>
</ol>
</ol>
</div>
IPSCONTENT;
@@ -10952,7 +10957,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class="ipsTitle ipsTitle--h3">
IPSCONTENT;
@@ -11153,7 +11158,7 @@ IPSCONTENT;
if ( $canChangePassword ):
$return .= <<<IPSCONTENT
<div class="ipsInnerBox i-margin-bottom_3">
<div class="ipsBox ipsBox--changePassword i-margin-bottom_3">
<h2 class="ipsBox__header">
IPSCONTENT;
@@ -11169,19 +11174,19 @@ $return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 's
$return .= <<<IPSCONTENT
</p>
<div class="i-margin-top_3">
<a href="
</div>
<div class="ipsSubmitRow">
<a href="
IPSCONTENT;
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=settings&area=password", null, "settings_password", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
$return .= <<<IPSCONTENT
" target="_blank" rel="noopener" class="ipsButton ipsButton--primary ipsButton--small">
" target="_blank" rel="noopener" class="ipsButton ipsButton--primary">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'change_password', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</a>
</div>
</div>
</div>
@@ -11196,7 +11201,7 @@ IPSCONTENT;
if ( $canConfigureMfa ):
$return .= <<<IPSCONTENT
<div class="ipsInnerBox i-margin-bottom_3">
<div class="ipsBox ipsBox--canConfigureMfa i-margin-bottom_3">
<h2 class="ipsBox__header">
IPSCONTENT;
@@ -11236,19 +11241,19 @@ endif;
$return .= <<<IPSCONTENT
</p>
<div class="i-margin-top_3">
<a href="
</div>
<div class="ipsSubmitRow">
<a href="
IPSCONTENT;
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=settings&area=mfa", null, "settings_mfa", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
$return .= <<<IPSCONTENT
" target="_blank" rel="noopener" class="ipsButton ipsButton--primary ipsButton--small">
" target="_blank" rel="noopener" class="ipsButton ipsButton--primary">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'mfa_settings_title', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</a>
</div>
</div>
</div>
@@ -11263,7 +11268,7 @@ IPSCONTENT;
if ( \count( $loginMethods ) ):
$return .= <<<IPSCONTENT
<div class="ipsInnerBox i-margin-bottom_3">
<div class="ipsBox ipsBox--secureAccount i-margin-bottom_3">
<h2 class="ipsBox__header">
IPSCONTENT;
@@ -11338,7 +11343,7 @@ IPSCONTENT;
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=settings&area=login&service={$id}", null, "settings_login", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
$return .= <<<IPSCONTENT
" class="ipsButton ipsButton--primary ipsButton--small">
" class="ipsButton ipsButton--primary">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'profilesync_configure', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
@@ -11369,7 +11374,7 @@ IPSCONTENT;
if ( $oauthApps ):
$return .= <<<IPSCONTENT
<div class="ipsInnerBox i-margin-bottom_3">
<div class="ipsBox ipsBox--oauthApps i-margin-bottom_3">
<h2 class="ipsBox__header">
IPSCONTENT;
@@ -11385,19 +11390,19 @@ $pluralize = array( $oauthApps ); $return .= \IPS\Member::loggedIn()->language()
$return .= <<<IPSCONTENT
</p>
<div class="i-margin-top_3">
<a href="
</div>
<div class="ipsSubmitRow">
<a href="
IPSCONTENT;
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=settings&area=apps", null, "settings_apps", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
$return .= <<<IPSCONTENT
" target="_blank" rel="noopener" class="ipsButton ipsButton--primary ipsButton--small">
" target="_blank" rel="noopener" class="ipsButton ipsButton--primary">
IPSCONTENT;
$return .= \IPS\Member::loggedIn()->language()->addToStack( htmlspecialchars( 'review_oauth_apps', ENT_DISALLOWED, 'UTF-8', FALSE ), TRUE, array( ) );
$return .= <<<IPSCONTENT
</a>
</div>
</div>
</div>
@@ -11545,7 +11550,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class='ipsTitle ipsTitle--h3'>
IPSCONTENT;
@@ -11581,7 +11586,7 @@ IPSCONTENT;
$return = '';
$return .= <<<IPSCONTENT
<div class='i-background_2 i-padding_3 i-border-bottom_3'>
<div class='i-padding_3 i-border-bottom_3'>
<h2 class='ipsTitle ipsTitle--h3'>
IPSCONTENT;
@@ -11955,7 +11960,7 @@ $return .= <<<IPSCONTENT
IPSCONTENT;
$val = ( $row->__get( $row::$databaseColumnMap['date'] ) instanceof \IPS\DateTime ) ? $row->__get( $row::$databaseColumnMap['date'] ) : \IPS\DateTime::ts( $row->__get( $row::$databaseColumnMap['date'] ) );$return .= $val->html();
$val = ( $row->__get( $row::$databaseColumnMap['date'] ) instanceof \IPS\DateTime ) ? $row->__get( $row::$databaseColumnMap['date'] ) : \IPS\DateTime::ts( $row->__get( $row::$databaseColumnMap['date'] ) );$return .= $val->html(useTitle: true);
$return .= <<<IPSCONTENT