Version 4.7.6

This commit is contained in:
Neo committed 2025-12-19 16:05:19 -08:00
1 parent 8ba7d43898
commit 7b7404e741
1085 files changed
+30590 -7837

No files matched your search

@@ -282,6 +282,8 @@ class _emoticons extends \IPS\Dispatcher\Controller
\IPS\Settings::i()->changeValues( array( 'emoji_cache' => time() ) );
\IPS\Session::i()->log( 'acplog__emoticons_edited' );
\IPS\Output::i()->json( 'OK' );
return;
}
@@ -413,6 +415,8 @@ class _emoticons extends \IPS\Dispatcher\Controller
/* Clear guest page caches */
\IPS\Data\Cache::i()->clearAll();
\IPS\Session::i()->log( 'acplog__emoticon_set_deleted' );
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=core&module=editor&controller=emoticons&tab=custom' ), 'saved' );
}
@@ -93,4 +93,27 @@ class _storedreplies extends \IPS\Node\Controller
parent::manage();
}
/**
* Search
*
* @return void
*/
protected function search()
{
$rows = array();
/* Get results */
$nodeClass = $this->nodeClass;
$results = [];
/* Convert to HTML */
foreach ( $nodeClass::search( 'reply_title', \IPS\Request::i()->input, 'reply_title' ) as $result )
{
$id = ( $result instanceof $this->nodeClass ? '' : 's.' ) . $result->_id;
$rows[ $id ] = $this->_getRow( $result, FALSE, TRUE );
}
\IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'trees', 'core' )->rows( $rows, '' );
}
}