2012-03-14 Junichi Satoh <junichi@rworks.jp>

* operation/incidents/incident.php: Replaced substr() with
	ui_print_truncate_text().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-03-14 04:08:37 +00:00
parent dbc42489d0
commit b3beb4e85f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-03-14 Junichi Satoh <junichi@rworks.jp>
* operation/incidents/incident.php: Replaced substr() with
ui_print_truncate_text().
2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: added button near to

View File

@ -322,7 +322,7 @@ if ($count < 1) {
$data[0] .= '&nbsp;&nbsp;'.html_print_image ("images/attachment.png", true, array ("style" => "align:middle;"));
$data[1] = incidents_print_status_img ($row["estado"], true);
$data[2] = '<a href="index.php?sec=incidencias&amp;sec2=operation/incidents/incident_detail&amp;id='.$row["id_incidencia"].'">'.substr(io_safe_output($row["titulo"]),0,45).'</a>';
$data[2] = '<a href="index.php?sec=incidencias&amp;sec2=operation/incidents/incident_detail&amp;id='.$row["id_incidencia"].'">'.ui_print_truncate_text(io_safe_output($row["titulo"]),45).'</a>';
$data[3] = incidents_print_priority_img ($row["prioridad"], true);
$data[4] = ui_print_group_icon ($row["id_grupo"], true);
$data[5] = ui_print_timestamp ($row["actualizacion"], true);