2015-06-29 10:33:01 +02:00
|
|
|
<?php
|
2022-10-26 12:02:56 +02:00
|
|
|
/**
|
|
|
|
* Custom fields first task.
|
|
|
|
*
|
|
|
|
* @category Custom Fields.
|
|
|
|
* @package Pandora FMS
|
|
|
|
* @subpackage Opensource
|
|
|
|
* @version 1.0.0
|
|
|
|
* @license See below
|
|
|
|
*
|
|
|
|
* ______ ___ _______ _______ ________
|
|
|
|
* | __ \.-----.--.--.--| |.-----.----.-----. | ___| | | __|
|
|
|
|
* | __/| _ | | _ || _ | _| _ | | ___| |__ |
|
|
|
|
* |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
|
|
|
|
*
|
|
|
|
* ============================================================================
|
|
|
|
* Copyright (c) 2005-2022 Artica Soluciones Tecnologicas
|
|
|
|
* Please see http://pandorafms.org for full contribution list
|
|
|
|
* 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 for version 2.
|
|
|
|
* 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.
|
|
|
|
* ============================================================================
|
|
|
|
*/
|
2015-07-02 15:24:39 +02:00
|
|
|
|
2022-10-26 12:02:56 +02:00
|
|
|
// Load globals.
|
2015-06-29 10:33:01 +02:00
|
|
|
global $config;
|
2019-01-30 16:18:44 +01:00
|
|
|
check_login();
|
2019-11-21 18:21:46 +01:00
|
|
|
ui_require_css_file('first_task');
|
2015-06-29 10:33:01 +02:00
|
|
|
?>
|
2019-01-30 16:18:44 +01:00
|
|
|
<?php
|
|
|
|
ui_print_info_message(['no_close' => true, 'message' => __('There are no custom fields defined yet.') ]);
|
2015-06-29 10:33:01 +02:00
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="new_task">
|
2019-01-30 16:18:44 +01:00
|
|
|
<div class="image_task">
|
2019-11-21 18:21:46 +01:00
|
|
|
<?php echo html_print_image('images/first_task/icono_grande_reconserver.png', true, ['title' => __('Custom Fields')]); ?>
|
2019-01-30 16:18:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="text_task">
|
2022-10-26 12:02:56 +02:00
|
|
|
<h3> <?php echo __('Create Custom Fields'); ?></h3><p id="description_task">
|
2019-01-30 16:18:44 +01:00
|
|
|
<?php
|
|
|
|
echo __(
|
|
|
|
"Custom fields are an easy way to personalized agent's information.
|
|
|
|
You're able to create custom fields by klicking on 'Administration' -> 'Manage monitoring' -> 'Manage custom fields'. "
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
<form action="index.php?sec=gagente&sec2=godmode/agentes/configure_field" method="post">
|
2022-10-26 12:02:56 +02:00
|
|
|
<?php
|
|
|
|
html_print_div(
|
|
|
|
[
|
|
|
|
'class' => 'action-buttons',
|
|
|
|
'content' => html_print_submit_button(
|
|
|
|
__('Create Custom Fields'),
|
|
|
|
'button_task',
|
|
|
|
false,
|
|
|
|
[ 'icon' => 'next' ],
|
|
|
|
true
|
|
|
|
),
|
|
|
|
]
|
|
|
|
);
|
|
|
|
?>
|
2019-01-30 16:18:44 +01:00
|
|
|
<input type="submit" class="button_task" value="<?php echo __('Create Custom Fields'); ?>" />
|
|
|
|
</form>
|
|
|
|
</div>
|
2015-06-29 10:33:01 +02:00
|
|
|
</div>
|