Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -30,12 +30,19 @@ class _gallery
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
if ( \IPS\gallery\Category::canOnAny( 'add' ) )
|
||||
if ( \IPS\gallery\Category::canOnAny( 'add', NULL, \IPS\Settings::i()->club_nodes_in_apps ? array() : array( array( 'category_club_id IS NULL' ) ) ) )
|
||||
{
|
||||
return array(
|
||||
'gallery_image' => array(
|
||||
'link' => \IPS\Http\Url::internal( "app=gallery&module=gallery&controller=submit&_new=1", 'front', 'gallery_submit' ),
|
||||
'extraData' => array( 'data-ipsDialog-size' => "fullscreen", 'data-ipsDialog' => true )
|
||||
'extraData' => array(
|
||||
'data-ipsDialog-size' => "medium",
|
||||
'data-ipsDialog' => 'true',
|
||||
'data-ipsDialog-destructOnClose' => 'true',
|
||||
'data-ipsDialog-close' => 'false',
|
||||
'data-ipsDialog-extraClass' => 'cGalleryDialog_outer',
|
||||
'data-ipsDialog-remoteSubmit' => 'true',
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user