X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=webrtc%2Fwebrtc.php;h=1588847df4bf49e25016627bc3ba2ce09ea92ee0;hb=27b60e003f92dd9f3aebbeddb34ebb905488ca82;hp=4ea17f471423dc6e25300862447735e8a3cade6e;hpb=c3e93f1ed9a487f823bcc75ddd43024334c25bfc;p=friendica-addons.git diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index 4ea17f47..1588847d 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -24,10 +24,10 @@ function webrtc_app_menu($a,&$b) { function webrtc_plugin_admin (&$a, &$o) { $t = get_markup_template( "admin.tpl", "addon/webrtc/" ); - $o = replace_macros( $t, array( + $o = replace_macros( $t, [ '$submit' => t('Save Settings'), - '$webrtcurl' => array('webrtcurl', t('WebRTC Base URL'), Config::get('webrtc','webrtcurl' ), t('Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org .')), - )); + '$webrtcurl' => ['webrtcurl', t('WebRTC Base URL'), Config::get('webrtc','webrtcurl' ), t('Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org .')], + ]); } function webrtc_plugin_admin_post (&$a) { $url = ((x($_POST, 'webrtcurl')) ? notags(trim($_POST['webrtcurl'])) : '');