Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -373,6 +373,26 @@ CODE;
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* [Node] See if this is locked
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function get__locked()
|
||||
{
|
||||
return (bool) $this->requires_manual_intervention;
|
||||
}
|
||||
|
||||
/**
|
||||
* [Node] Lang string for the tooltip when this is locked
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get__lockedLang()
|
||||
{
|
||||
return $this->requires_manual_intervention ? 'invalid_php8_customization' : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* [Node] Get buttons to display in tree
|
||||
@@ -471,7 +491,6 @@ CODE;
|
||||
}
|
||||
}
|
||||
|
||||
// nulled by ipbmafia.ru
|
||||
if ( file_exists( \IPS\ROOT_PATH . "/plugins/{$this->location}/{$this->name}_{$this->version_human}.xml" ) AND !\IPS\IN_DEV )
|
||||
{
|
||||
$buttons['download'] = array(
|
||||
@@ -480,7 +499,6 @@ CODE;
|
||||
'link' => \IPS\Http\Url::internal( "app=core&module=applications&controller=plugins&do=downloadNull&id={$this->_id}" )->csrf(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* Return */
|
||||
return $buttons;
|
||||
@@ -787,7 +805,7 @@ CODE;
|
||||
|
||||
if ( $depth == 2 and $closeBraces )
|
||||
{
|
||||
$contents .= "{$tabs}}\n{$tabs}catch ( \Error | \RuntimeException \$e )\n{$tabs}{\n{$tabs}\tif ( method_exists( get_parent_class(), __FUNCTION__ ) )\n{$tabs}\t{\n{$tabs}\t\treturn \\call_user_func_array( 'parent::' . __FUNCTION__, \\func_get_args() );\n{$tabs}\t}\n{$tabs}\telse\n{$tabs}\t{\n{$tabs}\t\tthrow \$e;\n{$tabs}\t}\n{$tabs}}\n";
|
||||
$contents .= "{$tabs}}\n{$tabs}catch ( \Error | \RuntimeException \$e )\n{$tabs}{\n{$tabs}\tif( \defined( '\IPS\DEBUG_HOOKS' ) AND \IPS\DEBUG_HOOKS )\n{$tabs}\t{\n{$tabs}\t\t\IPS\Log::log( \$e, 'hook_exception' );\n{$tabs}\t}\n\n{$tabs}\tif ( method_exists( get_parent_class(), __FUNCTION__ ) )\n{$tabs}\t{\n{$tabs}\t\treturn \\call_user_func_array( 'parent::' . __FUNCTION__, \\func_get_args() );\n{$tabs}\t}\n{$tabs}\telse\n{$tabs}\t{\n{$tabs}\t\tthrow \$e;\n{$tabs}\t}\n{$tabs}}\n";
|
||||
$depth--;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user