diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:46:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:46:43 +0000 |
commit | 3e02d5aff85babc3ffbfcf52313f2108e313aa23 (patch) | |
tree | b01f3923360c20a6a504aff42d45670c58af3ec5 /application/views/scripts/showConfiguration.phtml | |
parent | Initial commit. (diff) | |
download | icingaweb2-3e02d5aff85babc3ffbfcf52313f2108e313aa23.tar.xz icingaweb2-3e02d5aff85babc3ffbfcf52313f2108e313aa23.zip |
Adding upstream version 2.12.1.upstream/2.12.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'application/views/scripts/showConfiguration.phtml')
-rw-r--r-- | application/views/scripts/showConfiguration.phtml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/application/views/scripts/showConfiguration.phtml b/application/views/scripts/showConfiguration.phtml new file mode 100644 index 0000000..682b349 --- /dev/null +++ b/application/views/scripts/showConfiguration.phtml @@ -0,0 +1,27 @@ +<div> + <h4><?= $this->translate('Saving Configuration Failed'); ?></h4> + <p> + <?= sprintf( + $this->translate('The file %s couldn\'t be stored. (Error: "%s")'), + $this->escape($filePath), + $this->escape($errorMessage) + ); ?> + <br> + <?= $this->translate('This could have one or more of the following reasons:'); ?> + </p> + <ul> + <li><?= $this->translate('You don\'t have file-system permissions to write to the file'); ?></li> + <li><?= $this->translate('Something went wrong while writing the file'); ?></li> + <li><?= $this->translate('There\'s an application error preventing you from persisting the configuration'); ?></li> + </ul> +</div> +<p> + <?= $this->translate('Details can be found in the application log. (If you don\'t have access to this log, call your administrator in this case)'); ?> + <br> + <?= $this->translate('In case you can access the file by yourself, you can open it and insert the config manually:'); ?> +</p> +<p> + <pre> + <code><?= $this->escape($configString); ?></code> + </pre> +</p> |