mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added 'quote on reply'
SVN revision: 445
This commit is contained in:
parent
c97e6fb5b6
commit
bf342b72c2
@ -1,3 +1,9 @@
|
|||||||
|
Version 2.3.4, released March xxth, 2003
|
||||||
|
========================================
|
||||||
|
|
||||||
|
- Added option "Quote on reply"
|
||||||
|
|
||||||
|
|
||||||
Version 2.3.3, released March 14th, 2003
|
Version 2.3.3, released March 14th, 2003
|
||||||
========================================
|
========================================
|
||||||
|
|
||||||
|
|||||||
@ -739,6 +739,11 @@ entry when creating a reply to that entry. This can make sense for example for
|
|||||||
the author, since the author of a reply can be different from the original author.
|
the author, since the author of a reply can be different from the original author.
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
<LI><b><code>Quote on reply = 0 | 1</code></b>
|
||||||
|
<br>
|
||||||
|
This flag controls if the original text is quoted in a reply. Default is <b>1</b>
|
||||||
|
<p>
|
||||||
|
|
||||||
<LI><b><code>Reply string = <string></code></b>
|
<LI><b><code>Reply string = <string></code></b>
|
||||||
<br>
|
<br>
|
||||||
String used to mark original message lines. Default is <b><code>"> "</code></b>. Can
|
String used to mark original message lines. Default is <b><code>"> "</code></b>. Can
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
# $Revision$
|
# $Revision$
|
||||||
#
|
#
|
||||||
|
|
||||||
# ElogLang.French - French interface file for ELOG 2.2.5+
|
# ElogLang.French - French interface file for ELOG 2.3.3+
|
||||||
# version 1.5 - 12/01/03 by Fred Pacquier <fredp@dial.oleane.com>
|
# version 1.6 - 14/03/03 by Fred Pacquier <fredp@dial.oleane.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -220,3 +220,29 @@ Expand = D
|
|||||||
Full = Détail
|
Full = Détail
|
||||||
Summary = Résumé
|
Summary = Résumé
|
||||||
Threaded = Arborescence
|
Threaded = Arborescence
|
||||||
|
|
||||||
|
#
|
||||||
|
# New strings for V2.2.6
|
||||||
|
ELOG Entries = entrées ELOG
|
||||||
|
Filters = Filtres
|
||||||
|
Mode = Mode
|
||||||
|
Options = Options
|
||||||
|
Error: start date after end date = Erreur : la date de début est postérieure à la date de fin
|
||||||
|
and all their replies = et toutes leurs réponses
|
||||||
|
Your request has been forwarded to the administrator. You will be notified by email upon activation of your new account. = Votre demande a été envoyée à l'administrateur. Vous serez averti(e) par mél lors de l'activation de votre nouveau compte.
|
||||||
|
|
||||||
|
#
|
||||||
|
# New strings for V2.3.1
|
||||||
|
Upload = Envoyer
|
||||||
|
Requested = Demandé
|
||||||
|
Registration request on logbook "%s" = Demande d'inscription pour le registre "%s"
|
||||||
|
A new ELOG user wants to register on "%s" = Un nouvel utilisateur ELOG souhaite s'inscrire à "%s"
|
||||||
|
|
||||||
|
#
|
||||||
|
# New strings for V2.3.2
|
||||||
|
One message = Un message
|
||||||
|
%d messages = %d messges
|
||||||
|
and its replies = avec ses réponses
|
||||||
|
and their replies = avec leurs réponses
|
||||||
|
moved successfully from "%s" to "%s" = déplacés avec succès de "%s" à "%s"
|
||||||
|
copied successfully from "%s" to "%s" = copiés avec succès de "%s" à "%s"
|
||||||
|
|||||||
76
src/elogd.c
76
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.49 2003/03/19 08:56:40 midas
|
||||||
|
Added 'quote on reply'
|
||||||
|
|
||||||
Revision 1.48 2003/03/14 08:55:46 midas
|
Revision 1.48 2003/03/14 08:55:46 midas
|
||||||
Version 2.3.3
|
Version 2.3.3
|
||||||
|
|
||||||
@ -5298,49 +5301,52 @@ time_t now;
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
p = text;
|
if (!getcfg(lbs->name, "Quote on reply", str) || atoi(str) > 0)
|
||||||
|
|
||||||
if (!getcfg(lbs->name, "Reply string", reply_string))
|
|
||||||
strcpy(reply_string, "> ");
|
|
||||||
|
|
||||||
do
|
|
||||||
{
|
{
|
||||||
if (strchr(p, '\n'))
|
p = text;
|
||||||
{
|
|
||||||
*strchr(p, '\n') = 0;
|
|
||||||
|
|
||||||
if (encoding[0] == 'H')
|
if (!getcfg(lbs->name, "Reply string", reply_string))
|
||||||
|
strcpy(reply_string, "> ");
|
||||||
|
|
||||||
|
do
|
||||||
|
{
|
||||||
|
if (strchr(p, '\n'))
|
||||||
{
|
{
|
||||||
rsputs2(reply_string);
|
*strchr(p, '\n') = 0;
|
||||||
rsprintf("%s<br>\n", p);
|
|
||||||
|
if (encoding[0] == 'H')
|
||||||
|
{
|
||||||
|
rsputs2(reply_string);
|
||||||
|
rsprintf("%s<br>\n", p);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rsputs(reply_string);
|
||||||
|
rsprintf("%s\n", p);
|
||||||
|
}
|
||||||
|
|
||||||
|
p += strlen(p)+1;
|
||||||
|
if (*p == '\n')
|
||||||
|
p++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rsputs(reply_string);
|
if (encoding[0] == 'H')
|
||||||
rsprintf("%s\n", p);
|
{
|
||||||
|
rsputs2(reply_string);
|
||||||
|
rsprintf("%s<p>\n", p);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rsputs(reply_string);
|
||||||
|
rsprintf("%s\n\n", p);
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
p += strlen(p)+1;
|
} while (TRUE);
|
||||||
if (*p == '\n')
|
}
|
||||||
p++;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (encoding[0] == 'H')
|
|
||||||
{
|
|
||||||
rsputs2(reply_string);
|
|
||||||
rsprintf("%s<p>\n", p);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
rsputs(reply_string);
|
|
||||||
rsprintf("%s\n\n", p);
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
} while (TRUE);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user