1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 23:47:58 +01:00

added ###VERSION### and ###DATE### for being seded in the Makefile

This commit is contained in:
Martin Stubenschrott
2007-04-28 16:05:13 +00:00
parent cdcf828bb9
commit 3777c098da
4 changed files with 8 additions and 7 deletions

View File

@@ -164,15 +164,16 @@ table.settings th {\
ret += "<code>" +beg+ usage +end+ '</code><br/>';
}
ret += '</td><td>';
if (func)
ret += func.call(this, commands[i]);
if (commands[i][SHORTHELP])
{
if(func)
ret += "<br/>";
ret += "<b>";
ret += commands[i][SHORTHELP]; // the help description
ret += "</b><br>";
if(func) // for settings whe print default values here, e.g.
{
ret += func.call(this, commands[i]);
ret += "<br/>";
}
if (commands[i][HELP])
ret += commands[i][HELP]; // the help description
}