Add an ellipsis when cutting urls

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-08-09 00:41:50 +02:00
committed by Chris Morgan
parent 7e5264a3d0
commit 647a307fa9
3 changed files with 18 additions and 2 deletions

View File

@@ -822,7 +822,7 @@ class version {
$oCategory->display($oApp->iAppId, $this->iVersionId);
// set URL
$appLinkURL = ($oApp->sWebpage) ? "<a href=\"".$oApp->sWebpage."\">".substr(stripslashes($oApp->sWebpage),0,30)."</a>": "&nbsp;";
$appLinkURL = ($oApp->sWebpage) ? trimmed_link($oApp->sWebpage,30) : "&nbsp;";
// start version display
echo html_frame_start("","98%","",0);