Browse Source

Donate menu

Tobias Reich 11 years ago
parent
commit
d8428de0c4
2 changed files with 4 additions and 1 deletions
  1. 3 1
      assets/js/modules/contextMenu.js
  2. 1 0
      assets/js/modules/lychee.js

+ 3 - 1
assets/js/modules/contextMenu.js

@@ -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");

+ 1 - 0
assets/js/modules/lychee.js

@@ -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/",