From e6aeaf150d52065dc369503d0681254e0fff4933 Mon Sep 17 00:00:00 2001 From: slerena Date: Sat, 21 Oct 2006 16:47:26 +0000 Subject: [PATCH] 2006-10-21 Sancho Lerena * include/functions.php: Change function no_permission () to show noaccess.gif image correctly, due a path problem. * general/noaccess.php: Change code to show noaccess.gif correctly. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/general/noaccess.php | 2 +- pandora_console/include/functions.php | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 136c4edc07..a6c29b7613 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2006-10-21 Sancho Lerena + + * include/functions.php: Change function no_permission () to show + noaccess.gif image correctly, due a path problem. + + * general/noaccess.php: Change code to show noaccess.gif correctly. + 2006-10-09 Raul Mateos * operation/agentes/estado_alertas.php: Add code for showing 'Never' diff --git a/pandora_console/general/noaccess.php b/pandora_console/general/noaccess.php index 7aa8a1d975..2233b782f3 100644 --- a/pandora_console/general/noaccess.php +++ b/pandora_console/general/noaccess.php @@ -26,4 +26,4 @@
 
- \ No newline at end of file + diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index e57ef9d520..e84612da93 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -340,10 +340,10 @@ function popup_help ($help_id){ function no_permission () { require("config.php"); require ("include/languages/language_".$language_code.".php"); - echo "

".$lang_label["no_permission_title"]."

"; - echo "

"; + echo "

".$lang_label["no_permission_title"]."

"; + echo "

"; echo ""; - echo "
"; + echo "
"; echo $lang_label["no_permission_text"]; echo "
"; echo ""; @@ -483,4 +483,4 @@ function pagination ($count, $url, $offset ) { . */ } -?> \ No newline at end of file +?>