From d5ef105c15d25a07c7bf4af879f183d648088108 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 20:19:23 +0200 Subject: [PATCH] add reminder if configuration was not done by the admin --- webrtc/webrtc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; }