Project

General

Profile

Bug #2305 » 2305.patch

krileon, 07 February 2011 19:56

View differences:

administrator/components/com_comprofiler/plugin.class.php
$htmlDescription = ( $output == 'htmledit' ? $this->getFieldDescription( $field, $user, 'htmledit', $reason ) : null );
if ( $output == 'htmledit' ) {
$labelTitle = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $translatedTitle ) . ':' . htmlspecialchars( $htmlDescription ) . '"' : '' );
$labelTitle = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $translatedTitle ) . ':' . htmlspecialchars( trim( strip_tags( $htmlDescription ) ) ) . '"' : '' );
// removed in fieldEditToHtml
} else {
$labelTitle = '';
......
$inputName = $field->name;
$htmlDescription = $this->getFieldDescription( $field, $user, 'htmledit', $reason );
$titleAttr = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $this->getFieldTitle( $field, $user, 'html', $reason ) ) . ': ' . htmlspecialchars( $htmlDescription ) . '"' : '' );
$titleAttr = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $this->getFieldTitle( $field, $user, 'html', $reason ) ) . ': ' . htmlspecialchars( trim( strip_tags( $htmlDescription ) ) ) . '"' : '' );
$htmlInput = null;
switch ( $type ) {
(2-2/2)