X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fhtml.c;h=e79c2a4cb45d239397a98c9bfe53bf1bdb4ef7f7;hb=49b52ead6d48488a4c1f90f372564c834da803cb;hp=4eddeb3f8af13d7c8af6a050977ca170f99ff261;hpb=eab64e6ecb435face78646153fe86c22895d8f41;p=ppastats.git diff --git a/src/html.c b/src/html.c index 4eddeb3..e79c2a4 100644 --- a/src/html.c +++ b/src/html.c @@ -17,6 +17,9 @@ 02110-1301 USA */ +#include +#define _(String) gettext(String) + #include #include #include @@ -28,6 +31,7 @@ #include "html.h" #include "io.h" +#include "log.h" #include "lp.h" #include "lp_ws.h" #include "ppastats.h" @@ -39,40 +43,21 @@ " #define HTML_PKG_TEMPLATE \ -"\n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n\ - \n\ -

N/A

\n\ -

PPA: \n\ - \n\ - N/A/N/A\n\ -

\n\ -
\n\ -
\n\ -
\n\ -
\n\ -
\n\ -
Versions:
\n\ -
Distros:
\n\ -
\n\ -%s" +"

N/A

\n\ +
\n\ +
\n\ +
\n\ +
\n\ +
\n\ + PPA: \n\ + \n\ + N/A/\n\ + N/A\n\ + \n\ +\n\ +
Distros:
\n\ +
Versions:
\n\ +
" #define HTML_VERSION_TEMPLATE \ "\n\ @@ -84,6 +69,10 @@ \n\ \n\ +\n\ \n\ \n\ @@ -124,6 +113,10 @@ rel=\"stylesheet\"/>\n\ \n\ +\n\ \n\