X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fbabel.php;h=a4fbd172eed6282015c2c3d7a0720fe9738b73cf;hb=391c5913227c7f62f19b4f08906b0b1b0b618b33;hp=5129f5bf594422486c23579e2b977555b39e48a8;hpb=8ec5b06e0440302cef9f6bc2f35730fca5a9030e;p=friendica.git
diff --git a/mod/babel.php b/mod/babel.php
index 5129f5bf59..a4fbd172ee 100644
--- a/mod/babel.php
+++ b/mod/babel.php
@@ -1,78 +1,77 @@
', $s);
-}
+require_once 'include/bbcode.php';
+require_once 'include/bb2diaspora.php';
+require_once 'include/html2bbcode.php';
+require_once 'include/pgettext.php';
-function babel_content(App &$a) {
+function visible_lf($s)
+{
+ return str_replace("\n", '
', $s);
+}
- $o .= '
' . $d2bbtext . '' . EOL . EOL; $bb = diaspora2bb($d2bbtext); - $o .= "
' . $bb . '' . EOL . EOL; } return $o;