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.

20 lines
649 B

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('../../scripts/sys_utils.php');
  3. require_once('../../scripts/distro_web_utils.php');
  4. foreach( $SYS_CONFIG['MODEM_CONFIG']['DEVICES'] as $ID=>$CD ){
  5. reload_modem_data( $ID );
  6. //$MANU = json_decode( `mmcli -m $ID --output-json`, true );
  7. //$LOLO = json_decode( `mmcli -m $ID --location-status --output-json`, true );
  8. //$MANU['modem']['location'] = $LOLO['modem']['location'];
  9. //$SYS_CONFIG['MODEM_CONFIG']['DEVICES'][$ID]=$MANU['modem'];
  10. };
  11. print_PAGE_HEADER();
  12. if( $SYS_CONFIG['NGINX_AUTH_IS_SET'] == false ) {
  13. print_AUTH_WARNING();
  14. };
  15. print_NM_ADD_FORM();
  16. print_PAGE_BOTTOM();
  17. ?>