Web UI for ARGUS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
720 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //<?php require_once('../../js_asm.php'); ?>
  2. var addMediaServerDialog = null;
  3. function addMediaServer(){
  4. if( addMediaServerDialog == null ){
  5. addMediaServerDialog = new Ext.Window({
  6. modal: true,
  7. title: '<?=$Labels->GetLabel("_ADD_MEDIA_SERVER_");?>',
  8. width: 800,
  9. height: 600,
  10. layout: 'fit',
  11. closeAction: 'hide',
  12. items:{
  13. xtype: 'panel',
  14. html: 'KOKO'
  15. },bbar: [{
  16. text: '<?=$Labels->GetLabel("_CANCEL_");?>',
  17. handler: function(){
  18. addMediaServerDialog.hide();
  19. }
  20. },{
  21. id: 'con_to_src',
  22. text: '<?=$Labels->GetLabel("_ADD_");?>',
  23. disabled: false,
  24. handler: connectToSeleced
  25. }]
  26. });
  27. };
  28. addMediaServerDialog.show();
  29. };