mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2008-09-19 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php, godmode/agentes/module_manager_editor_wmi.php, godmode/agentes/module_manager_editor_plugin.php, godmode/agentes/module_manager_editor_prediction.php, godmode/agentes/module_manager_editor_data.php, godmode/servers/manage_export.php, godmode/servers/manage_export_form.php: Fixed some strings. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4bc63b5df6
commit
6ade5177c9
@ -1,3 +1,13 @@
|
|||||||
|
2008-09-19 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager_editor_network.php,
|
||||||
|
godmode/agentes/module_manager_editor_wmi.php,
|
||||||
|
godmode/agentes/module_manager_editor_plugin.php,
|
||||||
|
godmode/agentes/module_manager_editor_prediction.php,
|
||||||
|
godmode/agentes/module_manager_editor_data.php,
|
||||||
|
godmode/servers/manage_export.php,
|
||||||
|
godmode/servers/manage_export_form.php: Fixed some strings.
|
||||||
|
|
||||||
2008-09-18 Ramon Novoa <rnovoa@artica.es>
|
2008-09-18 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* include/config_process.php,
|
* include/config_process.php,
|
||||||
|
@ -127,7 +127,7 @@ echo '<td class="datos2">'.__('Post process');
|
|||||||
pandora_help("postprocess");
|
pandora_help("postprocess");
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '<td class="datos2"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
echo '<td class="datos2"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
||||||
echo '<td class="datos2">'.__('Export server')."</td>";
|
echo '<td class="datos2">'.__('Export target')."</td>";
|
||||||
echo '<td class="datos2"><select name="form_id_export">';
|
echo '<td class="datos2"><select name="form_id_export">';
|
||||||
if ($form_id_export != 0){
|
if ($form_id_export != 0){
|
||||||
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
||||||
|
@ -229,7 +229,7 @@ echo '<td class="datos">'.__('Post process');
|
|||||||
pandora_help ("postprocess");
|
pandora_help ("postprocess");
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '<td class="datos"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
echo '<td class="datos"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
||||||
echo '<td class="datos">'.__('Export server')."</td>";
|
echo '<td class="datos">'.__('Export target')."</td>";
|
||||||
echo '<td class="datos"><select name="form_id_export">';
|
echo '<td class="datos"><select name="form_id_export">';
|
||||||
if ($form_id_export != 0){
|
if ($form_id_export != 0){
|
||||||
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
||||||
|
@ -191,7 +191,7 @@ echo '<td class="datos">'.__('Post process');
|
|||||||
pandora_help ("postprocess");
|
pandora_help ("postprocess");
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '<td class="datos"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
echo '<td class="datos"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
||||||
echo '<td class="datos">'.__('Export server')."</td>";
|
echo '<td class="datos">'.__('Export target')."</td>";
|
||||||
echo '<td class="datos"><select name="form_id_export">';
|
echo '<td class="datos"><select name="form_id_export">';
|
||||||
if ($form_id_export != 0){
|
if ($form_id_export != 0){
|
||||||
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
||||||
|
@ -151,7 +151,7 @@ while ($row=mysql_fetch_array($result)){
|
|||||||
}
|
}
|
||||||
echo '</select>';
|
echo '</select>';
|
||||||
|
|
||||||
echo '<td class="datos">'.__('Export server')."</td>";
|
echo '<td class="datos">'.__('Export target')."</td>";
|
||||||
echo '<td class="datos"><select name="form_id_export">';
|
echo '<td class="datos"><select name="form_id_export">';
|
||||||
if ($form_id_export != 0){
|
if ($form_id_export != 0){
|
||||||
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
||||||
|
@ -218,7 +218,7 @@ echo '<td class="datos2">'.__('Post process');
|
|||||||
pandora_help("postprocess");
|
pandora_help("postprocess");
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '<td class="datos2"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
echo '<td class="datos2"><input type="text" name="form_post_process" size="5" value="'.$form_post_process.'"></td>';
|
||||||
echo '<td class="datos2">'.__('Export server')."</td>";
|
echo '<td class="datos2">'.__('Export target')."</td>";
|
||||||
echo '<td class="datos2"><select name="form_id_export">';
|
echo '<td class="datos2"><select name="form_id_export">';
|
||||||
if ($form_id_export != 0){
|
if ($form_id_export != 0){
|
||||||
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
echo "<option value='".$form_id_export."'>".dame_nombre_servidorexportacion($form_id_export)."</option>";
|
||||||
|
@ -63,9 +63,9 @@ if ($update) {
|
|||||||
if ($delete) {
|
if ($delete) {
|
||||||
$sql = sprintf("DELETE FROM tserver_export WHERE id = '%d'", $delete);
|
$sql = sprintf("DELETE FROM tserver_export WHERE id = '%d'", $delete);
|
||||||
if (process_sql ($sql) === false) {
|
if (process_sql ($sql) === false) {
|
||||||
echo '<h3 class="error">'.__('Error deleting export server').'</h3>';
|
echo '<h3 class="error">'.__('Error deleting export target').'</h3>';
|
||||||
} else {
|
} else {
|
||||||
echo '<h3 class="suc">'.__('Succesfully deleted export server').'</h3>';
|
echo '<h3 class="suc">'.__('Succesfully deleted export target').'</h3>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,14 +79,14 @@ if ($create) {
|
|||||||
$user, $password, $port, $directory, $options);
|
$user, $password, $port, $directory, $options);
|
||||||
|
|
||||||
if (process_sql ($sql) === false) {
|
if (process_sql ($sql) === false) {
|
||||||
echo '<h3 class="error">'.__('Error creating recon task').'</h3>';
|
echo '<h3 class="error">'.__('Error creating export target').'</h3>';
|
||||||
} else {
|
} else {
|
||||||
echo '<h3 class="suc">'.__('Successfully created recon task').'</h3>';
|
echo '<h3 class="suc">'.__('Successfully created export target').'</h3>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// List export servers
|
// List export servers
|
||||||
echo "<h2>".__('Pandora servers')." > ".__('Manage export targets')."</h2>";
|
echo "<h2>".__('Pandora servers')." > ".__('export targets')."</h2>";
|
||||||
|
|
||||||
$result = get_db_all_rows_in_table ("tserver_export");
|
$result = get_db_all_rows_in_table ("tserver_export");
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
|
@ -23,7 +23,7 @@ check_login ();
|
|||||||
|
|
||||||
if (! give_acl ($config['id_user'], 0, "PM")) {
|
if (! give_acl ($config['id_user'], 0, "PM")) {
|
||||||
audit_db ($config['id_user'], $REMOTE_ADDR, "ACL Violation",
|
audit_db ($config['id_user'], $REMOTE_ADDR, "ACL Violation",
|
||||||
"Trying to access Agent Management");
|
"Trying to access Export Server Management");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ else {
|
|||||||
$options = '';
|
$options = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<h2>'.__('Pandora servers').' > '.__('Manage export servers');
|
echo '<h2>'.__('Pandora servers').' > '.__('export targets');
|
||||||
//pandora_help ("exportserver");
|
//pandora_help ("exportserver");
|
||||||
echo '</h2>';
|
echo '</h2>';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user