- Timestamp:
- 01/04/12 16:25:26 (5 months ago)
- Files:
-
- 1 modified
-
trunk/src/resources/search.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/resources/search.js
r779 r780 149 149 150 150 html += "<li>"; 151 html += "<img src=\"idldoc-resources/searchbar.png\" height=\"10\" width=\"" + width + "\" /> "; 152 html += "<a href=\"" + libdata[item][URL] + "\" target=\"main_frame\">" + libdata[item][NAME] + "</a><br/>"; 151 html += "<a href=\"" + libdata[item][URL] + "\" target=\"main_frame\">" + libdata[item][NAME] + "</a> — "; 153 152 html += matchType + "<br/>"; 154 153 … … 169 168 html += "</span><br/>"; 170 169 170 html += "<img src=\"idldoc-resources/searchbar.png\" height=\"10\" width=\"" + width + "\" /> "; 171 171 172 html += "<span class=\"score\">Score: " + Math.round(10 * libdata[item][SCORE]) / 10; 172 173 plural = libdata[item][N_MATCHES] > 1 ? "es" : ""; 173 html += " -" + libdata[item][N_MATCHES] + " match" + plural + " in ";174 html += " (" + libdata[item][N_MATCHES] + " match" + plural + " in "; 174 175 175 176 if (mType == 3) { … … 191 192 } 192 193 193 html += type + " </span></li>";194 html += type + ")</span></li>"; 194 195 } 195 196
