Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -107,14 +107,10 @@ class _view extends \IPS\Helpers\CoverPhoto\Controller
|
||||
$table->sortBy = \IPS\Request::i()->sortby ?: 'date';
|
||||
|
||||
/* Update views */
|
||||
\IPS\Db::i()->update(
|
||||
'blog_blogs',
|
||||
"`blog_num_views`=`blog_num_views`+1",
|
||||
array( "blog_id=?", $this->blog->id ),
|
||||
array(),
|
||||
NULL,
|
||||
\IPS\Db::LOW_PRIORITY
|
||||
);
|
||||
if ( !\IPS\Request::i()->isAjax() )
|
||||
{
|
||||
$this->blog->updateViews();
|
||||
}
|
||||
|
||||
/* Online User Location */
|
||||
if( !$this->blog->social_group )
|
||||
@@ -386,6 +382,10 @@ class _view extends \IPS\Helpers\CoverPhoto\Controller
|
||||
{
|
||||
$options['autocomplete']['filterProfanity'] = TRUE;
|
||||
}
|
||||
if ( \IPS\Settings::i()->tags_alphabetical )
|
||||
{
|
||||
$options['autocomplete']['alphabetical'] = TRUE;
|
||||
}
|
||||
|
||||
$options['autocomplete']['prefix'] = \IPS\Content\Item::canPrefix( NULL, $this->blog );
|
||||
$options['autocomplete']['disallowedCharacters'] = array( '#' ); // @todo Pending \IPS\Http\Url rework, hashes cannot be used in URLs
|
||||
|
||||
Reference in new issue
Block a user