Quantcast

Rearranged Datatexts

Repooc [04-17-14 - 03:38]
Rearranged Datatexts
Filename
ElvUI_SLE/modules/datatexts/options.lua
diff --git a/ElvUI_SLE/modules/datatexts/options.lua b/ElvUI_SLE/modules/datatexts/options.lua
index e289aa3..a77ee7c 100755
--- a/ElvUI_SLE/modules/datatexts/options.lua
+++ b/ElvUI_SLE/modules/datatexts/options.lua
@@ -189,10 +189,168 @@ E.Options.args.sle.args.datatext.args.sldatatext = {
 			type = 'description',
 			name = "",
 		},
+		timedt = {
+			type = "group",
+			name = RAID_FINDER,
+			order = 1,
+			args = {
+				lfrshow = {
+					order = 1,
+					type = "toggle",
+					name = L["LFR Lockout"],
+					desc = L["Show/Hide LFR lockout info in time datatext's tooltip."],
+					get = function(info) return E.db.sle.lfrshow.enabled end,
+					set = function(info, value) E.db.sle.lfrshow.enabled = value; end
+				},
+				instances = {
+					order = 2,
+					type = "group",
+					name = L["Loot History"],
+					guiInline = true,
+					get = function(info) return E.db.sle.lfrshow[ info[#info] ] end,
+					set = function(info, value) E.db.sle.lfrshow[ info[#info] ] = value; end,
+					args = {
+						ds = {
+							order = 1,
+							type = "toggle",
+							name = GetMapNameByID(824),
+						},
+						mv = {
+							order = 2,
+							type = "toggle",
+							name = GetMapNameByID(896),
+						},
+						hof = {
+							order = 3,
+							type = "toggle",
+							name = GetMapNameByID(897),
+						},
+						toes = {
+							order = 4,
+							type = "toggle",
+							name = GetMapNameByID(886),
+						},
+						tot = {
+							order = 5,
+							type = "toggle",
+							name = GetMapNameByID(930),
+						},
+						soo = {
+							order = 6,
+							type = "toggle",
+							name = GetMapNameByID(953),
+						},
+						soof = {
+							order = 7,
+							type = "toggle",
+							name = FLEX_RAID.." "..GetMapNameByID(953),
+						},
+					},
+				},
+				hubs = {
+					order = 3,
+					type = "group",
+					name = L["World Loot"],
+					guiInline = true,
+					get = function(info) return E.db.sle.lfrshow[ info[#info] ] end,
+					set = function(info, value) E.db.sle.lfrshow[ info[#info] ] = value; end,
+					args = {
+						leishen = {
+							order = 1,
+							type = "toggle",
+							name = GetMapNameByID(928),
+							desc = L["Show/Hide the status of Key to the Palace of Lei Shen and Trove of the Thunder King."],
+						},
+					},
+				},
+			},
+		},
+		slcurrency = {
+			type = "group",
+			name = "S&L Currency",
+			order = 2,
+			args = {
+				header = {
+					order = 1,
+					type = "description",
+					name = L['ElvUI Improved Currency Options'],
+				},
+				arch = {
+					order = 2,
+					type = "toggle",
+					name = L['Show Archaeology Fragments'],
+					get = function(info) return E.private['ElvUI_Currency']['Archaeology'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Archaeology'] = value; end,
+				},
+				jewel = {
+					order = 3,
+					type = "toggle",
+					name = L['Show Jewelcrafting Tokens'],
+					get = function(info) return E.private['ElvUI_Currency']['Jewelcrafting'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Jewelcrafting'] = value; end,
+				},
+				pvp = {
+					order = 4,
+					type = "toggle",
+					name = L['Show Player vs Player Currency'],
+					get = function(info) return E.private['ElvUI_Currency']['PvP'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['PvP'] = value; end,
+				},
+				dungeon = {
+					order = 5,
+					type = "toggle",
+					name = L['Show Dungeon and Raid Currency'],
+					get = function(info) return E.private['ElvUI_Currency']['Raid'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Raid'] = value; end,
+				},
+				cook = {
+					order = 6,
+					type = "toggle",
+					name = L['Show Cooking Awards'],
+					get = function(info) return E.private['ElvUI_Currency']['Cooking'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Cooking'] = value; end,
+				},
+				misc = {
+					order = 7,
+					type = "toggle",
+					name = L['Show Miscellaneous Currency'],
+					get = function(info) return E.private['ElvUI_Currency']['Miscellaneous'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Miscellaneous'] = value; end,
+				},
+				zero = {
+					order = 8,
+					type = "toggle",
+					name = L['Show Zero Currency'],
+					get = function(info) return E.private['ElvUI_Currency']['Zero'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Zero'] = value; end,
+				},
+				icons = {
+					order = 9,
+					type = "toggle",
+					name = L['Show Icons'],
+					get = function(info) return E.private['ElvUI_Currency']['Icons'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Icons'] = value; end,
+				},
+				faction = {
+					order = 10,
+					type = "toggle",
+					name = L['Show Faction Totals'],
+					get = function(info) return E.private['ElvUI_Currency']['Faction'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Faction'] = value; end,
+				},
+				unused = {
+					order = 11,
+					type = "toggle",
+					name = L['Show Unsed Currency'],
+					get = function(info) return E.private['ElvUI_Currency']['Unused'] end,
+					set = function(info, value) E.private['ElvUI_Currency']['Unused'] = value; end,
+				},
+			},
+		},
 		slfriends = {
 			type = "group",
 			name = L["S&L Friends"],
-			order = 1,
+			order = 3,
 			args = {
 				header = {
 					order = 1,
@@ -250,7 +408,7 @@ E.Options.args.sle.args.datatext.args.sldatatext = {
 		slguild = {
 			type = "group",
 			name = L["S&L Guild"],
-			order = 2,
+			order = 4,
 			args = {
 				header = {
 					order = 1,
@@ -316,7 +474,7 @@ E.Options.args.sle.args.datatext.args.sldatatext = {
 		slmail = {
 			type = "group",
 			name = L["S&L Mail"],
-			order = 3,
+			order = 5,
 			args = {
 				header = {
 					order = 1,
@@ -333,164 +491,6 @@ E.Options.args.sle.args.datatext.args.sldatatext = {
 				}
 			},
 		},
-		slcurrency = {
-			type = "group",
-			name = "S&L Currency",
-			order = 6,
-			args = {
-				header = {
-					order = 1,
-					type = "description",
-					name = L['ElvUI Improved Currency Options'],
-				},
-				arch = {
-					order = 2,
-					type = "toggle",
-					name = L['Show Archaeology Fragments'],
-					get = function(info) return E.private['ElvUI_Currency']['Archaeology'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Archaeology'] = value; end,
-				},
-				jewel = {
-					order = 3,
-					type = "toggle",
-					name = L['Show Jewelcrafting Tokens'],
-					get = function(info) return E.private['ElvUI_Currency']['Jewelcrafting'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Jewelcrafting'] = value; end,
-				},
-				pvp = {
-					order = 4,
-					type = "toggle",
-					name = L['Show Player vs Player Currency'],
-					get = function(info) return E.private['ElvUI_Currency']['PvP'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['PvP'] = value; end,
-				},
-				dungeon = {
-					order = 5,
-					type = "toggle",
-					name = L['Show Dungeon and Raid Currency'],
-					get = function(info) return E.private['ElvUI_Currency']['Raid'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Raid'] = value; end,
-				},
-				cook = {
-					order = 6,
-					type = "toggle",
-					name = L['Show Cooking Awards'],
-					get = function(info) return E.private['ElvUI_Currency']['Cooking'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Cooking'] = value; end,
-				},
-				misc = {
-					order = 7,
-					type = "toggle",
-					name = L['Show Miscellaneous Currency'],
-					get = function(info) return E.private['ElvUI_Currency']['Miscellaneous'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Miscellaneous'] = value; end,
-				},
-				zero = {
-					order = 8,
-					type = "toggle",
-					name = L['Show Zero Currency'],
-					get = function(info) return E.private['ElvUI_Currency']['Zero'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Zero'] = value; end,
-				},
-				icons = {
-					order = 9,
-					type = "toggle",
-					name = L['Show Icons'],
-					get = function(info) return E.private['ElvUI_Currency']['Icons'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Icons'] = value; end,
-				},
-				faction = {
-					order = 10,
-					type = "toggle",
-					name = L['Show Faction Totals'],
-					get = function(info) return E.private['ElvUI_Currency']['Faction'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Faction'] = value; end,
-				},
-				unused = {
-					order = 11,
-					type = "toggle",
-					name = L['Show Unsed Currency'],
-					get = function(info) return E.private['ElvUI_Currency']['Unused'] end,
-					set = function(info, value) E.private['ElvUI_Currency']['Unused'] = value; end,
-				},
-			},
-		},
-		timedt = {
-			type = "group",
-			name = RAID_FINDER,
-			order = 6,
-			args = {
-				lfrshow = {
-					order = 1,
-					type = "toggle",
-					name = L["LFR Lockout"],
-					desc = L["Show/Hide LFR lockout info in time datatext's tooltip."],
-					get = function(info) return E.db.sle.lfrshow.enabled end,
-					set = function(info, value) E.db.sle.lfrshow.enabled = value; end
-				},
-				instances = {
-					order = 2,
-					type = "group",
-					name = L["Loot History"],
-					guiInline = true,
-					get = function(info) return E.db.sle.lfrshow[ info[#info] ] end,
-					set = function(info, value) E.db.sle.lfrshow[ info[#info] ] = value; end,
-					args = {
-						ds = {
-							order = 1,
-							type = "toggle",
-							name = GetMapNameByID(824),
-						},
-						mv = {
-							order = 2,
-							type = "toggle",
-							name = GetMapNameByID(896),
-						},
-						hof = {
-							order = 3,
-							type = "toggle",
-							name = GetMapNameByID(897),
-						},
-						toes = {
-							order = 4,
-							type = "toggle",
-							name = GetMapNameByID(886),
-						},
-						tot = {
-							order = 5,
-							type = "toggle",
-							name = GetMapNameByID(930),
-						},
-						soo = {
-							order = 6,
-							type = "toggle",
-							name = GetMapNameByID(953),
-						},
-						soof = {
-							order = 7,
-							type = "toggle",
-							name = FLEX_RAID.." "..GetMapNameByID(953),
-						},
-					},
-				},
-				hubs = {
-					order = 3,
-					type = "group",
-					name = L["World Loot"],
-					guiInline = true,
-					get = function(info) return E.db.sle.lfrshow[ info[#info] ] end,
-					set = function(info, value) E.db.sle.lfrshow[ info[#info] ] = value; end,
-					args = {
-						leishen = {
-							order = 1,
-							type = "toggle",
-							name = GetMapNameByID(928),
-							desc = L["Show/Hide the status of Key to the Palace of Lei Shen and Trove of the Thunder King."],
-						},
-					},
-				},
-			},
-		},
 	},
 }
 end