-Update help references

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@12 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2006-04-20 17:45:39 +00:00
parent bf28867b70
commit c978179748
18 changed files with 20 additions and 20 deletions

View File

@ -221,7 +221,7 @@ if (comprueba_login() == 0)
} else { // Form view
?>
<h2><?php echo $lang_label["agent_conf"] ?><a href="help/chap3_en.php#323" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>
<h2><?php echo $lang_label["agent_conf"] ?><a href="help/<?php echo substr($language_code,0,2);?>/chap3.php#323" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>
<h3><?php echo $lang_label["config_manage"]; ?></h3>
<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/config&operacion=1">
<table width=450 border=0 cellspacing=3 cellpadding=5>

View File

@ -568,7 +568,7 @@ if (give_acl($id_user, 0, "AW")==1) {
}
?>
<h2><?php echo $lang_label["agent_conf"]; ?><a href="help/chap3_en.php#32" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>
<h2><?php echo $lang_label["agent_conf"]; ?><a href="help/<?php echo substr($language_code,0,2);?>/chap3.php#32" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>
<?php
if (isset($_GET["creacion"])){echo "<h3>".$lang_label["create_agent"]."</h3>";}
else {echo "<h3>".$lang_label["update_agent"]."</h3>";}

View File

@ -124,7 +124,7 @@ if (comprueba_login() == 0)
}
unset($id_perfil);
}
echo '<h2>'.$lang_label["profile_title"].'<a href="help/chap2_en.php#21" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>';
echo '<h2>'.$lang_label["profile_title"].'<a href="help/'.substr($language_code,0,2).'/chap2.php#21" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>';
echo (isset($_GET["new_profile"]))?
("<h3>".$lang_label["create_profile"]."</h3>"):
((isset($_GET["edit_profile"]))?("<h3>".$lang_label["update_profile"]."</h3>"):

View File

@ -27,7 +27,7 @@ if (comprueba_login() == 0)
}
?>
<h2><?php echo $lang_label["user_management"] ?><a href="help/chap2_en.php#22" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>
<h2><?php echo $lang_label["user_management"] ?><a href="help/<?php echo substr($language_code,0,2);?>/chap2.php#22" target="_help"><img src="images/ayuda.gif" border="0" class="help"></a></h2>
<h3><?php echo $lang_label["users"] ?></h3>
<table cellpadding=3 cellspacing=3 width=550>

View File

@ -12,7 +12,7 @@ if (comprueba_login() == 0){
$iduser_temp=$_SESSION['id_usuario'];
if (give_acl($iduser_temp, 0, "AR") == 1){
echo "<h2>".$lang_label["ag_title"]."</h2>";
echo "<h3>".$lang_label["db_stat_agent"]."<a href='help/chap3_en.php#337' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["db_stat_agent"]."<a href='help/".substr($language_code,0,2)."/chap3.php#337' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<table border=0>";
echo "<tr><td><img src='reporting/fgraph.php?tipo=db_agente_modulo'><br>";
echo "<tr><td><br>";

View File

@ -24,7 +24,7 @@ if (comprueba_login() == 0) {
$ag_group = $_GET["ag_group_refresh"];
}
echo "<h2>".$lang_label["ag_title"]."</h2>";
echo "<h3>".$lang_label["summary"]."<a href='help/chap3_en.php#331' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["summary"]."<a href='help/".substr($language_code,0,2)."/chap3.php#331' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
$iduser_temp=$_SESSION['id_usuario'];

View File

@ -15,7 +15,7 @@ if (comprueba_login() == 0) {
$query_gen='SELECT talerta_agente_modulo.id_alerta, talerta_agente_modulo.descripcion, talerta_agente_modulo.last_fired, talerta_agente_modulo.times_fired, tagente_modulo.nombre, talerta_agente_modulo.dis_max, talerta_agente_modulo.dis_min, talerta_agente_modulo.max_alerts, talerta_agente_modulo.time_threshold, talerta_agente_modulo.min_alerts, talerta_agente_modulo.id_agente_modulo, tagente_modulo.id_agente_modulo FROM tagente_modulo, talerta_agente_modulo WHERE tagente_modulo.id_agente = '.$id_agente.' AND tagente_modulo.id_agente_modulo = talerta_agente_modulo.id_agente_modulo';
$result_gen=mysql_query($query_gen);
if (mysql_num_rows ($result_gen)) {
echo "<h3>".$lang_label["alert_listing"]."<a href='help/chap3_en.php#3324' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["alert_listing"]."<a href='help/".substr($language_code,0,2)."/chap3.php#3324' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<table cellpadding='3' cellspacing='3' width=750 border=0>";
echo "<tr><th>".$lang_label["type"]."<th>".$lang_label["name"]."</th><th>".$lang_label["description"]."</th><th>".$lang_label["min_max"]."</th><th>".$lang_label["time_threshold"]."</th><th>".$lang_label["last_fired"]."</th><th>".$lang_label["times_fired"]."</th><th>".$lang_label["status"]."</th>";
@ -40,7 +40,7 @@ if (comprueba_login() == 0) {
else
{
echo "<h2>".$lang_label["ag_title"]."</h2>";
echo "<h3>".$lang_label["alert_listing"]."<a href='help/chap3_en.php#335' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["alert_listing"]."<a href='help/".substr($language_code,0,2)."/chap3.php#335' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
$iduser_temp=$_SESSION['id_usuario'];
if (isset($_POST["ag_group"]))
$ag_group = $_POST["ag_group"];

View File

@ -49,7 +49,7 @@ if (comprueba_login() == 0) {
}
echo "<h2>".$lang_label["ag_title"]."</h2>";
echo "<h3>".$lang_label["view_agent_general_data"]."<a href='help/chap3_en.php#3321' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["view_agent_general_data"]."<a href='help/".substr($language_code,0,2)."/chap3.php#3321' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo '<table cellspacing=3 cellpadding=3 border=0 width=750>';
echo '<tr><td class="datos"><b>'.$lang_label["agent_name"].'</b> <td class="datos">'.salida_limpia($nombre_agente);

View File

@ -20,7 +20,7 @@ if (comprueba_login() == 0) {
if (mysql_num_rows ($result_t)) {
echo "<h3>".$lang_label["monitor_listing"]."<a href='help/chap3_en.php#3323' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["monitor_listing"]."<a href='help/".substr($language_code,0,2)."/chap3.php#3323' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<table width='750' cellpadding=3 cellspacing=3>";
echo "<tr><th>".$lang_label["type"]."<th>".$lang_label["module_name"]."<th>".$lang_label["description"]."<th>".$lang_label["status"]."<th>".$lang_label["interval"]."<th>".$lang_label["last_contact"];
while ($row_t=mysql_fetch_array($result_t)){

View File

@ -55,7 +55,7 @@ if (comprueba_login() == 0) {
$last_label = "";
$result3=mysql_query($sql3);
if (mysql_num_rows ($result3)) {
echo "<h3>".$lang_label["last_data_chunk"]."<a href='help/chap3_en.php#3322' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["last_data_chunk"]."<a href='help/".substr($language_code,0,2)."/chap3.php#3322' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<table width='750' cellpadding='3' cellspacing='3'><th>X<th>".$lang_label["module_name"];
echo "<th>".$lang_label["type"]."<th>".$lang_label["int"]."<th>".$lang_label["description"]."<th>".$lang_label["data"]."<th>".$lang_label["graph"]."<th>".$lang_label["raw_data"]."<th>".$lang_label["timestamp"];
$texto='';

View File

@ -64,7 +64,7 @@ if (comprueba_login() == 0)
} else { // Form view
?>
<h2><?php echo $lang_label["ag_title"] ?></h2>
<h3><?php echo $lang_label["export_data"] ?><a href='help/chap3_en.php#336' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>
<h3><?php echo $lang_label["export_data"] ?><a href='help/<?php echo substr($language_code,0,2);?>/chap3.php#336' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>
<form method="post" action="index.php?sec=estado&sec2=operation/agentes/exportdata&operacion=1" name="export_form">
<table width=550 border=0 cellspacing=3 cellpadding=5 class=fon>
<tr>

View File

@ -19,7 +19,7 @@ if (comprueba_login() == 0) {
}
echo "<h2>".$lang_label["ag_title"]."</h2>";
echo "<h3>".$lang_label["monitor_listing"]."<a href='help/chap3_en.php#334' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["monitor_listing"]."<a href='help/".substr($language_code,0,2)."/chap3.php#334' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
$iduser_temp=$_SESSION['id_usuario'];

View File

@ -13,7 +13,7 @@ if (comprueba_login() == 0) {
$id_usuario =$_SESSION["id_usuario"];
if (give_acl($id_usuario, 0, "AR")==1) {
echo "<h2>".$lang_label["events"]."</h2>";
echo "<h3>".$lang_label["event_statistics"]."<a href='help/chap5_en.php#51' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["event_statistics"]."<a href='help/".substr($language_code,0,2)."/chap5.php#51' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo '<img src="reporting/fgraph.php?tipo=total_events" border=0>';
echo "<br><br>";
echo '<img src="reporting/fgraph.php?tipo=user_events" border=0>';

View File

@ -109,7 +109,7 @@ if (comprueba_login() == 0) {
}
echo "<h2>".$lang_label["events"]."</h2>";
echo "<h3>".$lang_label["event_main_view"]."<a href='help/chap5_en.php#5' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["event_main_view"]."<a href='help/".substr($language_code,0,2)."/chap5.php#5' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
// Prepare index for pagination
$event_list[]="";

View File

@ -127,7 +127,7 @@ if ((give_acl($id_user, 0, "IR")==1) OR (give_acl($id_user, 0, "IM")==1) or (dam
$sql1_count="SELECT COUNT(id_incidencia) FROM tincidencia ".$sql1;
$sql1=$sql0;
echo "<h2>".$lang_label["incident_manag"]."</h2>";
echo "<h3>".$lang_label["manage_incidents"]."<a href='help/chap4_en.php#4' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["manage_incidents"]."<a href='help/".substr($language_code,0,2)."/chap4.php#4' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
?>
<?php

View File

@ -219,8 +219,8 @@ $creacion_incidente = "";
if (isset($id_inc)) {echo "<input type='hidden' name='id_inc' value='".$id_inc."'>";}
echo "<h2>".$lang_label["incident_manag"]."</h2>";
if (isset($id_inc)) {echo "<h3>".$lang_label["rev_incident"]." # ".$id_inc." <a href='help/chap4_en.php#42' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";}
else {echo "<h3>".$lang_label["create_incident"]."<a href='help/chap4_en.php#41' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";}
if (isset($id_inc)) {echo "<h3>".$lang_label["rev_incident"]." # ".$id_inc." <a href='help/<?php echo substr($language_code,0,2);?>/chap4.php#42' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";}
else {echo "<h3>".$lang_label["create_incident"]."<a href='help/".substr($language_code,0,2)."/chap4.php#41' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";}
echo '<table cellpadding=3 cellspacing=3 border=0 width=600>';
if ((give_acl($iduser_temp, $id_grupo, "IM")==1) OR ($usuario == $iduser_temp))
echo '<tr><td class="datos"><b>'.$lang_label["incident"].'</b><td colspan=3 class="datos"><input type="text" name="titulo" size=70 value="'.$titulo.'">';

View File

@ -13,7 +13,7 @@ if (comprueba_login() == 0) {
echo "<img src='images/pulpo_lupa.gif' align='right' class='bot'>";
echo "<h2>".$lang_label["incident_manag"]."</h2>";
echo "<h3>".$lang_label["find_crit"]." <a href='help/chap4_en.php#43' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["find_crit"]." <a href='help/".substr($language_code,0,2)."/chap4.php#43' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
?>
<table width="500" cellpadding="3" cellspacing="3">
<form name="busqueda" method="post" action="index.php?sec=incidencias&sec2=operation/incidents/incident">

View File

@ -14,7 +14,7 @@ if (comprueba_login() == 0) {
$iduser=$_SESSION['id_usuario'];
if (give_acl($id_user, 0, "IR")==1) {
echo "<h2>".$lang_label["incident_manag"]."</h2>";
echo "<h3>".$lang_label["statistics"]."<a href='help/chap4_en.php#44' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo "<h3>".$lang_label["statistics"]."<a href='help/".substr($language_code,0,2)."/chap4.php#44' target='_help'><img src='images/ayuda.gif' border='0' class='help'></a></h3>";
echo '<img src="reporting/fgraph.php?tipo=estado_incidente" border=0>';
echo "<br><br>";
echo '<img src="reporting/fgraph.php?tipo=prioridad_incidente" border=0>';