Remove emojis and clarify comments in search.asp and adminclearcache.asp
- Remove emoji icons from UI text (lightbulb, wrench, warning, printer, checkmark) - Replace AI-sounding comment phrases with specific descriptions - Keep technical arrow notation in code comments (→) for mapping documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h2>🔧 Cache Management</h2>
|
||||
<h2>Cache Management</h2>
|
||||
|
||||
<%
|
||||
Dim confirm, cacheType, redirectPage, printerIP
|
||||
@@ -62,23 +62,23 @@ If confirm = "yes" Then
|
||||
Case "printer"
|
||||
If printerIP <> "" Then
|
||||
Call ClearPrinterCache(printerIP)
|
||||
Response.Write("<div class='success'><strong>✓ Success!</strong> Cache cleared for printer: " & Server.HTMLEncode(printerIP) & "</div>")
|
||||
Response.Write("<div class='success'><strong>Success:</strong> Cache cleared for printer: " & Server.HTMLEncode(printerIP) & "</div>")
|
||||
Else
|
||||
Response.Write("<div class='warning'><strong>⚠️ Error:</strong> No printer IP specified.</div>")
|
||||
Response.Write("<div class='warning'><strong>Error:</strong> No printer IP specified.</div>")
|
||||
End If
|
||||
Case "zabbix"
|
||||
Call ClearAllZabbixCache()
|
||||
Response.Write("<div class='success'><strong>✓ Success!</strong> All Zabbix cache cleared (all printers).</div>")
|
||||
Response.Write("<div class='success'><strong>Success:</strong> All Zabbix cache cleared (all printers).</div>")
|
||||
Case "dropdown"
|
||||
Call ClearDropdownCache()
|
||||
Response.Write("<div class='success'><strong>✓ Success!</strong> Dropdown cache cleared.</div>")
|
||||
Response.Write("<div class='success'><strong>Success:</strong> Dropdown cache cleared.</div>")
|
||||
Case "list"
|
||||
Call ClearListCache()
|
||||
Response.Write("<div class='success'><strong>✓ Success!</strong> List cache cleared.</div>")
|
||||
Response.Write("<div class='success'><strong>Success:</strong> List cache cleared.</div>")
|
||||
Case Else
|
||||
Call ClearAllZabbixCache()
|
||||
Call ClearAllDataCache()
|
||||
Response.Write("<div class='success'><strong>✓ Success!</strong> All cache cleared.</div>")
|
||||
Response.Write("<div class='success'><strong>Success:</strong> All cache cleared.</div>")
|
||||
End Select
|
||||
|
||||
' Redirect if specified, otherwise show link
|
||||
@@ -137,7 +137,7 @@ Else
|
||||
|
||||
' Add form for individual printer cache clearing
|
||||
Response.Write("<div class='info' style='margin-top:30px;'>")
|
||||
Response.Write("<strong>🖨️ Clear Individual Printer Cache</strong>")
|
||||
Response.Write("<strong>Clear Individual Printer Cache</strong>")
|
||||
Response.Write("<p>To clear cache for a specific printer, enter its IP address:</p>")
|
||||
Response.Write("<form method='get' action='adminclearcache.asp'>")
|
||||
Response.Write("<input type='hidden' name='confirm' value='yes'>")
|
||||
@@ -151,7 +151,7 @@ Else
|
||||
Response.Write("</div>")
|
||||
|
||||
Response.Write("<div class='warning'>")
|
||||
Response.Write("<strong>⚠️ Note:</strong> Clearing cache will cause slower page loads until cache rebuilds.")
|
||||
Response.Write("<strong>Note:</strong> Clearing cache will cause slower page loads until cache rebuilds.")
|
||||
Response.Write("</div>")
|
||||
Response.Write("<br>")
|
||||
Response.Write("<a href='?confirm=yes&type=all' class='btn btn-danger'>Clear ALL Cache</a> ")
|
||||
|
||||
Reference in New Issue
Block a user