Version 4.1.19.4
This commit is contained in:
1 parent
2bd5025018
commit
0dc2aee5ed
312 files changed
+53730
-32118
No files matched your search
@@ -206,7 +206,7 @@ class _members extends \IPS\Dispatcher\Controller
|
||||
}
|
||||
else
|
||||
{
|
||||
return \IPS\Theme::i()->getTemplate( 'members', 'core', 'admin' )->memberEmailCell( ($row['vk_uid']?'<a target="_blank" href="' . \IPS\Http\Url::external( "http://vk.com/id{$row['vk_uid']}" ) . '"><i class="fa fa-vk"></i></a> ':'').htmlentities( $val, \IPS\HTMLENTITIES, 'UTF-8', FALSE ) );
|
||||
return \IPS\Theme::i()->getTemplate( 'members', 'core', 'admin' )->memberEmailCell( htmlentities( $val, \IPS\HTMLENTITIES, 'UTF-8', FALSE ) );
|
||||
}
|
||||
},
|
||||
'photo' => function( $val, $row )
|
||||
@@ -1104,7 +1104,7 @@ class _members extends \IPS\Dispatcher\Controller
|
||||
}
|
||||
$photoVars = explode( ':', $member->group['g_photo_max_vars'] );
|
||||
$form->add( new \IPS\Helpers\Form\Upload( 'member_photo_upload', $customVal, FALSE, array( 'image' => array( 'maxWidth' => $photoVars[1], 'maxHeight' => $photoVars[2] ), 'storageExtension' => 'core_Profile' ), NULL, NULL, NULL, 'member_photo_upload' ) );
|
||||
$form->add( new \IPS\Helpers\Form\Url( 'member_photo_url', NULL, FALSE, array( 'file' => 'core_Profile', 'allowedMimes' => 'image/*' ), NULL, NULL, NULL, 'member_photo_url' ) );
|
||||
$form->add( new \IPS\Helpers\Form\Url( 'member_photo_url', NULL, FALSE, array( 'file' => 'core_Profile', 'image' => TRUE ), NULL, NULL, NULL, 'member_photo_url' ) );
|
||||
foreach ( $extra as $element )
|
||||
{
|
||||
$form->add( $element );
|
||||
|
||||
Reference in new issue
Block a user