1
0
Fork 0

actualizacion funciones.php

This commit is contained in:
humano 2018-02-16 13:11:09 -05:00
parent a5aa806102
commit 4ff34ceacb
1 changed files with 11 additions and 2 deletions

View File

@ -4200,11 +4200,12 @@ $asunto= "Recibiste un mensaje en [$portal_sigla] ";
*/
//$json = json_encode("$valor");
$descripcion="$_SESSION[id]|";
$form = remplacetas('form_datos','control',"$identificador",'form_id',"") ;
$menu="
<div class='form-check'>
<label class='form-check-label' for='$identificador-$campo' >
<input $checked class=' form-check-input' type='checkbox' value='$valor[0]' id='$identificador-$campo'name ='$identificador-$campo'
onchange=\"$(this).attr('value', this.checked ? 1 : 0);xajax_parametrizacion_linea('form_id','$campo',(this.value),'$descripcion','check_$identificador-$campo','','$identificador') \">
onchange=\"$(this).attr('value', this.checked ? 1 : 0);xajax_parametrizacion_linea('form_id','$form[0]',(this.value),'$campo','check_$identificador-$campo','','$identificador') \">
<div class='hidden' id='check_$identificador-$campo'></div>
</label>
</div>
@ -6936,8 +6937,16 @@ if($sql) {
return $id;
}
}else {
if($div != "") {
$resultado = " $descripcion ";
$respuesta->addAssign("$div","innerHTML",$consulta);
return $respuesta;
}else {
return $consulta;
}
//$respuesta->addAlert("$consulta");
return $consulta;
//return $consulta;
}
///$respuesta->addAssign("$div","innerHTML",$exito);
return $respuesta;