diff --git a/pandora_console/CHANGELOG b/pandora_console/CHANGELOG index 268d8a4a86..f7e3704610 100644 --- a/pandora_console/CHANGELOG +++ b/pandora_console/CHANGELOG @@ -1,5 +1,21 @@ 2006-07-11 Raul Mateos + * index.php: Add new text about authors. + + * functions.php: Add new text about authors. Change PATH to noaccess.php file. + + * noaccess.php: Add new text about authors. + + * login_failed.php: Add new text about authors. + + * logoff.php: Add new text about authors. + + * config.php: Add new text about authors. + + * configurar_usuarios.php: Add new text about authors. Clean code. Solve small bug that avoid creating a new user. Add a line between table and button. Add different colors between rows (cosmetic changes). + + * pandora.css: Added new class .datos2t + * ver_agente.php: Add new text about authors. Clean Code. * estado_generalagente.php: Add new text about authors. Solve small bug showing different colors between rows (cosmetic changes). diff --git a/pandora_console/general/logoff.php b/pandora_console/general/logoff.php index ce37a8c0c5..10714506bb 100644 --- a/pandora_console/general/logoff.php +++ b/pandora_console/general/logoff.php @@ -1,9 +1,21 @@ , 2003-2006 -// Raul Mateos , 2005-2006 + +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ?>

diff --git a/pandora_console/general/logon_failed.php b/pandora_console/general/logon_failed.php index b19219b3cf..9ff1445f60 100644 --- a/pandora_console/general/logon_failed.php +++ b/pandora_console/general/logon_failed.php @@ -1,9 +1,21 @@ , 2003-2006 -// Raul Mateos , 2004-2006 + +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ?>
diff --git a/pandora_console/general/noaccess.php b/pandora_console/general/noaccess.php index 717b916e4e..7aa8a1d975 100644 --- a/pandora_console/general/noaccess.php +++ b/pandora_console/general/noaccess.php @@ -1,11 +1,23 @@ , 2003-2006 -// Raul Mateos , 2004-2006 -?> +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +?>

diff --git a/pandora_console/godmode/usuarios/configurar_usuarios.php b/pandora_console/godmode/usuarios/configurar_usuarios.php index 4e80e49c64..0d44f6f688 100644 --- a/pandora_console/godmode/usuarios/configurar_usuarios.php +++ b/pandora_console/godmode/usuarios/configurar_usuarios.php @@ -1,12 +1,24 @@ , 2003-2006 -// Raul Mateos , 2005-2006 +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnológicas S.L, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Load global vars require("include/config.php"); + if (comprueba_login() == 0) if (give_acl($id_user, 0, "UM")==1) { // Init. vars @@ -123,7 +135,7 @@ if (comprueba_login() == 0) $nivel = entrada_limpia($_POST["nivel"]); $password=md5($password); $ahora = date("Y/m/d H:i:s"); - $sql_insert = "insert into tusuario (id_usuario,direccion,password,telefono,fecha_registro,nivel,comentarios, nombre_real) values ('".$nombre."','".$direccion."','".$password."','".$telefono."','".$ahora."','".$nivel."','".$comentarios."','".$nombre_real."')"; + $sql_insert = "INSERT INTO tusuario (id_usuario,direccion,password,telefono,fecha_registro,nivel,comentarios, nombre_real) VALUES ('".$nombre."','".$direccion."','".$password."','".$telefono."','".$ahora."','".$nivel."','".$comentarios."','".$nombre_real."')"; $resq1=mysql_query($sql_insert); if (! $resq1) echo "

".$lang_label["create_user_no"]."

"; @@ -175,7 +187,7 @@ if (comprueba_login() == 0) } ?> - + ".$lang_label["profiles"]; echo "'; echo '
'; echo ''; - if (isset($_GET["alta"])){echo "";} - else {echo "";} + echo "
"; // Show user profile / groups assigned $sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$id_usuario_mio.'"'; $result=mysql_query($sql1); + + echo '

'.$lang_label["listGroupUser"].' '.$lang_label["help"].'

'; + echo ""; if (mysql_num_rows($result)){ - echo "
- -
"; - echo ''; } + echo ""; } - else { echo '';} } ?> - + + '; + echo '

'.$lang_label["listGroupUser"]."

"; + echo '
'; + $color=1; while ($row=mysql_fetch_array($result)){ - echo '
'; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo ''; echo "".dame_perfil($row["id_perfil"])." / "; echo "".dame_grupo($row["id_grupo"]).""; - echo ''; + echo '
'.$lang_label["no_profile"]; } + else { echo '
'.$lang_label["no_profile"].'
'; + echo ''; + } + ?>
diff --git a/pandora_console/include/config.php b/pandora_console/include/config.php index c8f52b56d2..209165a41a 100644 --- a/pandora_console/include/config.php +++ b/pandora_console/include/config.php @@ -1,12 +1,23 @@ , 2003-2006 -// Raul Mateos , 2005-2006 +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// Base config file +// This is the base config file //Pandora Version diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 0888d8b637..01e89702d8 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -1,10 +1,21 @@ , 2003-2006 -// Raul Mateos , 2005-2006 +// Pandora - the Free monitoring system +// ==================================== +// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com +// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas, info@artica.es +// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Functions @@ -82,7 +93,7 @@ function comprueba_login() { return 0 ; } } - require("../general/noaccess.php"); + require("general/noaccess.php"); return 1; } diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index b8b947a347..cc9b914092 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -93,7 +93,7 @@ td.datos_jus, td.datos2_jus {text-align: justify;} .w135, .w135datos, .w35datos2 {width: 135px;} .w140 {width: 140px;} .w155, .w155f10 {width: 155px;} -.top, .bgt, .f9130t, td.datost {vertical-align: top;} +.top, .bgt, .f9130t, td.datost, td.datos2t {vertical-align: top;} .bot, .titb, td.datosb {vertical-align: bottom;} .w180 {width: 180px;} .w200 {width: 200px;} diff --git a/pandora_console/index.php b/pandora_console/index.php index 09ba9b89bc..1fa84b33a2 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -1,4 +1,5 @@ -