= 0"
+- Fixed bug with quick filters and attributes with blanks
+- Show only subscribe options for logbooks which email notification turned on
+- Made quick filter improvements work with subtext
+- Improved quick filters without all the buttons
+- Fixed signed/unsiged bug
+- Exclude UTF-8 characters > 128 from substitution in XML export
+- Use charset from config file for XML export
+- Added debug output for shell execution
+- Applied additional patch from Ulf Harnhammar
+- Increased tooltip size to 10kChar
+
Version 2.6.3, released Nov. 28th, 2006
=======================================
diff --git a/doc/index.html b/doc/index.html
index 7508b34e..9f87b6ed 100755
--- a/doc/index.html
+++ b/doc/index.html
@@ -25,7 +25,7 @@
[Links ] *
Home of the Electronic Logbook package by
Stefan Ritt
- Current version is : 2.6.3
+ Current version is : 2.6.4
What is ELOG ?
diff --git a/resources/eloglang.brazilian b/resources/eloglang.brazilian
index d85dc3ae..e24643fd 100755
--- a/resources/eloglang.brazilian
+++ b/resources/eloglang.brazilian
@@ -416,3 +416,11 @@ Anonymous = An
Activation notice has been sent to %s =
Your request has been forwarded to the administrator =
You will be notified by email upon activation of your new account =
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.bulgarian b/resources/eloglang.bulgarian
index 9662f82e..8bd5af25 100755
--- a/resources/eloglang.bulgarian
+++ b/resources/eloglang.bulgarian
@@ -416,3 +416,11 @@ Anonymous =
Activation notice has been sent to %s =
Your request has been forwarded to the administrator =
You will be notified by email upon activation of your new account =
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.czech b/resources/eloglang.czech
index d8aa438c..b3c199b8 100644
--- a/resources/eloglang.czech
+++ b/resources/eloglang.czech
@@ -131,7 +131,6 @@ Display = Zobraz
entries per page = položek na stránku
Toggle all = Odeber vše
Selected entries = Označené položky
-Enable email notifications = Povol oznámení příchodu Emailu
A old entry has been updated on %s = Položka %s byla obnovena
Collapse = Sbalit
Expand = Rozbalit
@@ -411,3 +410,15 @@ Activation notice has been sent to %s = Oznámení o aktivaci bylo zasláno na %
Your request has been forwarded to the administrator = Váš požadavek byl odeslán na administrátora
You will be notified by email upon activation of your new account = O aktivaci vašeho nového účtu budete informován emailem
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.danish b/resources/eloglang.danish
index 46647a41..d03f6da0 100755
--- a/resources/eloglang.danish
+++ b/resources/eloglang.danish
@@ -414,3 +414,11 @@ Anonymous =
Activation notice has been sent to %s =
Your request has been forwarded to the administrator =
You will be notified by email upon activation of your new account =
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.dutch b/resources/eloglang.dutch
index 1ff354ea..383b1280 100755
--- a/resources/eloglang.dutch
+++ b/resources/eloglang.dutch
@@ -132,7 +132,6 @@ Display = Toon
entries per page = berichten per pagina
Toggle all = Toon alles
Selected entries = Geselecteerde berichten
-Enable email notifications=Automatisch e-mail aankondiging
A old entry has been updated on %s = Een ouder bericht is op %s gewijzigd
Collapse = Samenvatten
Expand = Uitbreiden
@@ -413,3 +412,15 @@ Anonymous = Anoniem
Activation notice has been sent to %s = Activeringsbericht is gestuurd naar %s
Your request has been forwarded to the administrator = Uw verzoek is doorgestuurd naar de beheerder
You will be notified by email upon activation of your new account = U krijgt via email een bericht als uw account is geactiveerd.
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.french b/resources/eloglang.french
index 11513d81..7600aaa9 100755
--- a/resources/eloglang.french
+++ b/resources/eloglang.french
@@ -410,3 +410,15 @@ Anonymous = Anonyme
Activation notice has been sent to %s = L'avis d'activation a t envoy %s
Your request has been forwarded to the administrator = Votre demande a t transmise l'administrateur
You will be notified by email upon activation of your new account = Vous serez averti(e) par courriel de l'activation de votre nouveau compte
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.german b/resources/eloglang.german
index be627216..9c676152 100755
--- a/resources/eloglang.german
+++ b/resources/eloglang.german
@@ -409,3 +409,11 @@ Anonymous = Anonym
Activation notice has been sent to %s = Aktivierungsbenachrichtigung wurde an %s geschickt
Your request has been forwarded to the administrator = Der Antrag wurde an den Administrator geschickt
You will be notified by email upon activation of your new account = Sie werden benachrichtigt, wenn Ihr Benutzerkonto aktiviert wurde
+Select period = Zeitraum auswhlen
+Last week = Letzte Woche
+Last month = Letzter Monat
+Last 3 Months = Letzte 3 Monate
+Last 6 Months = Letzte 6 Monate
+Last Year = Letztes Jahr
+Enter %s = %s eingeben
+Select %s = %s auswhlen
diff --git a/resources/eloglang.italian b/resources/eloglang.italian
index 62ecd943..a0bd3fc4 100755
--- a/resources/eloglang.italian
+++ b/resources/eloglang.italian
@@ -412,3 +412,11 @@ Anonymous =
Activation notice has been sent to %s =
Your request has been forwarded to the administrator =
You will be notified by email upon activation of your new account =
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.japanese b/resources/eloglang.japanese
index 470b2c7e..e8265282 100755
--- a/resources/eloglang.japanese
+++ b/resources/eloglang.japanese
@@ -412,3 +412,11 @@ Anonymous =
Activation notice has been sent to %s =
Your request has been forwarded to the administrator =
You will be notified by email upon activation of your new account =
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.spanish b/resources/eloglang.spanish
index 284dd375..175bfbed 100755
--- a/resources/eloglang.spanish
+++ b/resources/eloglang.spanish
@@ -411,3 +411,15 @@ Activation notice has been sent to %s = Notificacion de activacion enviada a %s
Your request has been forwarded to the administrator = Su solicitud fue enviada al administrador
You will be notified by email upon activation of your new account = Sera notificado por email cuando su cuenta sea activada
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.swedish b/resources/eloglang.swedish
index 1dc59f12..f4d5b934 100644
--- a/resources/eloglang.swedish
+++ b/resources/eloglang.swedish
@@ -409,3 +409,15 @@ Entry %s cannot be read from logbook "%s" = Posten %s kan inte l
Your request has been forwarded to the administrator = Din registrering har vidarebefordrats till ELOG administratren
You will be notified by email upon activation of your new account = Du kommer att f en bekrftelse per email nr ditt nya anvndarkonto r aktiverat
Error: Command "%s " not allowed = Kommandot "%s " r inte tilltet
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.turkish b/resources/eloglang.turkish
index a0683cc2..2877eaaf 100755
--- a/resources/eloglang.turkish
+++ b/resources/eloglang.turkish
@@ -416,3 +416,11 @@ Anonymous =
Activation notice has been sent to %s =
Your request has been forwarded to the administrator =
You will be notified by email upon activation of your new account =
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.zh_CN-GB2312 b/resources/eloglang.zh_CN-GB2312
index a491a895..627f404a 100644
--- a/resources/eloglang.zh_CN-GB2312
+++ b/resources/eloglang.zh_CN-GB2312
@@ -411,3 +411,15 @@ Activation notice has been sent to %s =
Your request has been forwarded to the administrator = ѾԱ
You will be notified by email upon activation of your new account = ʺżõʼ֪ͨ
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/resources/eloglang.zh_CN-UTF8 b/resources/eloglang.zh_CN-UTF8
index 02b0a58f..21cb184c 100644
--- a/resources/eloglang.zh_CN-UTF8
+++ b/resources/eloglang.zh_CN-UTF8
@@ -411,3 +411,15 @@ Activation notice has been sent to %s = 激活通知已经送达 %s
Your request has been forwarded to the administrator = 您的请求已经发送给管理员
You will be notified by email upon activation of your new account = 您在新帐号激活后将会得到电子邮件通知
+
+#
+#---- please translate following items and then remove this comment ----#
+#
+Select period =
+Last week =
+Last month =
+Last 3 Months =
+Last 6 Months =
+Last Year =
+Enter %s =
+Select %s =
diff --git a/src/elogd.c b/src/elogd.c
index 1d001b77..23408cc7 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -10,7 +10,7 @@
\********************************************************************/
/* Version of ELOG */
-#define VERSION "2.6.3"
+#define VERSION "2.6.4"
char svn_revision[] = "$Id$";
/* ELOG identification */
@@ -5714,8 +5714,7 @@ char *email_quote_table =
void rsputs_elcode(LOGBOOK * lbs, BOOL email_notify, const char *str)
{
- int i, j, k, l, m, elcode_disabled, elcode_disabled1, escape_char, ordered_list,
- substituted;
+ int i, j, k, l, m, elcode_disabled, elcode_disabled1, escape_char, ordered_list, substituted;
char *p, *pd, link[1000], link_text[1000], tmp[1000], attrib[1000], hattrib[1000],
value[1000], subst[1000], base_url[256], param[256], *lstr;
@@ -6026,12 +6025,12 @@ void rsputs_elcode(LOGBOOK * lbs, BOOL email_notify, const char *str)
j += strlen(link);
i += strlen(pattern_list[l].pattern) - 1; // 1 gets added in for loop...
}
- } // !elcode_disabled && !elcode_disabled1
+ } // !elcode_disabled && !elcode_disabled1
else if (!elcode_disabled) {
-
+
substituted = TRUE;
-
+
/* simple substitution */
strcpy(link, pattern_list[l].subst);
if (strstr(link, "%s")) {
@@ -6045,7 +6044,7 @@ void rsputs_elcode(LOGBOOK * lbs, BOOL email_notify, const char *str)
strcpy(return_buffer + j, link);
j += strlen(link);
- i += strlen(pattern_list[l].pattern) - 1; // 1 gets added in for loop...
+ i += strlen(pattern_list[l].pattern) - 1; // 1 gets added in for loop...
}
if (stristr(pattern_list[l].pattern, "[code]"))
@@ -6911,7 +6910,7 @@ void show_plain_header(int size, char *file_name)
void show_html_header(LOGBOOK * lbs, BOOL expires, char *title, BOOL close_head, BOOL rss_feed, char *cookie,
int absolute_link)
{
- int i, n;
+ int i, n;
char css[1000], str[1000], media[1000];
char css_list[MAX_N_LIST][NAME_LENGTH];
@@ -6939,15 +6938,15 @@ void show_html_header(LOGBOOK * lbs, BOOL expires, char *title, BOOL close_head,
strlcat(css, "default.css", sizeof(css));
if (strchr(css, ',')) {
- n = strbreak(css, css_list, MAX_N_LIST, ",");
- for (i=0 ; i\n", str, media);
- }
+ n = strbreak(css, css_list, MAX_N_LIST, ",");
+ for (i = 0; i < n; i++) {
+ strlcpy(str, css_list[i], sizeof(str));
+ if (strchr(str, '&')) {
+ strlcpy(media, strchr(str, '&') + 1, sizeof(media));
+ *strchr(str, '&') = 0;
+ rsprintf(" \n", str, media);
}
+ }
} else
rsprintf(" \n", css);
rsprintf(" \n");
@@ -12000,8 +11999,7 @@ void show_config_page(LOGBOOK * lbs)
if (!isparam("unm") || check_login_user(&lb_list[i], getparam("unm"))) {
/* check if emails are enabled for this logbook */
- if (!getcfg(lb_list[i].name, "Suppress email to users", str, sizeof(str)) ||
- atoi(str) == 0) {
+ if (!getcfg(lb_list[i].name, "Suppress email to users", str, sizeof(str)) || atoi(str) == 0) {
if (email_notify[i])
rsprintf(" \n", i, i);
else
@@ -16374,7 +16372,8 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
if (strieq(list[index], loc("Date"))) {
i = isparam("last") ? atoi(getparam("last")) : 0;
- rsprintf("\n", loc("Select period"));
+ rsprintf("\n",
+ loc("Select period"));
rsprintf("-- %s --\n", loc("All entries"));
@@ -16433,7 +16432,9 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
else {
sprintf(str, loc("Enter %s"), list[index]);
- rsprintf(" \n", list[index],
isparam(list[index]) && *getparam(list[index]) ? getparam(list[index]) : str);
@@ -16441,7 +16442,8 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
} else {
sprintf(str, loc("Select %s"), list[index]);
- rsprintf("\n", str, list[index]);
+ rsprintf("\n", str,
+ list[index]);
rsprintf("-- %s --\n", list[index]);
@@ -16979,7 +16981,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
{
int i, j, n, index, size, status, d1, m1, y1, d2, m2, y2, n_line, flags,
current_year, current_month, current_day, printable, n_logbook,
- n_display, reverse, numeric, n_attr_disp, total_n_msg, n_msg, search_all,
+ n_display, reverse, numeric, n_attr_disp, total_n_msg, n_msg, search_all,
message_id, n_page, i_start, i_stop, in_reply_to_id, page_mid, page_mid_head;
char date[80], attrib[MAX_N_ATTR][NAME_LENGTH], disp_attr[MAX_N_ATTR + 4][NAME_LENGTH],
*list, *text, *text1, in_reply_to[80], reply_to[MAX_REPLY_TO * 10],
@@ -17091,7 +17093,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
/* remove remaining "_all_" or empty or "--++--" parameters */
strlcpy(str, _cmdline, sizeof(str));
- found = 0;
+ found = 0;
for (i = 0; i < MAX_N_ATTR; i++) {
if (isparam(attr_list[i])) {
if (strieq(getparam(attr_list[i]), "_all_")) {
@@ -18493,7 +18495,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
strcpy(iattr, attr_list[i]);
for (j = 0; j < (int) strlen(iattr); j++)
/* replace special characters with "_", exclude any UTF-8 */
- if (!isalnum(iattr[j]) && ((unsigned char)iattr[j] < 128))
+ if (!isalnum(iattr[j]) && ((unsigned char) iattr[j] < 128))
iattr[j] = '_';
rsprintf("\t\t<%s>", iattr);
@@ -19445,7 +19447,7 @@ int add_attribute_option(LOGBOOK * lbs, char *attrname, char *attrvalue, char *c
/* do not allow HTML code in value */
strencode2(av_encoded, attrvalue, sizeof(av_encoded));
-
+
/* read previous contents */
length = lseek(fh, 0, SEEK_END);
lseek(fh, 0, SEEK_SET);
@@ -23365,7 +23367,7 @@ void interprete(char *lbook, char *path)
if (strieq(command, loc("Help"))) {
if (getcfg(lbs->name, "Help URL", str, sizeof(str))) {
-
+
/* if URL is given, redirect */
if (strstr(str, "http://")) {
redirect(lbs, str);