* 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,"Page au hasard","?random"]
]]
];
var mn_reputation = [
[0, "Montrer tous les privilèges", "?privileges"],
[, "Privilèges"],
[1, "Poster des commentaires", "?privilege=1"],
// [2, "Poster des liens externes", "?privilege=2"],
// [4, "Pas de CAPTCHA", "?privilege=4"],
[5, "Les votes des commentaires ont plus de valeur", "?privilege=5"],
[9, "Plus de votes par jour", "?privilege=9"],
[10, "Emettre des votes positifs pour les commentaires", "?privilege=10"],
[11, "Donner des votes négatifs aux commentaires", "?privilege=11"],
[12, "Envoyer des réponses aux commentaires", "?privilege=12"],
// [13, "Bordure : Bonne", "?privilege=13"],
// [14, "Bordure : Rare", "?privilege=14"],
// [15, "Bordure : Épique", "?privilege=15"],
// [16, "Bordure : Légendaire", "?privilege=16"],
[17, "AoWoW Premium", "?privilege=17"]
];
var mn_community = [
[3,"Forum","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 IRC","http://webchat.quakenet.org/",null,{tinyIcon: g_staticUrl + "/images/icons/irc.png"}],
[,"Communauté"],
[10, "Réputation du site", "?reputation", mn_reputation],
[11, "Meilleurs Utilisateurs", "?top-users"],
[,"Social"],
[6,"Page Facebook","http://facebook.com",null,{tinyIcon: g_staticUrl + "/images/icons/facebook.gif"}],
[5,"Page Twitter","http://twitter.com",null,{tinyIcon: g_staticUrl + "/images/icons/twitter.gif"}]
[6,"Page Facebook","http://facebook.com",null,{tinyIcon: g_staticUrl + "/images/icons/facebook.png"}],
[5,"Page Twitter","http://twitter.com",null,{tinyIcon: g_staticUrl + "/images/icons/twitter.png"}]
];
var mn_more = [
[,"Tout sur AoWoW"],