Discuz.Web/javascript/template_tags.js
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
if (typeof (closedtags)=='undefined')
{
var closedtags;
}
if (typeof (colorfultags)=='undefined')
{
var colorfultags;
}
function forumhottag_callback(data)
{
var hottag_html = '';
for (var i in data)
{
if (!in_array(data[i].tagid, closedtags))
{
if(aspxrewrite == 1) {
hottag_html += '<li><a href="topictag-' + data[i].tagid + '.aspx" target="_blank"';
}
else {
hottag_html += '<li><a href="tags.aspx?t=topic&tagid=' + data[i].tagid + '" target="_blank"';
}
if (colorfultags && colorfultags[data[i].tagid])
{
hottag_html += ' style="color: #' + colorfultags[data[i].tagid].color + '"';
}
hottag_html +='>' + data[i].tagname + '</a><em>(' + data[i].fcount + ')</em></li>';
}
}
$('forumhottags').innerHTML = hottag_html;
}
function spacehottag_callback(data)
{
var hottag_html = '';
for (var i in data)
{
if (!in_array(data[i].tagid, closedtags))
{
if(aspxrewrite == 1) {
hottag_html += '<li><a href="spacetag-' + data[i].tagid + '.aspx" target="_blank"';
}
else {
hottag_html += '<li><a href="tags.aspx?t=spacepost&tagid=' + data[i].tagid + '" target="_blank"';
}
if (colorfultags && colorfultags[data[i].tagid])
{
hottag_html += ' style="color: #' + colorfultags[data[i].tagid].color + '"';
}
hottag_html +='>' + data[i].tagname + '</a>(' + data[i].scount + ')</li>';
}
}
$('spacehottags').innerHTML = hottag_html;
}
function photohottag_callback(data)
{
var hottag_html = '';
for (var i in data)
后面还有 77 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
