2006-03-27 05:37:27 +02:00
|
|
|
<?php
|
|
|
|
|
2006-07-11 12:03:18 +02:00
|
|
|
// Pandora - the Free monitoring system
|
|
|
|
// ====================================
|
|
|
|
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com
|
|
|
|
// Copyright (c) 2005-2006 Artica Soluciones Tecnologicas 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
|
2006-03-27 05:37:27 +02:00
|
|
|
require("include/config.php");
|
2006-07-11 12:03:18 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
if (comprueba_login() == 0) {
|
|
|
|
|
|
|
|
$id_inc = $_GET["id_inc"];
|
|
|
|
$ahora=date("Y/m/d H:i:s");
|
|
|
|
|
2006-07-11 12:03:18 +02:00
|
|
|
// Create Note
|
2006-03-27 05:37:27 +02:00
|
|
|
echo "<h2>".$lang_label["incident_manag"]."</h2>";
|
2006-07-11 12:03:18 +02:00
|
|
|
echo "<h3>".$lang_label["note_title"]." #".$id_inc."<a href='help/".$help_code."/chap3.php#331' target='_help' class='help'> <span>".$lang_label["help"]."</span></a></h3>";
|
2006-03-27 05:37:27 +02:00
|
|
|
echo "<table cellpadding=3 cellspacing=3 border=0><form name='nota' method='post' action='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&insertar_nota=1&id=".$id_inc."'>";
|
2006-07-11 12:03:18 +02:00
|
|
|
echo "<tr><td class='lb' rowspan='2' width='5'><td class='datos'><b>".$lang_label["date"]."</b>";
|
2006-03-27 05:37:27 +02:00
|
|
|
echo "<td class='datos'>".$ahora;
|
|
|
|
echo "<input type='hidden' name='timestamp' value='".$ahora."'>";
|
|
|
|
echo "<input type='hidden' name='id_inc' value='".$id_inc."'>";
|
2006-07-11 12:03:18 +02:00
|
|
|
echo '<tr><td colspan="3" class="datos2"><textarea name="nota" rows="20" cols="85">';
|
2006-03-27 05:37:27 +02:00
|
|
|
echo '</textarea>';
|
2006-07-11 12:03:18 +02:00
|
|
|
echo '<tr><td colspan="3"><div class="raya"></div></td></tr>';
|
|
|
|
echo '<tr><td colspan="3" align="right"><input name="addnote" type="submit" class="sub" value="'.$lang_label["add"].'">';
|
2006-03-27 05:37:27 +02:00
|
|
|
echo '</table>';
|
|
|
|
|
2006-07-11 12:03:18 +02:00
|
|
|
} // end page
|