Einzelnen Beitrag anzeigen
  #9  
Alt 11.08.07, 18:23
Benutzerbild von Junior
Junior Junior ist offline
TYPO3 Forum Team
Administrator
 
Registriert seit: 18.08.04
Ort: Zürich
Alter: 33
Beiträge: 2.805
Junior eine Nachricht über Skype™ schicken

Test Zitat:

Zitat:
Zitat von robelix Beitrag anzeigen
Der CODE-Tag hier kann wilde Sachen machen - wollte einen patch posten, und weil er so schön klein ist wollt ich mir das hochladen sparen - und heraus kam das hier:

im Origina sieht er so aus: http://www.robelix.com/files/class.t...ngleView.patch

Code:
208a209,212
> 			# t3lib_div::debug($this->data);
> 
> 
> 
210,212c214,234
< 				$going = str_replace('<', '&lt;', $this->data['ITEM'][$i]['TITLE']);
< 				$go_the_head = str_replace('>', '&gt;', $going);
< 				$content .= '<DIV class=twrss_bodytext><A href="'.$this->data['ITEM'][$i]['LINK'].'" target="'.$get_theLinkTarget.'" >'.$go_the_head.'</A></DIV>';
---
> 				if ($this->piVars['showUid']) {
> 					if ($this->piVars['showUid'] == md5($this->data['ITEM'][$i]['GUID']) ) {
> 						$content .= '<div class="twrss_bodytext">';
> 						$content .= '<strong>'.$this->data['ITEM'][$i]['TITLE'].'</strong>';
> 						$text = $this->data['ITEM'][$i]['CONTENT:ENCODED'];
> 						$text = preg_replace('/<\/?font.*?>/', '', $text);
> 						$content .= $text;
> 						$content .= '</div>';
> 						return $content;
> 					}
> 
> 				} else {
> 					#$going = str_replace('<', '&lt;', $this->data['ITEM'][$i]['TITLE']);
> 					#$go_the_head = str_replace('>', '&gt;', $going);
> 					$go_the_head = $this->data['ITEM'][$i]['TITLE'];
> 					$content .= '<DIV class=twrss_bodytext>';
> 					$IdHash = md5($this->data['ITEM'][$i]['GUID']);
> 					$link = $this->pi_list_linkSingle($this->data['ITEM'][$i]['TITLE'], $IdHash, 1 );
> 					#t3lib_div::debug($link);
> 					# $content .= '<A href="'.$this->data['ITEM'][$i]['LINK'].'" target="'.$get_theLinkTarget.'" >'.$go_the_head.'</A></DIV>';
> 					$content .= $link;
226a249
> 			}
386c409
< 			$this->parser = xml_parser_create();
---
> 			$this->parser = xml_parser_create('UTF-8');
__________________
TYPO3forum.net empfiehlt Domain Factory als Hoster!


Mit Zitat antworten