+ <? if ( $__hidID == -1 ) { ?>\r
+ <td colspan="2"><input type="submit" name="btnSubmit" value="Guardar Información"/></td>\r
+ <? } else { ?>\r
+ <td colspan="2">\r
+ <input type="submit" name="btnSubmit" value="Modificar Información"/> \r
+ <input type="button" name="btnNew" value="Nueva Información" onclick="info_blankActual(this.form);"/> \r
+ </td>\r
+ <? } ?>\r
+ </tr>\r
+ </table>\r
+ </form>\r
+<?php\r
+}\r
+\r
+\r
+\r
+\r
+function info_form_ingresar_comentario( $__hidID, $info_id, $comentario ) {\r
+?>\r
+ <form name="info_ingresar_comentario" action="<?php echo $_SERVER['PHP_SELF'] ?>?id=<?echo $info_id;?>" method="post" onSubmit="return info_validar_ingresar_comentario(this);">\r
+ <input type="hidden" name="hidSaving" value="1">\r
+ <input type="hidden" name="__hidID" value="<? echo $__hidID; ?>">\r
+ <script type="text/javascript" language="JavaScript">\r
+ <!--\r
+ function info_validar_ingresar_comentario(f)\r
+ {\r
+ if ( (!check_vacio(f.txtComentario, 'Comentario') || (!check_min_max_cant(f.txtComentario, 'Comentario', 10, 500)) ) ) return false;\r
+ return true;\r
+ }\r
+\r
+ function info_blankActual(f) {\r
+ if (confirm("Seguro desea perder la posibilidad de modificar?")) {\r
+ location.href = "<?php echo $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING']; ?>";\r
+ }\r
+ }\r
+ -->\r
+ </script>\r
+ <table>\r
+ <tr>\r
+ <td>Comentario:</td>\r
+ <td><textarea name="txtComentario" rows="3" cols="50"><?php echo $comentario ?></textarea></td>\r
+ </tr>\r
+ <tr>\r
+ <? if ( $__hidID == -1 ) { ?>\r
+ <td colspan="2"><input type="submit" name="btnSubmit" value="Guardar Comentario"/></td>\r
+ <? } else { ?>\r
+ <td colspan="2">\r
+ <input type="submit" name="btnSubmit" value="Modificar Comentario"/> \r
+ <input type="button" name="btnNew" value="Nuevo Comentario" onclick="info_blankActual(this.form);"/> \r
+ </td>\r
+ <? } ?>\r