Vergleich syndication.php - 1.6.11 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 137Zeile 137
{
$items[$thread['tid']] = array(
"title" => $parser->parse_badwords($thread['subject']),

{
$items[$thread['tid']] = array(
"title" => $parser->parse_badwords($thread['subject']),

		"link" => $channel['link'].get_thread_link($thread['tid']),        

		"link" => $channel['link'].get_thread_link($thread['tid']),

		"date" => $thread['dateline'],
);


		"date" => $thread['dateline'],
);


Zeile 159Zeile 159
		$attachments[$attachment['pid']][] = $attachment;
}


		$attachments[$attachment['pid']][] = $attachment;
}


	$query = $db->simple_select("posts", "message, edittime, tid, fid, pid", $firstpostlist, array('order_by' => 'dateline', 'order_dir' => 'desc'));    

	$query = $db->simple_select("posts", "message, edittime, tid, fid, pid", $firstpostlist, array('order_by' => 'dateline', 'order_dir' => 'desc'));

	while($post = $db->fetch_array($query))
{
$parser_options = array(

	while($post = $db->fetch_array($query))
{
$parser_options = array(

Zeile 168Zeile 168
			"allow_smilies" => $forumcache[$post['fid']]['allowsmilies'],
"allow_imgcode" => $forumcache[$post['fid']]['allowimgcode'],
"allow_videocode" => $forumcache[$post['fid']]['allowvideocode'],

			"allow_smilies" => $forumcache[$post['fid']]['allowsmilies'],
"allow_imgcode" => $forumcache[$post['fid']]['allowimgcode'],
"allow_videocode" => $forumcache[$post['fid']]['allowvideocode'],

			"filter_badwords" => 1


			"filter_badwords" => 1,
"filter_cdata" => 1

		);

		);

		



		$parsed_message = $parser->parse_message($post['message'], $parser_options);

		$parsed_message = $parser->parse_message($post['message'], $parser_options);

		



		if(isset($attachments[$post['pid']]) && is_array($attachments[$post['pid']]))
{
foreach($attachments[$post['pid']] as $attachment)

		if(isset($attachments[$post['pid']]) && is_array($attachments[$post['pid']]))
{
foreach($attachments[$post['pid']] as $attachment)

Zeile 192Zeile 193
				}
}
}

				}
}
}

		



		$items[$post['tid']]['description'] = $parsed_message;
$items[$post['tid']]['updated'] = $post['edittime'];
$feedgenerator->add_item($items[$post['tid']]);

		$items[$post['tid']]['description'] = $parsed_message;
$items[$post['tid']]['updated'] = $post['edittime'];
$feedgenerator->add_item($items[$post['tid']]);