widget.configure.php 365 B

123456789101112
  1. <?php
  2. $chan = empty( $widget->data('chan')) ? '': $widget->data('chan');
  3. ?>
  4. <div id="rocketchat-widget-rocketchat-form">
  5. <div>
  6. <label class="m-0">Url :</label>
  7. <small>Spécifiez le chan à integrer au widget (ex : /channel/general)</small>
  8. <input class="form-control" type="text" id="widget-rocketchat-chan" value="<?php echo $chan; ?>"/>
  9. </div>
  10. </div>