Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -1955,15 +1955,12 @@ class _Theme extends \IPS\Node\Model
|
||||
|
||||
if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'customization', 'theme_download_upload' ) AND !\IPS\DEMO_MODE )
|
||||
{
|
||||
if( !$this->marketplace_id )
|
||||
{
|
||||
$buttons['upload'] = array(
|
||||
'icon' => 'upload',
|
||||
'title' => 'theme_set_import',
|
||||
'link' => \IPS\Http\Url::internal( "app=core&module=customization&controller=themes&do=importForm&id={$this->_id}" ),
|
||||
'data' => array( 'ipsDialog' => '', 'ipsDialog-title' => \IPS\Member::loggedIn()->language()->addToStack( 'theme_set_import_title', FALSE, array( 'sprintf' => array( $this->_title ) ) ) )
|
||||
);
|
||||
}
|
||||
$buttons['upload'] = array(
|
||||
'icon' => 'upload',
|
||||
'title' => 'theme_set_import',
|
||||
'link' => \IPS\Http\Url::internal( "app=core&module=customization&controller=themes&do=importForm&id={$this->_id}" ),
|
||||
'data' => array( 'ipsDialog' => '', 'ipsDialog-title' => \IPS\Member::loggedIn()->language()->addToStack( 'theme_set_import_title', FALSE, array( 'sprintf' => array( $this->_title ) ) ) )
|
||||
);
|
||||
|
||||
$buttons['download'] = array(
|
||||
'icon' => 'download',
|
||||
|
||||
Reference in new issue
Block a user