+
+/**
+ * Display error messages for use in footer.tpl
+ *
+ * @author Steve Brown
+ * @since 1.5.2
+ **/
+function displayErrors () {
+ global $oErrorHandler;
+
+ if ($oErrorHandler) {
+ $oErrorHandler->displayErrors();
+ }
+}
+
+/**
+ * Make the internal show_readable_size() function available to templates.
+ *
+ * @param int size to be converted to human-readable
+ * @return string human-readable form
+ * @since 1.5.2
+ **/
+function humanReadableSize ($size) {
+ return show_readable_size($size);
+}
+