mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Replace and/AND and or/OR by && and ||
This commit is contained in:
parent
844de15593
commit
8fa3f2415a
23 changed files with 268 additions and 269 deletions
|
@ -69,7 +69,7 @@ function xmpp_plugin_settings(&$a,&$s) {
|
|||
$s .= '<div class="clear"></div>';
|
||||
}
|
||||
|
||||
if (!get_config("xmpp", "central_userbase") OR get_pconfig(local_user(),"xmpp","individual")) {
|
||||
if (!get_config("xmpp", "central_userbase") || get_pconfig(local_user(),"xmpp","individual")) {
|
||||
$s .= '<label id="xmpp-bosh-proxy-label" for="xmpp-bosh-proxy">'.t('Jabber BOSH host').'</label>';
|
||||
$s .= ' <input id="xmpp-bosh-proxy" type="text" name="xmpp_bosh_proxy" value="'.$bosh_proxy.'" />';
|
||||
$s .= '<div class="clear"></div>';
|
||||
|
@ -131,7 +131,7 @@ function xmpp_converse(&$a,&$s) {
|
|||
$a->page['htmlhead'] .= '<link type="text/css" rel="stylesheet" media="screen" href="addon/xmpp/converse/css/converse.css" />'."\n";
|
||||
$a->page['htmlhead'] .= '<script src="addon/xmpp/converse/builds/converse.min.js"></script>'."\n";
|
||||
|
||||
if (get_config("xmpp", "central_userbase") AND !get_pconfig(local_user(),"xmpp","individual")) {
|
||||
if (get_config("xmpp", "central_userbase") && !get_pconfig(local_user(),"xmpp","individual")) {
|
||||
$bosh_proxy = get_config("xmpp", "bosh_proxy");
|
||||
|
||||
$password = get_pconfig(local_user(), "xmpp", "password");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue