Donate menu

This commit is contained in:
Tobias Reich 2014-02-01 00:08:13 +01:00
parent 38ae4662ff
commit d8428de0c4
2 changed files with 4 additions and 1 deletions

View File

@ -84,6 +84,7 @@ contextMenu = {
function() { settings.setLogin() },
function() { settings.setSorting() },
function() { window.open(lychee.website,"_newtab"); },
function() { window.open(lychee.website_donate,"_newtab"); },
function() { lychee.logout() }
];
@ -91,8 +92,9 @@ contextMenu = {
["<a class='icon-user'></a> Change Login", 0],
["<a class='icon-sort'></a> Change Sorting", 1],
["<a class='icon-info-sign'></a> About Lychee", 2],
["<a class='icon-gift'></a> Donate", 3],
["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");

View File

@ -13,6 +13,7 @@ var lychee = {
update_path: "http://lychee.electerious.com/version/index.php",
updateURL: "https://github.com/electerious/Lychee",
website: "http://lychee.electerious.com",
website_donate: "http://lychee.electerious.com#donate",
upload_path_thumb: "uploads/thumb/",
upload_path_big: "uploads/big/",