From: Tobias Diekershoff Date: Sun, 12 May 2013 18:19:23 +0000 (+0200) Subject: add reminder if configuration was not done by the admin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d5ef105c15d25a07c7bf4af879f183d648088108;p=friendica-addons.git add reminder if configuration was not done by the admin --- diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index ad50a0d5..ce2a1ad9 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -46,7 +46,12 @@ function webrtc_content(&$a) { /* embedd the landing page in an iframe */ $o .= '

'.t('Video Chat').'

'; $o .= '

FIXME some short information for the enduser what to do. Best surrounded in a t() call so the text can be translated.

'; - $o .= ''; + if ($webrtcurl == '') { + $o .= '

'.t('Please contact your friendica admin and send a reminder to configure the WebRTC addon.').'

'; + } else { + $o .= ''; + } + return $o; }