Remove backup/restore and factory reset; add APRS/POCSAG custom settings

- Remove admin/config_backup.php (backup/restore page) and all nav
  links to it across the admin pages and the expert-mode shared header.
- Remove factory reset: the full-device version in configure.php
  (JS confirm, POST handler that reset three git repos + wiped /etc
  config, and the hidden form) and the CSS-only version in
  expert/edit_dashboard.php.
- Remove the PiStar-Remote and BM API full editors
  (admin/expert/fulledit_pistar-remote.php, fulledit_bmapikey.php)
  and their links from the expert-mode menu.
- Add a "custom" option to the APRS server dropdown in configure.php
  so operators can type their own server + port instead of picking
  from APRSHosts.txt; wires the port through to ircDDBGateway,
  YSFGateway/YSF2DMR/YSF2NXDN/YSF2P25, and APRSGateway (previously
  only the hostname was ever configurable, port was hardcoded 14580).
- Extend the POCSAG frequency band validator (functions.js) to also
  treat 150-160MHz as a valid/green range.
This commit is contained in:
2026-07-21 14:41:30 +08:00
parent 0c4bed5b6f
commit 7c93c30689
12 changed files with 48 additions and 577 deletions
-3
View File
@@ -4,7 +4,6 @@
<p style="padding-right: 5px; text-align: right; color: #ffffff;">
<a href="/" style="color: #ffffff;"><?php echo $lang['dashboard'];?></a> |
<a href="/admin/" style="color: #ffffff;"><?php echo $lang['admin'];?></a> |
<a href="/admin/config_backup.php" style="color: #ffffff;"><?php echo $lang['backup_restore'];?></a> |
<a href="/admin/configure.php" style="color: #ffffff;"><?php echo $lang['configuration'];?></a>
</p>
<p style="padding-right: 5px; text-align: right; color: #ffffff;">
@@ -20,9 +19,7 @@
<a href="edit_dapnetgateway.php" style="color: #ffffff;">DAPNET 网关</a><br />
<b>完整编辑:</b>
<a href="fulledit_dmrgateway.php" style="color: #ffffff;">DMR 网关</a> |
<a href="fulledit_pistar-remote.php" style="color: #ffffff;">PiStar-Remote</a> |
<a href="fulledit_wpaconfig.php" style="color: #ffffff;">WiFi</a> |
<a href="fulledit_bmapikey.php" style="color: #ffffff;">BM API</a> |
<a href="fulledit_dapnetapi.php" style="color: #ffffff;">DAPNET API</a> |
<a href="fulledit_cron.php" style="color: #ffffff;">系统 Cron 任务</a> |
<a href="fulledit_rssidat.php" style="color: #ffffff;">RSSI 数据</a>