Donate menu
This commit is contained in:
parent
38ae4662ff
commit
d8428de0c4
@ -84,6 +84,7 @@ contextMenu = {
|
|||||||
function() { settings.setLogin() },
|
function() { settings.setLogin() },
|
||||||
function() { settings.setSorting() },
|
function() { settings.setSorting() },
|
||||||
function() { window.open(lychee.website,"_newtab"); },
|
function() { window.open(lychee.website,"_newtab"); },
|
||||||
|
function() { window.open(lychee.website_donate,"_newtab"); },
|
||||||
function() { lychee.logout() }
|
function() { lychee.logout() }
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -91,8 +92,9 @@ contextMenu = {
|
|||||||
["<a class='icon-user'></a> Change Login", 0],
|
["<a class='icon-user'></a> Change Login", 0],
|
||||||
["<a class='icon-sort'></a> Change Sorting", 1],
|
["<a class='icon-sort'></a> Change Sorting", 1],
|
||||||
["<a class='icon-info-sign'></a> About Lychee", 2],
|
["<a class='icon-info-sign'></a> About Lychee", 2],
|
||||||
|
["<a class='icon-gift'></a> Donate", 3],
|
||||||
["separator", -1],
|
["separator", -1],
|
||||||
["<a class='icon-signout'></a> Sign Out", 3]
|
["<a class='icon-signout'></a> Sign Out", 4]
|
||||||
];
|
];
|
||||||
|
|
||||||
contextMenu.show(items, mouse_x, mouse_y, "right");
|
contextMenu.show(items, mouse_x, mouse_y, "right");
|
||||||
|
@ -13,6 +13,7 @@ var lychee = {
|
|||||||
update_path: "http://lychee.electerious.com/version/index.php",
|
update_path: "http://lychee.electerious.com/version/index.php",
|
||||||
updateURL: "https://github.com/electerious/Lychee",
|
updateURL: "https://github.com/electerious/Lychee",
|
||||||
website: "http://lychee.electerious.com",
|
website: "http://lychee.electerious.com",
|
||||||
|
website_donate: "http://lychee.electerious.com#donate",
|
||||||
|
|
||||||
upload_path_thumb: "uploads/thumb/",
|
upload_path_thumb: "uploads/thumb/",
|
||||||
upload_path_big: "uploads/big/",
|
upload_path_big: "uploads/big/",
|
||||||
|
Loading…
Reference in New Issue
Block a user