Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -23,7 +23,7 @@ if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
*/
|
||||
class _Category extends \IPS\Node\Model implements \IPS\Node\Permissions
|
||||
{
|
||||
use \IPS\Content\ClubContainer;
|
||||
use \IPS\Content\ClubContainer, \IPS\Content\ViewUpdates;
|
||||
|
||||
/**
|
||||
* @brief [ActiveRecord] Multiton Store
|
||||
@@ -329,7 +329,7 @@ class _Category extends \IPS\Node\Model implements \IPS\Node\Permissions
|
||||
$form->addHeader( 'category_tags' );
|
||||
$form->add( new \IPS\Helpers\Form\YesNo( 'ctags_disabled', !$this->tags_disabled, FALSE, array( 'togglesOn' => array( 'ctags_noprefixes', 'ctags_predefined' ) ), NULL, NULL, NULL, 'ctags_disabled' ) );
|
||||
$form->add( new \IPS\Helpers\Form\YesNo( 'ctags_noprefixes', !$this->tags_noprefixes, FALSE, array(), NULL, NULL, NULL, 'ctags_noprefixes' ) );
|
||||
$form->add( new \IPS\Helpers\Form\Text( 'ctags_predefined', $this->tags_predefined, FALSE, array( 'autocomplete' => array( 'unique' => 'true' ), 'nullLang' => 'ctags_predefined_unlimited' ), NULL, NULL, NULL, 'ctags_predefined' ) );
|
||||
$form->add( new \IPS\Helpers\Form\Text( 'ctags_predefined', $this->tags_predefined, FALSE, array( 'autocomplete' => array( 'unique' => 'true', 'alphabetical' => \IPS\Settings::i()->tags_alphabetical ), 'nullLang' => 'ctags_predefined_unlimited' ), NULL, NULL, NULL, 'ctags_predefined' ) );
|
||||
}
|
||||
|
||||
$form->addTab( 'category_errors', NULL, 'category_errors_blurb' );
|
||||
@@ -341,8 +341,6 @@ class _Category extends \IPS\Node\Model implements \IPS\Node\Permissions
|
||||
if ( $this->id )
|
||||
{
|
||||
$rebuildUrl = \IPS\Http\Url::internal( 'app=downloads&module=downloads&controller=categories&id=' . $this->id . '&do=rebuildTopicContent' )->csrf();
|
||||
|
||||
\IPS\Member::loggedIn()->language()->words['cforum_on_desc'] = \IPS\Member::loggedIn()->language()->addToStack( 'database_forum_record__desc' );
|
||||
}
|
||||
|
||||
$form->addTab( 'category_forums_integration' );
|
||||
|
||||
@@ -26,7 +26,6 @@ class _File extends \IPS\Content\Item implements
|
||||
\IPS\Content\Tags,
|
||||
\IPS\Content\Followable,
|
||||
\IPS\Content\ReadMarkers,
|
||||
\IPS\Content\Views,
|
||||
\IPS\Content\Hideable, \IPS\Content\Featurable, \IPS\Content\Pinnable, \IPS\Content\Lockable,
|
||||
\IPS\Content\Shareable,
|
||||
\IPS\Content\Searchable,
|
||||
@@ -35,7 +34,7 @@ class _File extends \IPS\Content\Item implements
|
||||
\IPS\Content\EditHistory,
|
||||
\IPS\Content\Anonymous
|
||||
{
|
||||
use \IPS\Content\Reactable, \IPS\Content\Reportable, \IPS\Content\ItemTopic
|
||||
use \IPS\Content\Reactable, \IPS\Content\Reportable, \IPS\Content\Statistics, \IPS\Content\ViewUpdates, \IPS\Content\ItemTopic
|
||||
{
|
||||
\IPS\Content\ItemTopic::changeAuthor as topicChangeAuthor;
|
||||
}
|
||||
@@ -263,6 +262,8 @@ class _File extends \IPS\Content\Item implements
|
||||
*/
|
||||
public static function contentTableTemplate()
|
||||
{
|
||||
/* Load our CSS */
|
||||
\IPS\downloads\Application::outputCss();
|
||||
return array( \IPS\Theme::i()->getTemplate( 'browse', 'downloads', 'front' ), 'rows' );
|
||||
}
|
||||
|
||||
@@ -2238,7 +2239,7 @@ class _File extends \IPS\Content\Item implements
|
||||
|
||||
$categoryIdColumn = $category::$databaseColumnId;
|
||||
|
||||
if ( $count > static::NOTIFICATIONS_PER_BATCH )
|
||||
if ( $count > \IPS\NOTIFICATION_BACKGROUND_THRESHOLD )
|
||||
{
|
||||
$queueData = array(
|
||||
'followerCount' => $count,
|
||||
|
||||
Reference in new issue
Block a user