".$item->description; } $result .= rss_full_tag("description",3,false,$item->description); $result .= rss_end_tag("item",2,true); } } else { $result = false; } return $result; } //This function return all the common footers for every rss feed in the site function rss_standard_footer($title = NULL, $link = NULL, $description = NULL) { global $CFG, $USER; $status = true; $result = ""; //Close the chanel $result .= rss_end_tag("channel",1,true); ////Close the rss tag $result .= "
| '; if ($act == 'rss_edit') { $returnstring .= get_string('edit'); } else { $returnstring .= get_string('block_rss_add_new', 'block_rss_client'); } $returnstring .= ' '. get_string('block_rss_feed', 'block_rss_client'); $returnstring .= ' |
';
$returnstring .= '';
$returnstring .= '
|