2006-03-27 05:37:27 +02:00
< ? php
2006-10-04 18:15:20 +02:00
2009-06-08 20:26:14 +02:00
// Pandora FMS - http://pandorafms.com
// ==================================================
2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
index.php, ajax.php, operation/search_*.php, operation/menu.php,
operation/extensions.php, godmode/menu.php, godmode/extensions.php,
admin_access_logs.php: Cleaned code and updated page disclaimers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 23:01:01 +01:00
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
2008-08-22 20:07:32 +02:00
2006-10-04 18:15:20 +02:00
// This program is free software; you can redistribute it and/or
2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
extensions/update_manager.php, extensions/users_connected.php,
extensions/extension_uploader.php, extensions/insert_data.php,
extensions/module_groups.php, extensions/plugin_registration.php,
extensions/agent_modules.php, extensions/resource_registration.php,
extensions/resource_exportation.php, extensions/dbmanager.php,
extensions/pandora_logs.php, general/*.php, ajax.php,
operation/search_*.php, operation/menu.php, operation/extensions.php,
godmode/menu.php, godmode/extensions.php, godmode/admin_access_logs.php:
CReverted unwanted license changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 17:13:28 +01:00
// modify it under the terms of the GNU General Public License
2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
index.php, ajax.php, operation/search_*.php, operation/menu.php,
operation/extensions.php, godmode/menu.php, godmode/extensions.php,
admin_access_logs.php: Cleaned code and updated page disclaimers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 23:01:01 +01:00
// as published by the Free Software Foundation; version 2
2006-10-04 18:15:20 +02:00
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
index.php, ajax.php, operation/search_*.php, operation/menu.php,
operation/extensions.php, godmode/menu.php, godmode/extensions.php,
admin_access_logs.php: Cleaned code and updated page disclaimers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 23:01:01 +01:00
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2006-10-04 18:15:20 +02:00
// GNU General Public License for more details.
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
if ( isset ( $config [ " homedir " ])) {
2013-04-22 12:31:20 +02:00
$homedir = $config [ " homedir " ] . '/' ;
}
else {
$homedir = '' ;
}
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
2013-04-22 12:31:20 +02:00
include_once ( $homedir . 'include/functions_ui.php' );
include_once ( $homedir . 'include/functions.php' );
include_once ( $homedir . 'include/functions_html.php' );
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
if ( ! isset ( $login_screen )) {
2013-04-22 12:31:20 +02:00
$login_screen = 'login' ;
}
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
switch ( $login_screen ) {
2013-04-22 12:31:20 +02:00
case 'login' :
$logo_link = 'http://www.pandorafms.com' ;
$logo_title = __ ( 'Go to Pandora FMS Website' );
break ;
case 'logout' :
2014-12-11 16:18:26 +01:00
case 'double_auth' :
2013-04-22 12:31:20 +02:00
$logo_link = 'index.php' ;
$logo_title = __ ( 'Go to Login' );
break ;
default :
error_reporting ( 0 );
$error_info = ui_get_error ( $login_screen );
$logo_link = 'index.php' ;
$logo_title = __ ( 'Refresh' );
break ;
}
2009-01-07 11:42:38 +01:00
$url = '?login=1' ;
2008-12-23 22:41:05 +01:00
//These variables come from index.php
if ( ! empty ( $page ) && ! empty ( $sec )) {
foreach ( $_GET as $key => $value ) {
2010-08-18 13:35:42 +02:00
$url .= '&' . safe_url_extraclean ( $key ) . '=' . safe_url_extraclean ( $value );
2008-12-23 22:41:05 +01:00
}
2007-08-06 13:44:49 +02:00
}
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
$login_body_style = '' ;
2014-03-27 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_config.php,
godmode/setup/setup_visuals.php,
general/login_page.php: Now is possible to select a
custom login background in the setup visuals section.
* images/backgrounds/default_4.0-stripes.gif,
images/backgrounds/default_4.0.jpg,
images/backgrounds/default_5.0.png,
images/backgrounds/flowers.jpg,
images/backgrounds/grass.jpg,
images/backgrounds/tiles.jpg,
images/backgrounds/wall.jpg,
images/backgrounds/wood.jpg: Added new images to use
it as custom login backgrounds.
* images/backgrounds/background1.jpg,
images/backgrounds/background2.jpg,
images/backgrounds/background3.jpg,
images/backgrounds/background4.jpg,
images/backgrounds/background5.jpg,
images/backgrounds/background6.jpg,
images/backgrounds/background7.jpg,
images/backgrounds/background8.jpg,
images/backgrounds/background9.jpg,
images/backgrounds/background10.jpg,
images/backgrounds/background_red.jpg: Delete some
VERY old images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-27 12:49:00 +01:00
// Overrides the default background with the defined by the user
if ( ! empty ( $config [ 'login_background' ])) {
$background_url = ui_get_full_url ( " images/backgrounds/ " ) . $config [ 'login_background' ];
$login_body_style = " style= \" background-image: url(' $background_url '); \" " ;
}
echo '<div id="login_body" ' . $login_body_style . '></div>' ;
2015-04-24 13:45:13 +02:00
echo '<div class="login_page"><div id="login_outer">' ;
2011-07-06 13:57:27 +02:00
echo '<div class="databox_login" id="login">' ;
2013-04-22 12:31:20 +02:00
echo '<div id="login_inner">' ;
2009-12-04 13:12:04 +01:00
2015-04-24 13:45:13 +02:00
echo '<div id="login_in">' ;
2015-06-08 13:13:09 +02:00
echo ' < div class = " version_login " >
< div style = " padding-top: 2px; color: #FFF; " > ' . $pandora_version . ' </ div ></ div > ' ;
2015-04-24 13:45:13 +02:00
echo '<form method="post" action="' . ui_get_full_url ( 'index.php' . $url ) . '" >' ;
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
2013-04-22 12:31:20 +02:00
//TODO: Put branding in variables (external file) or database
/* CUSTOM BRANDING STARTS HERE */
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
2013-04-22 12:31:20 +02:00
// Replace the following with your own URL and logo.
// A mashup of the Pandora FMS logo and your companies highly preferred
2015-04-24 13:45:13 +02:00
echo '<table id="login_layout">' ;
echo '<tr style="height:15px;"><td>' ;
2014-06-03 18:59:55 +02:00
echo '<div class="login_links">' ;
2016-09-19 16:20:18 +02:00
echo '<a href="http://wiki.pandorafms.com/" target="_blank">' . __ ( 'Docs' ) . '</a>' ;
2014-06-03 18:59:55 +02:00
echo ' | ' ;
2016-09-19 16:20:18 +02:00
echo '<a href="https://pandorafms.com/monitoring-services/support/" target="_blank">' . __ ( 'Support' ) . '</a>' ;
2014-06-03 18:59:55 +02:00
echo '</div>' ;
2015-04-24 13:45:13 +02:00
echo '</td></tr>' ;
echo ' < tr >
< td class = " login_border " rowspan = 2 style = " width: 160px; " > ' ;
echo '<a href="' . $logo_link . '">' ;
if ( defined ( 'METACONSOLE' )) {
2016-10-03 13:36:04 +02:00
if ( ! isset ( $config [ " custom_logo_login " ])){
2016-10-03 12:27:59 +02:00
html_print_image ( " images/custom_logo_login/login_logo.png " , false , array ( " class " => " login_logo " , " alt " => " logo " , " border " => 0 , " title " => $logo_title ), false , true );
}
else {
html_print_image ( " images/custom_logo_login/ " . $config [ 'custom_logo_login' ], false , array ( " class " => " login_logo " , " alt " => " logo " , " border " => 0 , " title " => $logo_title ), false , true );
}
}
2015-04-24 13:45:13 +02:00
else if ( defined ( 'PANDORA_ENTERPRISE' )) {
2016-10-03 13:36:04 +02:00
if ( ! isset ( $config [ " custom_logo_login " ])){
2016-10-03 12:27:59 +02:00
html_print_image ( " images/custom_logo_login/login_logo.png " , false , array ( " class " => " login_logo " , " alt " => " logo " , " border " => 0 , " title " => $logo_title ), false , true );
}
else {
2016-09-28 13:26:58 +02:00
html_print_image ( " images/custom_logo_login/ " . $config [ 'custom_logo_login' ], false , array ( " class " => " login_logo " , " alt " => " logo " , " border " => 0 , " title " => $logo_title ), false , true );
2016-10-03 12:27:59 +02:00
}
2015-04-24 13:45:13 +02:00
}
else {
2016-10-03 13:36:04 +02:00
if ( ! isset ( $config [ " custom_logo_login " ])){
2016-10-03 12:27:59 +02:00
html_print_image ( " images/custom_logo_login/login_logo.png " , false , array ( " class " => " login_logo " , " alt " => " logo " , " border " => 0 , " title " => $logo_title ), false , true );
}
else {
2016-09-28 13:26:58 +02:00
html_print_image ( " images/custom_logo_login/ " . $config [ 'custom_logo_login' ], false , array ( " class " => " login_logo " , " alt " => " logo " , " border " => 0 , " title " => $logo_title ), false , true );
2016-10-03 12:27:59 +02:00
}
2016-09-28 13:26:58 +02:00
echo " <br><span style='font-size:120%;color:white;top:10px;position:relative;'>Community edition</span> " ;
2015-04-24 13:45:13 +02:00
}
echo '</a>' ;
// This prints the current pandora console version.
// For stable/live function it might be wise to comment it out
2016-09-19 16:20:18 +02:00
2015-04-24 13:45:13 +02:00
/* CUSTOM BRANDING ENDS HERE */
2016-06-20 19:05:21 +02:00
echo '</td><td style="padding-top: 15px; position:absolute;">' ;
2016-09-19 16:20:18 +02:00
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
switch ( $login_screen ) {
2013-04-22 12:31:20 +02:00
case 'login' :
if ( ! empty ( $page ) && ! empty ( $sec )) {
foreach ( $_POST as $key => $value ) {
html_print_input_hidden ( $key , $value );
}
}
2016-02-17 13:05:22 +01:00
if ( $config [ 'auth' ] == 'saml' ) {
2016-05-30 10:23:33 +02:00
echo '<div id="log_nick" class="login_nick" style="display: none;">' ;
2016-05-27 13:59:19 +02:00
html_print_image ( " /images/usuario_login.png " , false );
html_print_input_text_extended ( " nick " , '' , " nick " , '' , '' , '' , false ,
2016-05-30 10:23:33 +02:00
'' , 'id="nick_text" class="login login_user" placeholder="' . __ ( 'User' ) . '"' );
2016-05-27 13:59:19 +02:00
echo '</div>' ;
2016-05-30 10:23:33 +02:00
echo '<div id="log_pass" class="login_pass" style="display: none;">' ;
2016-05-27 13:59:19 +02:00
html_print_image ( " /images/candado_login.png " , false );
html_print_input_text_extended ( " pass " , '' , " pass " , '' , '' , '' , false ,
'' , 'id="pass_text" class="login login_password" placeholder="' . __ ( 'Password' ) . '"' , false , true );
echo '</div>' ;
echo '<div id="log_button" class="login_button" style="display: none;">' ;
html_print_submit_button ( __ ( " Login as admin " ), " login_button " , false , 'class="sub next_login"' );
echo '</div>' ;
echo '<div style="padding-left: 50px !important">' ;
echo '<input type="button" id="input_saml" class="next_login" style="width: 150px;" value="Login as admin" onclick="show_normal_menu()">' ;
echo '<br><br>' ;
echo '<div class="saml_button">' ;
html_print_submit_button ( __ ( " Login with SAML " ), " login_button_saml " , false , 'class="next_login" style="width: 150px;' );
echo '</div>' ;
echo '</div>' ;
2016-02-17 13:05:22 +01:00
}
2016-02-18 12:29:50 +01:00
else {
2016-05-27 13:59:19 +02:00
echo '<div class="login_nick">' ;
html_print_image ( " /images/usuario_login.png " , false );
html_print_input_text_extended ( " nick " , '' , " nick " , '' , '' , '' , false ,
'' , 'class="login login_user" placeholder="' . __ ( 'User' ) . '"' );
echo '</div><br />' ;
echo '<div class="login_pass">' ;
html_print_image ( " /images/candado_login.png " , false );
html_print_input_text_extended ( " pass " , '' , " pass " , '' , '' , '' , false ,
'' , 'class="login login_password" placeholder="' . __ ( 'Password' ) . '"' , false , true );
echo '</div>' ;
echo '<div class="login_button">' ;
2016-02-18 12:29:50 +01:00
html_print_submit_button ( __ ( " Login " ), " login_button " , false , 'class="sub next_login"' );
2016-05-27 13:59:19 +02:00
echo '</div>' ;
2016-02-18 12:29:50 +01:00
}
2016-05-27 13:59:19 +02:00
2013-04-22 12:31:20 +02:00
break ;
case 'logout' :
echo '<h1 id="log_title">' . __ ( 'Logged out' ) . '</h1>' ;
echo '<p class="log_in">' ;
echo __ ( 'Your session is over. Please close your browser window to close this Pandora session.' ) . '<br /><br />' ;
echo '</p>' ;
break ;
2014-12-11 16:18:26 +01:00
case 'double_auth' :
if ( ! empty ( $page ) && ! empty ( $sec )) {
foreach ( $_POST as $key => $value ) {
html_print_input_hidden ( $key , $value );
}
}
echo '<div class="login_double_auth_code_text">' ;
echo __ ( 'Authenticator code' ) . '<br>' ;
echo '</div>' ;
echo '<div class="login_double_auth_code">' ;
html_print_input_text_extended ( " auth_code " , '' , " auth_code " , '' , '' , '' , false , '' , 'class="login login_password"' , false , true );
echo '</div>' ;
echo '<div class="login_button">' ;
html_print_submit_button ( __ ( " Check code " ) . ' >' , " login_button " , false , 'class="sub next_login"' );
echo '</div>' ;
break ;
2013-04-22 12:31:20 +02:00
default :
2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
the source code style.
* godmode/setup/os.builder.php: fixed the form.
* godmode/update_manager_xxx/*, godmode/menu.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/graphs/functions_gd.php, include/graphs/functions_flot.php,
include/config_process.php, include/javascript/update_manager.js,
include/javascript/jquery.knob.js,
include/javascript/jquery.iframe-transport.js,
include/javascript/jquery.fileupload.js, images/check-cross.png:
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 15:33:55 +02:00
if ( isset ( $error_info )) {
2013-04-22 12:31:20 +02:00
echo '<h1 id="log_title">' . $error_info [ 'title' ] . '</h1>' ;
echo '<div id="error_buttons">' ;
2015-05-27 12:36:40 +02:00
echo '<a href="index.php">' . html_print_image ( $config [ 'homeurl' ] . '/images/refresh_white.png' , true , array ( 'title' => __ ( 'Refresh' )), false , true ) . '</a>' ;
echo '<a href="javascript: modal_alert_critical()">' . html_print_image ( $config [ 'homeurl' ] . '/images/help_white.png' , true , array ( 'title' => __ ( 'View details' )), false , true ) . '</a>' ;
2013-04-22 12:31:20 +02:00
echo '</div>' ;
echo '<div id="log_msg">' ;
echo $error_info [ 'message' ];
echo '</div>' ;
}
break ;
2012-03-27 19:00:55 +02:00
}
2014-06-03 18:59:55 +02:00
echo '</td></tr></table>' ;
2012-03-27 19:00:55 +02:00
echo ' </ form >
2006-03-27 05:37:27 +02:00
</ div >
2013-04-22 12:31:20 +02:00
</ div >
</ div >
2015-04-24 13:45:13 +02:00
</ div >
2009-03-16 18:50:06 +01:00
</ div > ' ;
2014-10-24 11:01:58 +02:00
if ( defined ( 'METACONSOLE' )) {
2015-04-24 13:45:13 +02:00
echo '<div id="ver_num">' ;
2014-10-24 11:01:58 +02:00
}
else {
echo '<div id="ver_num">' ;
}
echo $pandora_version . (( $develop_bypass == 1 ) ? ' ' . __ ( 'Build' ) . ' ' . $build_version : '' ) . '</div>' ;
2012-01-27 13:48:18 +01:00
2012-03-27 19:00:55 +02:00
if ( isset ( $login_failed )) {
2012-04-12 11:26:51 +02:00
echo '<div id="login_failed" title="Login failed" style="">' ;
2012-03-27 19:00:55 +02:00
2015-04-28 15:29:15 +02:00
echo '<div style="position:absolute; top:0px; text-align: center; left:0%; right:0%; height:100px; width:400px; margin: 0 auto; ">' ;
2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* index.php, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
general/login_page.php, general/logon_failed.php,
godmode/users/configure_user.php, include/api.php,
include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: added the feature to set any user with
"not login" for only the user can work across the API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 20:06:04 +02:00
2012-04-27 20:21:26 +02:00
echo '<div id="error_login" style="margin-top: 20px">' ;
2012-04-18 10:08:04 +02:00
echo '<strong style="font-size: 10pt">' . $config [ " auth_error " ] . '</strong>' ;
2012-04-12 11:26:51 +02:00
echo '</div>' ;
2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* index.php, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
general/login_page.php, general/logon_failed.php,
godmode/users/configure_user.php, include/api.php,
include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: added the feature to set any user with
"not login" for only the user can work across the API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 20:06:04 +02:00
2012-04-12 11:26:51 +02:00
echo '<div id="error_login_icon">' ;
2012-04-27 20:21:26 +02:00
echo html_print_image ( 'images/error_login.png' , true , array ( " alt " => __ ( 'Login failed' ), " border " => 0 ));
2012-03-27 19:00:55 +02:00
echo '</div>' ;
2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* index.php, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
general/login_page.php, general/logon_failed.php,
godmode/users/configure_user.php, include/api.php,
include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: added the feature to set any user with
"not login" for only the user can work across the API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 20:06:04 +02:00
2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_command.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/agentes/agent_template.php,
godmode/snmpconsole/snmp_alert.php, index.php,
operation/search_users.php,
operation/integria_incidents/incident.php,
operation/reporting/reporting_xml.php,
operation/agentes/exportdata.csv.php: cleaned source code style.
* general/login_help_dialog.php, general/login_page.php: fixed the
set to hidden window of info.
Fixes: #3604645
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 12:27:57 +01:00
echo '<div style="position:absolute; margin: 0 auto; top: 70px; left: 35%; ">' ;
2013-09-24 15:20:59 +02:00
html_print_submit_button ( " Ok " , 'hide-login-error' , false , 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"' );
2012-03-27 19:00:55 +02:00
echo '</div>' ;
echo '</div>' ;
2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* index.php, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
general/login_page.php, general/logon_failed.php,
godmode/users/configure_user.php, include/api.php,
include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: added the feature to set any user with
"not login" for only the user can work across the API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 20:06:04 +02:00
2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_command.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/agentes/agent_template.php,
godmode/snmpconsole/snmp_alert.php, index.php,
operation/search_users.php,
operation/integria_incidents/incident.php,
operation/reporting/reporting_xml.php,
operation/agentes/exportdata.csv.php: cleaned source code style.
* general/login_help_dialog.php, general/login_page.php: fixed the
set to hidden window of info.
Fixes: #3604645
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 12:27:57 +01:00
echo '</div>' ;
2012-03-27 19:00:55 +02:00
}
2012-01-27 13:48:18 +01:00
2014-12-11 18:49:04 +01:00
ui_require_css_file ( 'dialog' );
ui_require_css_file ( 'jquery-ui-1.10.0.custom' );
ui_require_jquery_file ( 'jquery-ui-1.10.0.custom' );
2012-03-27 19:00:55 +02:00
?>
2012-01-27 13:48:18 +01:00
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< ? php
if ( ! isset ( $login_failed )) {
2012-03-27 19:00:55 +02:00
?>
2012-05-08 10:55:35 +02:00
<!-- [ if lte IE 8 ] >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< div id = " dialog " title = " WARNING! You are using an outdated browser. " >
< div style = " position:absolute; top:20px; text-align: left; font-size: 9.5pt; line-height: 18px; left:0%; right:0%; margin: 0 auto; width:650px; border: 1px solid #FFF; " >
< ? php
echo __ ( " Pandora FMS frontend is built on advanced, modern technologies and does not support old browsers. " );
echo " <br> " . __ ( " It is highly recommended that you choose and install a modern browser. It is free of charge and only takes a couple of minutes. " );
?>
</ div >
< div style = " position: relative; top: 90px; margin: 0 auto; width: 650px; border: 1px solid #FFF; " >
< table style = " width: 650px; " >
2012-05-08 10:55:35 +02:00
< tr >
< td style = " width: 20%; " >
< a target = " _blank " style = " text-decoration: none; color: #6495ED; " href = " https://www.google.com/chrome " >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< img style = " width: 60px; " src = " images/google_chrome.png " />
< div style = " position: relative; top: 11px; " >
Google Chrome
< br />
< span style = " text-decoration: underline; " > Download page </ span >
</ div >
</ a >
2012-05-08 10:55:35 +02:00
</ td >
< td style = " font-size: 10px; line-height: 15px; width: 20%; " >
< a target = " _blank " style = " text-decoration: none; color: #6495ED; " href = " http://www.mozilla.org/en-US/firefox/fx/ " >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< img style = " width: 60px; " src = " images/mozilla_firefox.png " />
< div style = " position: relative; top: 5px; " >
Mozilla Firefox
< br />
< span style = " text-decoration: underline; " > Download page </ span >
</ div >
</ a >
</ td >
2012-05-08 10:55:35 +02:00
< td style = " width: 20%; " >
< a target = " _blank " style = " text-decoration: none; color: #6495ED; " href = " http://windows.microsoft.com/es-ES/internet-explorer/downloads/ie-9/worldwide-languages " >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< img style = " width: 63px; " src = " images/iexplorer.jpeg " />
< div style = " position: relative; top: 10px; " >
Internet Explorer
< br />
< span style = " text-decoration: underline; " > Download page </ span >
</ div >
</ a >
2012-05-08 10:55:35 +02:00
</ td >
< td style = " width: 20%; " >
< a target = " _blank " style = " text-decoration: none; color: #6495ED; " href = " http://www.opera.com/download/ " >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< img style = " width: 50px; " src = " images/opera_browser.png " />
< div style = " position: relative; top: 16px; " >
Opera browser
< br />
< span style = " text-decoration: underline; " > Download page </ span >
</ div >
</ a >
2012-05-08 10:55:35 +02:00
</ td >
< td style = " width: 20%; " >
< a target = " _blank " style = " text-decoration: none; color: #6495ED; " href = " http://www.apple.com/es/safari/download/ " >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< img style = " width: 60px; " src = " images/safari_browser.jpeg " />
< div style = " position: relative; top: 11px; " >
Apple safari
< br />
< span style = " text-decoration: underline; " > Download page </ span >
</ div >
</ a >
2012-05-08 10:55:35 +02:00
</ td >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
</ tr >
</ table >
2012-05-08 10:55:35 +02:00
</ div >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
< div style = " position: relative; top:120px; width:650px; margin: 0 auto; text-align: left; border: 1px solid #FFF; " >
< ? php
echo '<span style="font-size: 10pt; color: #2E2E2E; font-weight: bold;">' ;
2015-06-08 13:13:09 +02:00
echo __ ( 'Why is it recommended to upgrade the web browser?' );
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
echo '</span>' ;
echo '<span style="font-size: 9.5pt; line-height: 18px;">' ;
echo '<br><br>' .
__ ( 'New browsers usually come with support for new technologies, increasing web page speed, better privacy settings and so on. They also resolve security and functional issues.' );
echo '</span>' ;
?>
</ div >
< div style = " float:right; margin-top:160px; margin-right: 50px; width: 200px; " >
< a id = " close-dialog-browser " href = " # " style = " text-decoration: none; " >
< span style = " color: #6495ED; " >
< ? php
echo __ ( 'Continue despite this warning' );
?>
</ span >
</ a >
</ div >
</ div >
2012-03-27 19:00:55 +02:00
<! [ endif ] -->
< ? php
}
2012-01-27 13:48:18 +01:00
2013-04-22 12:31:20 +02:00
// Hidden div to forced title
html_print_div ( array ( 'id' => 'forced_title_layer' , 'class' => 'forced_title_layer' , 'hidden' => true ));
2012-01-27 13:48:18 +01:00
2013-04-22 12:31:20 +02:00
html_print_div ( array ( 'id' => 'modal_alert' , 'hidden' => true ));
2015-03-16 15:21:18 +01:00
?>
2009-03-16 18:50:06 +01:00
< script type = " text/javascript " language = " javascript " >
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
/* <![CDATA[ */
2016-05-27 13:59:19 +02:00
function show_normal_menu () {
document . getElementById ( 'input_saml' ) . style . display = 'none' ;
document . getElementById ( 'log_nick' ) . style . display = 'block' ;
document . getElementById ( 'log_pass' ) . style . display = 'block' ;
document . getElementById ( 'log_button' ) . style . display = 'inline' ;
2016-05-30 10:23:33 +02:00
document . getElementById ( 'log_nick' ) . className = 'login_nick' ;
document . getElementById ( 'log_pass' ) . className = 'login_pass' ;
2016-05-27 13:59:19 +02:00
}
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
2013-04-22 12:31:20 +02:00
function modal_alert_critical () {
$ ( " #modal_alert " ) . hide ()
. empty ()
. append ( $ ( '#log_msg' ) . html ())
. dialog ({
title : $ ( '#log_title' ) . html (),
resizable : true ,
draggable : false ,
modal : true ,
overlay : {
opacity : 0.5 ,
background : " black "
},
width : 500 ,
2015-04-28 15:29:15 +02:00
height : 200
2013-04-22 12:31:20 +02:00
})
. show ();
}
< ? php
switch ( $login_screen ) {
case 'error_authconfig' :
case 'error_emptyconfig' :
?>
// Auto popup
//modal_alert_critical();
< ? php
break ;
default :
?>
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
$ ( document ) . ready ( function () {
// IE9- modal warning window
$ ( function () {
$ ( " #dialog " ) . dialog ({
2012-01-27 13:48:18 +01:00
resizable : true ,
draggable : true ,
2012-03-27 19:00:55 +02:00
modal : true ,
2012-05-08 10:55:35 +02:00
height : 400 ,
width : 700 ,
2012-01-27 13:48:18 +01:00
overlay : {
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
opacity : 0.5 ,
2013-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/jquery-ui-1.10.0.custom.css,
include/styles/images/ui-*,
include/javascript/jquery.jquery-ui-1.10.0.custom.js,
include/javascript/jquery-1.9.0.js: added the last version of
jquery and jqueryUI.
* godmode/reporting/visual_console_builder.editor.js,
include/ajax/events.php, include/functions_events.php,
include/functions_reporting.php,
include/javascript/pandora_events.js,
include/javascript/jquery.scrollTo.js,
include/javascript/jquery.tablesorter.pager.js,
include/javascript/jquery.tablesorter.js, include/functions_ui.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php, extensions/agents_alerts.php,
operation/events/events.php, general/login_page.php,
general/logoff.php, general/header.php,
general/login_help_dialog.php: fixes about the new jquery and
jqueryUI version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 17:49:08 +01:00
background : " black " }
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
});
2012-05-08 10:55:35 +02:00
});
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
$ ( " #close-dialog-browser " ) . click ( function () {
$ ( " #dialog " ) . dialog ( 'close' )
});
$ ( function () {
$ ( " #login_failed " ) . dialog ({
2012-03-27 19:00:55 +02:00
resizable : true ,
draggable : true ,
modal : true ,
2015-04-28 15:29:15 +02:00
height : 160 ,
2013-06-13 17:03:07 +02:00
width : 400 ,
2012-03-27 19:00:55 +02:00
overlay : {
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
opacity : 0.5 ,
2013-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/jquery-ui-1.10.0.custom.css,
include/styles/images/ui-*,
include/javascript/jquery.jquery-ui-1.10.0.custom.js,
include/javascript/jquery-1.9.0.js: added the last version of
jquery and jqueryUI.
* godmode/reporting/visual_console_builder.editor.js,
include/ajax/events.php, include/functions_events.php,
include/functions_reporting.php,
include/javascript/pandora_events.js,
include/javascript/jquery.scrollTo.js,
include/javascript/jquery.tablesorter.pager.js,
include/javascript/jquery.tablesorter.js, include/functions_ui.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php, extensions/agents_alerts.php,
operation/events/events.php, general/login_page.php,
general/logoff.php, general/header.php,
general/login_help_dialog.php: fixes about the new jquery and
jqueryUI version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 17:49:08 +01:00
background : " black " }
2012-03-27 19:00:55 +02:00
});
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
});
$ ( " #submit-hide-login-error " ) . click ( function () {
$ ( " #login_failed " ) . dialog ( 'close' )
});
});
2012-03-27 19:00:55 +02:00
2013-02-26 17:31:40 +01:00
$ ( '#nick' ) . focus ();
2013-04-22 12:31:20 +02:00
< ? php
}
?>
2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 19:01:22 +02:00
/* ]]> */
2013-04-22 12:31:20 +02:00
</ script >