1/** 2 * onArcade 2.4 3 * Copyright © 2006-2013 Hans Mäesalu & Eveterm OÃ, All Rights Reserved 4 ** 5 * ONARCADE IS NOT FREE SOFTWARE! 6 * http://www.onarcade.com 7 ** 8 * JavaScript template code. 9 **/ 10 11var template = { 12 13 /* 14 * Score line 15 */ 16 score_line: '<div class="score_line$(me)">' 17 +'<p class="position">$(pos)</p>' 18 +'<p class="user"><a href="$(url)">$(username)</a></p>' 19 +'<p class="score">$(score)</p>' 20 +'<p class="date">$(date)</p>' 21 +'</div>', 22 23 /* 24 * Cup score line on file page 25 */ 26 cup_score_line: '<div class="score_line$(me)">' 27 +'<p class="position">$(pos)</p>' 28 +'<p class="points">$(points)</p>' 29 +'<p class="user"><a href="$(url)">$(username)</a></p>' 30 +'<p class="score">$(score)</p>' 31 +'<p class="date">$(date)</p>' 32 +'</div>', 33 34 /* 35 * Notification in User CP 36 */ 37 notification: '<div class="notification" id="notification_$(id)"><img src="images/notification_delete.png" class="del_notification" alt="" style="float:right" /><span class="time">$(time)</span> $(notification)</div>', 38 39 /* 40 * Notification in user menu 41 */ 42 notification_menu: '<div class="notification" id="notification_menu_$(id)"><img src="$(siteurl)images/notification_delete.png" class="del_notification" alt="" /> $(notification)</div>', 43 44 /* 45 * Favorite file in User CP on favorites page 46 */ 47 favoriteFile: '<div class="file" id="favourite_$(id)">' 48 +'<div class="icon"><a href="$(url)"><img src="$(image)" width="$(width)" height="$(height)" alt="$(title)" /></a></div>' 49 +'<div class="desc">' 50 +'<p class="link"><a href="$(url)">$(title)</a></p>' 51 +'<p>$(description)</p>' 52 +'<p><img src="images/remove.png" class="click removeFile" title="$(lang_delete)" alt="$(lang_delete)" /></p>' 53 +'</div></div>', 54 55 /* 56 * Favorites in user menu 57 */ 58 favorites_menu: '<p class="favorite"><a href="$(url)">$(title)</a></p>', 59 60 /* 61 * Friend in User CP 62 */ 63 friend: '<div class="member" id="member_$(id)">' 64 +'<img class="avatar" src="$(avatar)">' 65 +'<div class="info">' 66 +'<p><a href="$(url)">$(username)</a></p>' 67 +'<p>$(name)</p>' 68 +'<p>$(location)</p>' 69 +'<p><img src="images/send_pm.png" class="click send_pm" />' 70 +' <img src="images/remove.png" class="click remove_friend" title="$(lang_remove_friend)" />' 71 +' $(accept)</p></div></div>', 72 73 /* 74 * Comment on file page 75 */ 76 comment: '<div class="comment" id="comment_$(id)">' 77 +'<img src="$(siteurl)images/report.png" title="$(lang_report)" alt="$(lang_report)" class="report" />' 78 +'<p><span class="user">$(user)</span><span class="date">($(date))</span></p>' 79 +'<p class="text">$(comment)</p>' 80 +'</div>', 81 82 /* 83 * Comment on user profile page 84 */ 85 profile_comment: '<div class="comment" id="comment_$(id)">' 86 +'<p><span class="user">$(user)</span><span class="date">($(date))</span></p>' 87 +'<p class="text">$(comment)</p>' 88 +'</div>', 89 90 /* 91 * Cup game 92 */ 93 cup_game: '<div id="game_$(id)">' 94 +'<a href="$(url)" target="_blank"><img src="$(image)" title="$(title)" alt="$(title)" /></a>' 95 +'<p class="center"><img src="images/remove.png" class="click remove_game" /></p>' 96 +'</div>' 97 98};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.