Ticket #12 (new defect)
Affichage de l'adresse Jabber dans l'administration
Reported by: | Osku | Owned by: | Osku |
---|---|---|---|
Priority: | normal | Component: | plugin:javatar |
Severity: | normal | Keywords: | commentaire coreBlogGetComments jabber |
Cc: |
Description
L'adresse Jabber n'est jamais affiché dans l'administration même s'il est renseignée.
Pourtant : http://lab.dotclear.org/browser/plugins/javatar/class.public.javatar.php#L125
Change History
comment:2 Changed 14 years ago by Osku
:D j'ai pas encore envoyée la RC4... Ta remarque est juste.
J'ai celà en plus :
$core->addBehavior('adminAfterCommentDesc',array('adminJavatar','adminAfterCommentDesc'));
class adminJavatar
{
public static function adminAfterCommentDesc($rs)
{
# ignore trackbacks
if ($rs->comment_trackback == 1) {return;}
global $core;
return '<p><strong>'.__('Jabber').'</strong> :'.
$rs->comment_jabber.'</p>';
}
}
Note: See
TracTickets for help on using
tickets.
Je ne connais pas ton plugin, ma question est peut-être à côté de la plaque. :)
Là tu ajoutes le champ comment_jabber au recordset mais après tu veux l'afficher où ? Tu récupères ce champ quelque part dans l'administration ?