X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=jappixmini%2Fjappixmini.php;h=37d2ce5c427697e5863b4639d39ead5ad0efe7ba;hb=4c4a8da6126cb6ff04f9e52bcab62129b6c5cd63;hp=dc40840ab429f734b60dd11ddc6fb2c0e56f29e7;hpb=c71f7b0e1a7bb5ca88347b295dd3a4cc3106c5a9;p=friendica-addons.git
diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php
index dc40840a..37d2ce5c 100644
--- a/jappixmini/jappixmini.php
+++ b/jappixmini/jappixmini.php
@@ -65,8 +65,10 @@
use Friendica\App;
use Friendica\Core\Addon;
use Friendica\Core\Config;
+use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Model\User;
+use Friendica\Util\Network;
function jappixmini_install()
{
@@ -84,7 +86,7 @@ function jappixmini_install()
// set standard configuration
$info_text = Config::get("jappixmini", "infotext");
if (!$info_text)
- set_confConfig::setig("jappixmini", "infotext", "To get the chat working, you need to know a BOSH host which works with your Jabber account. " .
+ Config::set("jappixmini", "infotext", "To get the chat working, you need to know a BOSH host which works with your Jabber account. " .
"An example of a BOSH server that works for all accounts is https://bind.jappix.com/, but keep " .
"in mind that the BOSH server can read along all chat messages. If you know that your Jabber " .
"server also provides an own BOSH server, it is much better to use this one!"
@@ -326,58 +328,58 @@ function jappixmini_settings(App $a, &$s)
}
$s .= '';
- $s .= '