mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +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
|
@ -269,7 +269,7 @@ function jappixmini_settings(&$a, &$s) {
|
|||
if ($server == "")
|
||||
$server = get_config("jappixmini", "default_server");
|
||||
|
||||
if (($username == "") and get_config("jappixmini", "default_user"))
|
||||
if (($username == "") && get_config("jappixmini", "default_user"))
|
||||
$username = $a->user["nickname"];
|
||||
|
||||
$info_text = get_config("jappixmini", "infotext");
|
||||
|
@ -444,7 +444,7 @@ function jappixmini_script(&$a,&$s) {
|
|||
|
||||
$activate = get_pconfig(local_user(),'jappixmini','activate');
|
||||
$dontinsertchat = get_pconfig(local_user(), 'jappixmini','dontinsertchat');
|
||||
if (!$activate or $dontinsertchat) return;
|
||||
if (!$activate || $dontinsertchat) return;
|
||||
|
||||
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/jappixmini/jappix/php/get.php?t=js&g=mini.xml"></script>'."\r\n";
|
||||
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/jappixmini/jappix/php/get.php?t=js&f=presence.js~caps.js~name.js~roster.js"></script>'."\r\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue