mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-06 00:43:02 +02:00
[ticket/11150] Console liek output
PHPBB3-11150
This commit is contained in:
parent
6571067719
commit
4617037feb
@ -2969,3 +2969,10 @@ fieldset.permissions .permissions-switch {
|
||||
/* stylelint-enable selector-no-qualifying-type */
|
||||
/* stylelint-enable declaration-property-unit-blacklist */
|
||||
/* stylelint-enable declaration-property-unit-whitelist */
|
||||
|
||||
.console-output {
|
||||
background-color: #2a2a2a;
|
||||
color: #f1f1f1;
|
||||
font-family: monospace;
|
||||
overflow-x:scroll;
|
||||
}
|
||||
|
@ -5,11 +5,8 @@
|
||||
<p>{{ MESSAGE_TEXT }}</p>
|
||||
</div>
|
||||
|
||||
<div style="overflow-x:scroll">
|
||||
<fieldset>
|
||||
{%- if MESSAGE_DETAIL_LEGEND -%}
|
||||
<legend>{{ MESSAGE_DETAIL_LEGEND|nl2br }}</legend>
|
||||
{%- endif -%}
|
||||
<div>
|
||||
<fieldset class="console-output">
|
||||
<pre>{{ MESSAGE_DETAIL }}</pre>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
@ -453,7 +453,7 @@ class acp_extensions
|
||||
$this->display_composer_exception($language, $e, $composer_io);
|
||||
return;
|
||||
}
|
||||
$this->tpl_name = 'detailled_message_body';
|
||||
$this->tpl_name = 'detailed_message_body';
|
||||
|
||||
$this->template->assign_vars(array(
|
||||
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_INSTALL'),
|
||||
@ -492,7 +492,7 @@ class acp_extensions
|
||||
$this->display_composer_exception($language, $e, $composer_io);
|
||||
return;
|
||||
}
|
||||
$this->tpl_name = 'detailled_message_body';
|
||||
$this->tpl_name = 'detailed_message_body';
|
||||
|
||||
$this->template->assign_vars(array(
|
||||
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_REMOVE'),
|
||||
@ -531,7 +531,7 @@ class acp_extensions
|
||||
$this->display_composer_exception($language, $e, $composer_io);
|
||||
return;
|
||||
}
|
||||
$this->tpl_name = 'detailled_message_body';
|
||||
$this->tpl_name = 'detailed_message_body';
|
||||
|
||||
$this->template->assign_vars(array(
|
||||
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_UPDATE'),
|
||||
@ -570,7 +570,7 @@ class acp_extensions
|
||||
$this->display_composer_exception($language, $e, $composer_io);
|
||||
return;
|
||||
}
|
||||
$this->tpl_name = 'detailled_message_body';
|
||||
$this->tpl_name = 'detailed_message_body';
|
||||
|
||||
$this->template->assign_vars(array(
|
||||
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_MANAGE'),
|
||||
@ -689,7 +689,7 @@ class acp_extensions
|
||||
*/
|
||||
private function display_composer_exception(\phpbb\language\language $language, \phpbb\exception\runtime_exception $e, \phpbb\composer\io\web_io $composer_io)
|
||||
{
|
||||
$this->tpl_name = 'detailled_message_body';
|
||||
$this->tpl_name = 'detailed_message_body';
|
||||
|
||||
if ($e->getPrevious())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user