2020-04-26 11:36:41 +02:00
< ? php
/** @var $l \OCP\IL10N */
/** @var $_ array */
2020-04-26 13:26:34 +02:00
script ( 'bbb' , 'admin' );
2020-08-27 17:21:34 +02:00
script ( 'bbb' , 'restrictions' );
2020-04-26 11:36:41 +02:00
?>
2020-04-26 13:26:34 +02:00
< div id = " bbb-settings " class = " section " >
2020-04-26 11:36:41 +02:00
< h2 > BigBlueButton </ h2 >
2020-05-22 09:33:30 +02:00
< p >< ? php p ( $l -> t ( 'Get your API URL and secret by executing "sudo bbb-conf --secret" on your BigBlueButton server.' )); ?> </p>
2020-05-17 13:39:01 +02:00
2020-09-23 09:13:26 +02:00
< form id = " bbb-api " >
2020-05-22 09:33:30 +02:00
< input type = " url " name = " api.url " value = " <?php p( $_['api.url'] ); ?> " placeholder = " <?php p( $l->t ('API URL')); ?> " pattern = " https://.* " required />
2020-05-17 13:39:01 +02:00
< input type = " password " name = " api.secret " value = " <?php p( $_['api.secret'] ); ?> " placeholder = " <?php p( $l->t ('API secret')); ?> " autocomplete = " new-password " required />
2020-04-26 11:36:41 +02:00
< input type = " submit " value = " <?php p( $l->t ('Save')); ?> " />
2020-05-17 13:39:01 +02:00
2020-09-23 09:13:26 +02:00
< div class = " bbb-result " ></ div >
2020-04-26 11:36:41 +02:00
</ form >
2020-08-26 10:57:31 +02:00
< p >
2020-08-27 17:21:34 +02:00
< input type = " checkbox " name = " app.navigation " id = " bbb-app-navigation " class = " checkbox " value = " 1 " < ? php p ( $_ [ 'app.navigation' ]); ?> />
2020-08-26 10:57:31 +02:00
< label for = " bbb-app-navigation " >< ? php p ( $l -> t ( 'Show room manager in app navigation instead of settings page.' )); ?> </label>
</ p >
2020-08-27 17:21:34 +02:00
2021-02-13 16:10:49 +01:00
< h3 >< ? php p ( $l -> t ( 'Community' )); ?> </h3>
< p >< ? php p ( $l -> t ( 'Are you enjoying this app? Give something back to the open source community.' )); ?> <a href="https://github.com/sualko/cloud_bbb/blob/master/.github/contributing.md" target="_blank" rel="noopener noreferrer" class="button"><span class="heart"></span> <?php p($l->t('Checkout the contributor guide')); ?></a></p>
2020-09-23 09:13:26 +02:00
< h3 > URL Shortener </ h3 >
< p >< ? php p ( $l -> t ( 'If you like to use shorter urls, you can enter a forwarding proxy below.' )); ?> </p>
< form id = " bbb-shortener " >
< input type = " url " name = " app.shortener " value = " <?php p( $_['app.shortener'] ); ?> " placeholder = " <?php p( $l->t ('URL shortener')); ?> " pattern = " https://.* " />
< input type = " submit " value = " <?php p( $l->t ('Save')); ?> " />
< div id = " bbb-shortener-example " ></ div >
< div class = " bbb-result " ></ div >
</ form >
2020-08-27 17:21:34 +02:00
< h3 > Restrictions </ h3 >
< div id = " bbb-restrictions " >
</ div >
2020-05-22 09:33:30 +02:00
</ div >