dépôts
/
lhc
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~maj 3.0.10 --> 3.0.14
[lhc/web/www.git]
/
www
/
ecrire
/
inc
/
aider.php
diff --git
a/www/ecrire/inc/aider.php
b/www/ecrire/inc/aider.php
index
85ab30e
..
bae9078
100644
(file)
--- a/
www/ecrire/inc/aider.php
+++ b/
www/ecrire/inc/aider.php
@@
-3,7
+3,7
@@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-201
2
*
+ * 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. *
@@
-92,18
+92,20
@@
function inc_aider_dist($aide='', $skel='', $env=array(), $aide_spip_directe = f
return aider_icone($url);
}
return aider_icone($url);
}
-function aider_icone($url)
+function aider_icone($url
, $clic= ''
)
{
global $spip_lang, $spip_lang_rtl;
{
global $spip_lang, $spip_lang_rtl;
- $t = _T('titre_image_aide');
-
+ if (!$clic) {
+ $t = _T('titre_image_aide');
+ $clic = http_img_pack("aide".aide_lang_dir($spip_lang,$spip_lang_rtl)."-16.png",
+ _T('info_image_aide'),
+ " title=\"$t\" class='aide'");
+ }
return "\n <a class='aide popin'\nhref='"
. $url
. "' target='_blank'>"
return "\n <a class='aide popin'\nhref='"
. $url
. "' target='_blank'>"
- . http_img_pack("aide".aide_lang_dir($spip_lang,$spip_lang_rtl)."-16.png",
- _T('info_image_aide'),
- " title=\"$t\" class='aide'")
+ . $clic
. "</a>";
}
. "</a>";
}