Commit d00acd697d10b0561eeabdf68fcf278a52b35f34
1 parent
79901091
be clearer about not linking to self.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4857 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktstandard/KTDocumentLinks.php
| ... | ... | @@ -20,7 +20,7 @@ class KTDocumentLinkTitle extends TitleColumn { |
| 20 | 20 | $outStr .= $aDataRow["document"]->getName(); |
| 21 | 21 | $outStr .= '</a>'; |
| 22 | 22 | } else { |
| 23 | - $outStr = $aDataRow["document"]->getName(); | |
| 23 | + $outStr = $aDataRow["document"]->getName() . ' <span class="descriptiveText">(' . _('you cannot link to the source document') . ')'; | |
| 24 | 24 | } |
| 25 | 25 | return $outStr; |
| 26 | 26 | } | ... | ... |