dépôts
/
velocampus
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git]
/
www
/
ecrire
/
inc
/
legender.php
diff --git
a/www/ecrire/inc/legender.php
b/www/ecrire/inc/legender.php
index
e49ab34
..
d0d3263
100644
(file)
--- a/
www/ecrire/inc/legender.php
+++ b/
www/ecrire/inc/legender.php
@@
-3,7
+3,7
@@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-201
1
*
+ * Copyright (c) 2001-201
4
*
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
@@
-73,8
+73,8
@@
function legender_entete($document)
{
$titre = $document['titre'];
$entete = basename($document['fichier']);
{
$titre = $document['titre'];
$entete = basename($document['fichier']);
- if (
($n=strlen($entete)
) > 20)
- $entete = substr($entete, 0,
7)."...".substr($entete, $n-7, $n)
;
+ if (
strlen($entete
) > 20)
+ $entete = substr($entete, 0,
20)."..."
;
if (strlen($titre))
$entete = "<strong>". lignes_longues(typo($titre),25) . "</strong>";
return sinon($entete,_T('info_sans_titre'));
if (strlen($titre))
$entete = "<strong>". lignes_longues(typo($titre),25) . "</strong>";
return sinon($entete,_T('info_sans_titre'));