Changeset 30940 in spip-zone


Ignore:
Timestamp:
Aug 16, 2009, 5:26:30 AM (11 years ago)
Author:
da@…
Message:

Inclure inc/filtres pour pouvoir utiliser la fonction "inserer_attribut".

Location:
_plugins_/omnipresence/balise
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/omnipresence/balise/jabber_activity_icon.php

    r30903 r30940  
    1515function balise_JABBER_ACTIVITY_ICON_dyn($jid, $host) {
    1616        #TODO: Request value in the context's locale
     17        include_spip('inc/filtres');
    1718        $status = demander_action('pep/activity/value.txt', $jid, $host);
    1819        return inserer_attribut(demander_action('pep/activity/image.png'.$theme, $jid, $host), "alt", $status);
  • _plugins_/omnipresence/balise/jabber_avatar.php

    r30903 r30940  
    1414
    1515function balise_JABBER_AVATAR_dyn($jid, $host) {
     16        include_spip('inc/filtres');
    1617        return inserer_attribut(demander_action('avatar',$jid, $host), "alt", "");
    1718}
  • _plugins_/omnipresence/balise/jabber_mood_icon.php

    r30903 r30940  
    1515
    1616function balise_JABBER_MOOD_ICON_dyn($jid, $host, $locale) {
     17        include_spip('inc/filtres');
    1718        $status = demander_action("pep/mood/value-$locale.txt", $jid, $host);
    1819        return inserer_attribut(demander_action('pep/mood/image.png'.$theme, $jid, $host), "alt", $status);
  • _plugins_/omnipresence/balise/jabber_status_icon.php

    r30903 r30940  
    1616
    1717function balise_JABBER_STATUS_ICON_dyn($jid, $host, $theme, $locale) {
     18        include_spip('inc/filtres');
    1819        $status = demander_action("text-$locale.txt", $jid, $host);
    1920        return inserer_attribut(demander_action('image'.$theme, $jid, $host), "alt", $status);
Note: See TracChangeset for help on using the changeset viewer.