--- path.module 2006-09-20 15:43:20.000000000 +0200 +++ path.module 2006-09-20 15:43:38.000000000 +0200 @@ -298,8 +298,15 @@ $result = pager_query($sql, 50); $destination = drupal_get_destination(); - while ($data = db_fetch_object($result)) { - $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid", array(), $destination)); + while ($data = db_fetch_object($result)) + { + if(strlen($data->dst) > 50) + { + $dst = substr($data->dst, 0, 50) . ' [...]'; + }else{ + $dst = $data->dst; + } + $rows[] = array($dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid", array(), $destination)); } if (!$rows) {