Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cosmetic change - some spacing and tabs updated

  • Loading branch information...
commit 8096d88daf33d2825cd7621e0609f0620f2cf75b 1 parent c40082b
dhawes authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/rsslib.php
8 lib/rsslib.php
View
@@ -415,6 +415,7 @@ function rss_display_feeds($courseid='', $userid='', $rssid='') {
}
+
/**
* translates HTML special characters back to ASCII
* RSS feeds may have encoded html commands which we want to translate properly
@@ -427,12 +428,15 @@ function rss_unhtmlentities($string) {
return strtr ($string, $trans_tbl);
}
+
/**
* Wrapper function for rss_get_form
*/
function rss_print_form($act='none', $url='', $rssid='', $preferredtitle='', $courseid='') {
- print rss_get_form($act, $url, $rssid, $preferredtitle, $courseid);
+ print rss_get_form($act, $url, $rssid, $preferredtitle, $courseid);
}
+
+
/**
* Prints or returns a form for managing rss feed entries.
* @param string $act The current action. If "rss_edit" then and "update" button is used, otherwise "add" is used.
@@ -502,4 +506,4 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $cour
$returnstring .= '</td></tr></tbody></table>'."\n";
return $returnstring;
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.