2010-06-25 Junichi Satoh <junichi@rworks.jp>

* operation/agentes/status_monitor.php: Changed substr() to
	mb_strimwidth(). Module name should be truncated with displayed length,
	not number of characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2010-06-25 05:52:33 +00:00
parent 849dcd1178
commit 15b82505a0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-06-25 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Changed substr() to
mb_strimwidth(). Module name should be truncated with displayed length,
not number of characters.
2010-06-23 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Continue drawing combined charts if modules

View File

@ -221,7 +221,7 @@ foreach ($result as $row) {
$data[2] = '<img src="images/'.show_icon_type ($row["module_type"]).'" border="0" />';
$data[3] = substr ($row["module_name"], 0, 30);
$data[3] = mb_strimwidth ($row["module_name"], 0, 30);
$data[4] = ($row['module_interval'] == 0) ? $row['agent_interval'] : $row['module_interval'];