Changed page no access

(cherry picked from commit aa2d0edde2)
This commit is contained in:
m-lopez-f 2015-02-03 13:33:00 +01:00
parent 060dd23561
commit 05c0acecba
2 changed files with 15 additions and 11 deletions

View File

@ -14,7 +14,7 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
if (file_exists("images/noaccess.png")) {
if (file_exists("images/grafico_llave.png")) {
ui_print_page_header (__('You don\'t have access to this page'), "", false, "", true);
}
else {
@ -22,17 +22,21 @@ else {
}
?>
<div id="noaccess">
<div align='center'>
<?php
if (file_exists("images/noaccess.png")) {
echo html_print_image('images/noaccess.png', true, array("alt" => __('No access')));
}
?>
<div>&nbsp;</div>
<div class="msg" style='width: 400px'><?php echo __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');?></div>
<div id="noaccess" style="width: 500px; height:180px;">
<div id="noaccess-title" style=" height: 20px; width: 98%;"><?php echo __('Access to this page is restricted');?></div>
<div>
<div id="noaccess-image" style="width: 15%;">
<?php
if (file_exists("images/grafico_llave.png")) {
echo html_print_image('images/grafico_llave.png', true, array("alt" => __('No access')));
}
?>
</div>
<div id="noaccess-text" style="width: 70%;">
<?php echo __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br/> <br/>
Please know that all attempts to access this page are recorded in security logs of Pandora System Database');?>
</div>
</div>
</div>
<!-- Container div. ENDS HERE -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB