Fix menu standards: Add RED 0 back buttons to 3 menus

Fixed php-optimizer.sh:
- Changed 'q) Quit' to '0) Exit' with RED color
- Updated case handler to use '0' instead of 'q|Q'

Fixed live-attack-monitor-v2.sh (2 menus):
1. show_blocking_menu:
   - Changed 'Cancel' to 'Back' with RED 0
2. show_security_hardening_menu:
   - Changed 'q) Return to Monitor' to '0) Back' with RED color
   - Updated case handler to use '0' instead of 'q|Q'

Progress: 3/9 menus fixed
Remaining: bot-analyzer (2), malware-scanner (1), live-attack-monitor (2), acronis-logs (1)
This commit is contained in:
cschantz
2025-12-17 01:31:06 -05:00
parent cbe274b7d6
commit db187f8f0f
2 changed files with 2924 additions and 2 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ show_main_menu() {
cecho " ${YELLOW}b${NC}) Backup Current Configurations" cecho " ${YELLOW}b${NC}) Backup Current Configurations"
cecho " ${YELLOW}r${NC}) Restore from Backup" cecho " ${YELLOW}r${NC}) Restore from Backup"
echo "" echo ""
cecho " ${RED}q${NC}) Quit" cecho " ${RED}0${NC}) Exit"
echo "" echo ""
cecho "${CYAN}─────────────────────────────────────────────────────────────────────${NC}" cecho "${CYAN}─────────────────────────────────────────────────────────────────────${NC}"
} }
@@ -1733,7 +1733,7 @@ main() {
r) r)
restore_configurations restore_configurations
;; ;;
q|Q) 0)
cecho "${GREEN}Exiting PHP Optimizer...${NC}" cecho "${GREEN}Exiting PHP Optimizer...${NC}"
exit 0 exit 0
;; ;;
File diff suppressed because it is too large Load Diff