From 8a50f5c7b4a50b64796b4963f8dda2e13a70f40c Mon Sep 17 00:00:00 2001 From: cproudlock Date: Mon, 22 Dec 2025 10:23:19 -0500 Subject: [PATCH] Remove emojis and clarify comments in search.asp and adminclearcache.asp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- adminclearcache.asp | 18 +++++++++--------- search.asp | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/adminclearcache.asp b/adminclearcache.asp index 3df263c..71f0b22 100644 --- a/adminclearcache.asp +++ b/adminclearcache.asp @@ -45,7 +45,7 @@
-

🔧 Cache Management

+

Cache Management

<% Dim confirm, cacheType, redirectPage, printerIP @@ -62,23 +62,23 @@ If confirm = "yes" Then Case "printer" If printerIP <> "" Then Call ClearPrinterCache(printerIP) - Response.Write("
✓ Success! Cache cleared for printer: " & Server.HTMLEncode(printerIP) & "
") + Response.Write("
Success: Cache cleared for printer: " & Server.HTMLEncode(printerIP) & "
") Else - Response.Write("
⚠️ Error: No printer IP specified.
") + Response.Write("
Error: No printer IP specified.
") End If Case "zabbix" Call ClearAllZabbixCache() - Response.Write("
✓ Success! All Zabbix cache cleared (all printers).
") + Response.Write("
Success: All Zabbix cache cleared (all printers).
") Case "dropdown" Call ClearDropdownCache() - Response.Write("
✓ Success! Dropdown cache cleared.
") + Response.Write("
Success: Dropdown cache cleared.
") Case "list" Call ClearListCache() - Response.Write("
✓ Success! List cache cleared.
") + Response.Write("
Success: List cache cleared.
") Case Else Call ClearAllZabbixCache() Call ClearAllDataCache() - Response.Write("
✓ Success! All cache cleared.
") + Response.Write("
Success: All cache cleared.
") End Select ' Redirect if specified, otherwise show link @@ -137,7 +137,7 @@ Else ' Add form for individual printer cache clearing Response.Write("
") - Response.Write("🖨️ Clear Individual Printer Cache") + Response.Write("Clear Individual Printer Cache") Response.Write("

To clear cache for a specific printer, enter its IP address:

") Response.Write("
") Response.Write("") @@ -151,7 +151,7 @@ Else Response.Write("
") Response.Write("
") - Response.Write("⚠️ Note: Clearing cache will cause slower page loads until cache rebuilds.") + Response.Write("Note: Clearing cache will cause slower page loads until cache rebuilds.") Response.Write("
") Response.Write("
") Response.Write("Clear ALL Cache ") diff --git a/search.asp b/search.asp index f939c37..dd57997 100644 --- a/search.asp +++ b/search.asp @@ -95,7 +95,7 @@ '----------------------------- Search for Applications directly ---------------------------------------------------------------- ' If only one application matches, redirect directly to it -' Normalize search by removing common punctuation for better matching +' Normalize search by removing hyphens and underscores Dim normalizedSearch normalizedSearch = search normalizedSearch = Replace(normalizedSearch, "-", " ") @@ -327,7 +327,7 @@ If isShared And search <> "" Then
- 💡 Self-Service Tip + Self-Service Tip This result was found by searching for "<%=Server.HTMLEncode(searchDisplay)%>".
@@ -349,7 +349,7 @@ Dim rsApps, appResults(), appCount appCount = 0 ' Use FULLTEXT search with MATCH...AGAINST in BOOLEAN MODE (same as KB articles) -' This provides consistent scoring methodology across apps and KB articles +' Uses same FULLTEXT search as KB articles for uniform relevance ranking ' NOTE: FULLTEXT has ft_min_word_len=4, so short words like "PC", "3", "of" won't match strSQL = "SELECT appid, appname, " & _ "MATCH (appname) AGAINST (? IN BOOLEAN MODE) AS relevance " & _