Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -2110,7 +2110,7 @@ class _Fields extends \IPS\CustomField implements \IPS\Node\Permissions
|
||||
|
||||
foreach( range( 1, 7 ) as $id )
|
||||
{
|
||||
$displayOptions[ $id ] = $listingOptions[ $id ] = \IPS\Theme::i()->getTemplate( 'records', 'cms', 'global' )->fieldBadge( \IPS\Member::loggedIn()->language()->addToStack('cms_badge_label'), \IPS\Member::loggedIn()->language()->addToStack('cms_badge_value'), 'ipsBadge_style' . $id );
|
||||
$displayOptions[ $id ] = $listingOptions[ $id ] = \IPS\Theme::i()->getTemplate( 'records', 'cms', 'global' )->fieldBadge( \IPS\Member::loggedIn()->language()->addToStack('cms_badge_label'), \IPS\Member::loggedIn()->language()->addToStack('cms_badge_value'), 'ipsBadge_front ipsBadge_style' . $id );
|
||||
$listingToggles[ $id ] = array( 'field_display_listing_json_badge_right' );
|
||||
}
|
||||
|
||||
@@ -2934,8 +2934,8 @@ class _Fields extends \IPS\CustomField implements \IPS\Node\Permissions
|
||||
$options['app'] = 'cms';
|
||||
$options['key'] = 'Records' . static::$customDatabaseId;
|
||||
$options['allowAttachments'] = $this->allow_attachments;
|
||||
$options['autoSaveKey'] = 'RecordField_' . ( $content === NULL ? 'new' : $content->_id ) . '_' . $this->id;
|
||||
$options['attachIds'] = ( $content === NULL ) ? NULL : array( $content->_id, $this->id, static::$customDatabaseId );
|
||||
$options['autoSaveKey'] = 'RecordField_' . ( ( $content === NULL OR !$content->_id ) ? 'new' : $content->_id ) . '_' . $this->id;
|
||||
$options['attachIds'] = ( $content === NULL OR !$content->_id ) ? NULL : array( $content->_id, $this->id, static::$customDatabaseId );
|
||||
break;
|
||||
case 'Email':
|
||||
case 'Password':
|
||||
|
||||
Reference in new issue
Block a user