Dotclear

Ticket #905 (closed enhancement: fixed)

Opened 14 years ago

Last modified 14 years ago

Ajouter une classe aux last comments

Reported by: PERECil Owned by: Tomtom33
Priority: low Milestone: 2.2
Component: module:core Version: 2.1
Severity: trivial Keywords: css
Cc:

Description

Il faudrait ajouter une classe au defaultwidget last comments pour distinguer les commentaires des rétroliens:

Remplacer

$res .= '<li><a href="'.$rs->getPostURL().'#c'.$rs->comment_id.'">'.

par:

$res .= '<li class="'.( $rs->comment_trackback == 1 ? 'trackback' : 'comment' ).'"><a href="'.$rs->getPostURL().'#c'.$rs->comment_id.'">'.

à la ligne 141 de plugins/widgets/_widget_functions.php

Change History

comment:1 Changed 14 years ago by Tomtom33

  • Owner changed from xave to Tomtom33

comment:2 Changed 14 years ago by Tomtom33

(In [3007]) Added CSS class for last comments, addresses #905

comment:3 Changed 14 years ago by xave

  • Status changed from new to closed
  • Resolution set to fixed

(In [3019]) Merging changes from the Bazar branch. Closes #451, #556, #644, #777, #791, #835, #857, #905, #909, #937, #947, #950

Note: See TracTickets for help on using tickets.

Sites map