diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index b0e9f8d..4f36264 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -358 \ No newline at end of file +360 \ No newline at end of file diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt index 0fa6a7b..69226f7 100644 --- a/Builder/IISUploadHandler/build.txt +++ b/Builder/IISUploadHandler/build.txt @@ -1 +1 @@ -90 \ No newline at end of file +92 \ No newline at end of file diff --git a/IISMainHandler/Extensions.cs b/IISMainHandler/Extensions.cs index cca4477..8feb7b1 100644 --- a/IISMainHandler/Extensions.cs +++ b/IISMainHandler/Extensions.cs @@ -18,16 +18,5 @@ namespace FLocal.IISHandler { return str.Split(new string[] { separator }, options); } - public static IEnumerable addNumbers(this IEnumerable elements) { - int i=0; - foreach(XElement element in elements) { - XElement result = new XElement(element); - result.Add(new XElement("number", i)); - result.Add(new XElement("even", (i%2 == 0).ToPlainString())); - i++; - yield return result; - } - } - } } diff --git a/IISMainHandler/handlers/BoardHandler.cs b/IISMainHandler/handlers/BoardHandler.cs index 048b77f..6fb953a 100644 --- a/IISMainHandler/handlers/BoardHandler.cs +++ b/IISMainHandler/handlers/BoardHandler.cs @@ -27,7 +27,7 @@ namespace FLocal.IISHandler.handlers { new XElement("currentLocation", board.exportToXmlSimpleWithParent(context)), new XElement("boards", from subBoard in board.subBoards select subBoard.exportToXml(context, true)), new XElement("threads", - (from thread in threads select thread.exportToXml(context, false)).addNumbers(), + from thread in threads select thread.exportToXml(context, false), pageOuter.exportToXml(1, 5, 1) ) }; diff --git a/IISMainHandler/handlers/response/UserListHandler.cs b/IISMainHandler/handlers/response/UserListHandler.cs index 9559335..0e75003 100644 --- a/IISMainHandler/handlers/response/UserListHandler.cs +++ b/IISMainHandler/handlers/response/UserListHandler.cs @@ -23,7 +23,7 @@ namespace FLocal.IISHandler.handlers.response { IEnumerable users = User.getUsers(pageOuter, context); return new XElement[] { new XElement("users", - (from user in users select user.exportToXmlForViewing(context)).addNumbers(), + from user in users select user.exportToXmlForViewing(context), pageOuter.exportToXml(2, 5, 2) ) }; diff --git a/templates/Full/UserList.xslt b/templates/Full/UserList.xslt index 2156218..b898579 100644 --- a/templates/Full/UserList.xslt +++ b/templates/Full/UserList.xslt @@ -67,7 +67,7 @@ - + lighttable diff --git a/templates/Full/elems/ThreadInfo.xslt b/templates/Full/elems/ThreadInfo.xslt index 40e2b16..34dfe90 100644 --- a/templates/Full/elems/ThreadInfo.xslt +++ b/templates/Full/elems/ThreadInfo.xslt @@ -4,7 +4,7 @@ - + lighttable