X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=app%2Fout%2Fdefault%2Fviews%2Fsources%2Fsource%2Fdocuments.php;h=540057ac843185d925a64317821c6c5e43b06d27;hb=aa56057fe2634113eb8d1a50ed54b6a8988645a8;hp=56af9e0a86c6e31e28b8cb5d40a47d44a73d9950;hpb=9391cb9ccb3dd2884e7be2f15aa729733288f1e5;p=mw_sourceml diff --git a/app/out/default/views/sources/source/documents.php b/app/out/default/views/sources/source/documents.php index 56af9e0..540057a 100644 --- a/app/out/default/views/sources/source/documents.php +++ b/app/out/default/views/sources/source/documents.php @@ -2,7 +2,7 @@ $documents = $source["reference"] ? $source["reference"]["documents"] : $source["documents"]; if($documents) : - + $mw_out = $this->helper("mw_helper_out"); ?> @@ -36,7 +36,15 @@
- "> + 1) $nom = $nom[count($nom) - 1]; + else $nom = $document["url"]; + if(strlen($nom) > 16) $nom = "(...) ".substr($nom, -16); + } + ?> + " title="esc_attr($document["nom"]); ?>">