correcion en campo limite

This commit is contained in:
humano 2020-04-18 13:23:51 -05:00
parent 151092b32e
commit 01994f9f7a

View File

@ -14562,13 +14562,13 @@ $campo_imagen = $campo_imagen[0];
$campo[$row['id_campo']]=$contenido;
$caracteres = strlen("$contenido");
$campo_400[$row['id_campo']] = substr(strip_tags($contenido),0, $length = 400);//$contenido;
if($caracteres > 440) { $campo_400[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' title='$contenido'>[+]</button>"; }
if($caracteres > 440) { $campo_400[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' >[+]</button>"; }
$campo_80[$row['id_campo']] = substr(strip_tags($contenido),0, $length = 80);//$contenido;
if($caracteres > 80) { $campo_80[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' title='$contenido'>[+]</button>"; }
if($caracteres > 80) { $campo_80[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' >[+]</button>"; }
$campo_55[$row['id_campo']] = substr(strip_tags($contenido),0, $length = 55);//$contenido;
if($caracteres > 55) { $campo_55[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' title='$contenido'>[+]</button>"; }
if($caracteres > 55) { $campo_55[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' >[+]</button>"; }
$campo_10[$row['id_campo']] = substr(strip_tags($contenido),0, $length = 10);//$contenido;
if($caracteres > 10) { $campo_10[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' title='$contenido'>[+]</button>"; }
if($caracteres > 10) { $campo_10[$row['id_campo']] .= "... <button type='button' class='btn btn-link' data-html='true' data-toggle='tooltip' data-placement='top' >[+]</button>"; }
$campo_full[$row['id_campo']] = $contenido_full;
$campo_limpio[$row['id_campo']] = trim(strip_tags($contenido));