diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php index a648aba7d..f476753a8 100644 --- a/jappixmini/jappixmini.php +++ b/jappixmini/jappixmini.php @@ -69,6 +69,15 @@ register_hook('cron', 'addon/jappixmini/jappixmini.php', 'jappixmini_cron'); // Jappix source download as required by AGPL register_hook('about_hook', 'addon/jappixmini/jappixmini.php', 'jappixmini_download_source'); + +// set standard info text +$info_text = get_config("jappixmini", "infotext"); +if (!$info_text) set_config("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!" +); } @@ -96,9 +105,21 @@ function jappixmini_plugin_admin(&$a, &$o) { else { $o .= '
Jappix is installed.
'; } + + // info text field + $o .= ''.$info_text.'
'; $s .= ''; $s .= ' '; $s .= '';