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:
@@ -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
|
||||
<div style="display: flex; align-items: center;">
|
||||
<i class="zmdi zmdi-info" style="font-size: 28px; margin-right: 15px; opacity: 0.9;"></i>
|
||||
<div>
|
||||
<strong style="font-size: 15px; display: block; margin-bottom: 5px;">💡 Self-Service Tip</strong>
|
||||
<strong style="font-size: 15px; display: block; margin-bottom: 5px;">Self-Service Tip</strong>
|
||||
<span style="font-size: 13px; opacity: 0.95;">This result was found by searching for "<strong><%=Server.HTMLEncode(searchDisplay)%></strong>".</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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 " & _
|
||||
|
||||
Reference in New Issue
Block a user