* distinguish between articles for dbpage and other articles
 * can be served by url instead of arbitrary picked type/typeId-pair
 * save access to article in db (not used yet)
 * serve correct g_pageInfo if on article-page

SiteReputation/Privileges
 * implemented info pages
This commit is contained in:
Sarjuuk
2017-03-19 22:58:51 +01:00
parent 939a3f1e31
commit 5360b09d0f
21 changed files with 554 additions and 111 deletions

View File

@@ -923,13 +923,33 @@ var mn_tools = [
[4,"Página aleatoria","?random"]
]]
];
var mn_reputation = [
[0, "Mostrar todos los privilegios", "?privileges"],
[, "Privilegios"],
[1, "Escribir comentarios", "?privilege=1"],
// [2, "Escribir enlaces externos", "?privilege=2"],
// [4, "Sin CAPTCHAs", "?privilege=4"],
[5, "Los votos de comentario valen más", "?privilege=5"],
[9, "Más votos por día", "?privilege=9"],
[10, "Dar una valoración positiva a comentarios", "?privilege=10"],
[11, "Dar una valoración negativa a comentarios", "?privilege=11"],
[12, "Escribir respuestas a comentarios", "?privilege=12"],
// [13, "Borde: Poco Común", "?privilege=13"],
// [14, "Borde: Raro", "?privilege=14"],
// [15, "Borde: Épica", "?privilege=15"],
// [16, "Borde: Legendaria", "?privilege=16"],
[17, "AoWoW Premium", "?privilege=17"]
];
var mn_community = [
[3,"Foros","http://forums.battle.net",null,{tinyIcon: g_staticUrl + "/images/icons/forum.png"}],
[7,"Blog","http://worldpress.com",null,{tinyIcon: g_staticUrl + "/images/icons/blog.png"}],
[4,"Canal de IRC","http://webchat.quakenet.org/",null,{tinyIcon: g_staticUrl + "/images/icons/irc.png"}],
[,"Comunidad"],
[10, "Reputación en la web", "?reputation", mn_reputation],
[11, "Usuarios más populares", "?top-users"],
[,"Social"],
[6,"Página de Facebook","http://facebook.com",null,{tinyIcon: g_staticUrl + "/images/icons/facebook.gif"}],
[5,"Página de Twitter","http://twitter.com",null,{tinyIcon: g_staticUrl + "/images/icons/twitter.gif"}]
[6,"Página de Facebook","http://facebook.com",null,{tinyIcon: g_staticUrl + "/images/icons/facebook.png"}],
[5,"Página de Twitter","http://twitter.com",null,{tinyIcon: g_staticUrl + "/images/icons/twitter.png"}]
];
var mn_more = [
[,"Todo sobre AoWoW"],