X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=app%2Fout%2Fdefault%2Fviews%2Fsources%2Fsource%2Fdocuments.php;h=df8d6a82e8c18c7208c885a36ee97518a290f2cb;hb=refs%2Ftags%2Fsourceml.0.15.3;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..df8d6a8 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,13 @@
- "> + 1) $ext = $ext[count($ext) - 1]; + else $ext = $document["url"]; + if(strlen($ext) > 16) $ext = "(...) ".substr($ext, -16); + ?> + " title="esc_attr($document["nom"]); ?>">