Changed page no access

(cherry picked from commit aa2d0edde2db271347b993c5088f46d35c8090e9)
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 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // 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); ui_print_page_header (__('You don\'t have access to this page'), "", false, "", true);
} }
else { else {
@ -22,17 +22,21 @@ else {
} }
?> ?>
<div id="noaccess"> <div id="noaccess" style="width: 500px; height:180px;">
<div align='center'> <div id="noaccess-title" style=" height: 20px; width: 98%;"><?php echo __('Access to this page is restricted');?></div>
<?php <div>
if (file_exists("images/noaccess.png")) { <div id="noaccess-image" style="width: 15%;">
echo html_print_image('images/noaccess.png', true, array("alt" => __('No access'))); <?php
} if (file_exists("images/grafico_llave.png")) {
?> echo html_print_image('images/grafico_llave.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>
<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>
</div> </div>
<!-- Container div. ENDS HERE --> <!-- Container div. ENDS HERE -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB