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:
@@ -57,7 +57,7 @@ show_main_menu() {
|
||||
cecho " ${YELLOW}b${NC}) Backup Current Configurations"
|
||||
cecho " ${YELLOW}r${NC}) Restore from Backup"
|
||||
echo ""
|
||||
cecho " ${RED}q${NC}) Quit"
|
||||
cecho " ${RED}0${NC}) Exit"
|
||||
echo ""
|
||||
cecho "${CYAN}─────────────────────────────────────────────────────────────────────${NC}"
|
||||
}
|
||||
@@ -1733,7 +1733,7 @@ main() {
|
||||
r)
|
||||
restore_configurations
|
||||
;;
|
||||
q|Q)
|
||||
0)
|
||||
cecho "${GREEN}Exiting PHP Optimizer...${NC}"
|
||||
exit 0
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user