diff --git a/exec/nodelist-html.js b/exec/nodelist-html.js index e149cea866bf5f8f9c26559328dca7bd99b4614c..81a9a46a71e5fe82f88755dec6fdf799d3333f67 100644 --- a/exec/nodelist-html.js +++ b/exec/nodelist-html.js @@ -136,16 +136,16 @@ writeln("<table border=0 width=100%>"); writeln("<thead>"); writeln("<tr bgcolor=white>"); -write(format("<th align=center width=7%>%sNode",font_color)); -write(format("<th align=center width=20%>%sUser",font_color)); -write(format("<th align=left>%sAction/Status",font_color)); +write("<th align=center width=7%>" + font_color + "Node"); +write("<th align=center width=20%>" + font_color + "User"); +write("<th align=left>" + font_color + "Action/Status"); if(include_location) - write(format("<th align=left>%sLocation",font_color)); + write("<th align=left>" +font_color+ "Location"); if(include_age_gender) { - write(format("<th align=center width=7%>%sAge",font_color)); - write(format("<th align=center width=10%>%sGender\r\n",font_color)); + write("<th align=center width=7%>" + font_color + "Age"); + write("<th align=center width=10%>" + font_color + "Gender\r\n"); } -write(format("<th align=center width=10%>%sTime\r\n",font_color)); +write("<th align=center width=10%>" + font_color " +Time\r\n"); writeln("</thead>"); writeln("<tbody>");