Release 2.7.6-1

SVN revision: 2191
This commit is contained in:
2009-04-14 08:13:44 +00:00
parent ec19abb311
commit cd6b160e89
20 changed files with 222 additions and 110 deletions
+44
View File
@@ -1,3 +1,47 @@
Version 2.7.6, released April 14th 2009
=======================================
- Fixed broken images for Safari
- Fixed crash with bottom text on protected selection page
- Fixed error message when 'Show text = 0'
- Fixed problem with emtpy email address
- Fixed XSS vulnerability based on 'img onerror='
- Return 404 in case of error
- Implemented 'Hide comments'
- Fixed case for escaped ELCode tags
- Fixed bug in cookie handling
- Fixed broken display with 'preview attachments = 0'
- Fixed problem with missing boundary in POST request
- Fixed crash with incomplete attachments
- Show errer of forbidden attributes are used
- Fixed crash when HTTP is missing in header, implemented more consistent keep-alive handling
- Fixed bug with empty cookies
- Show "Last day" if "Last x" is in the menu list
- Made CSV import of dates working
- Only store allowed cookies
- Added "<>" around email address for "MAIL FROM:"
- Allow attribute substitution on 'execute delete'
- Implemented "tooltip <attrib> <value>"
- Fixed return buffer overflow with very long entries
- Fixed problem with locked date/time attributes and re-edit of pages
- Fixed problem with numeric attributes and multi edit
- Fixed problem with EPS previews in list display
- Removed '/' from url_encode again, use url_slash_encode to fix redirection problem with quick filter and attributes containing '/'
- Changed '####' tag generation from 'Preset <>' to 'Subst <>' in order to avoid double entries
- Include "MIME-Version" always in email header
- Added 'export to:' on find page
- Fixed buffer overflow with very long cookies
- Fixed quick filter redirect problem with attributes containing '/'
- Made select/edit work with date/time attributes
- Changed parameter to make things more obvious
- Fixed crash with very long entries
- Attributes stay now in find page with conditional attributes
- Made 'Hide' work with 'Show attachments = 0'
- Fixed wrong cookies which caused problems with Chrome
- Fixed crash with invalid URL
- Fixed bug with conditional attributes on find page
- Added function to determine line breaks in HTML code
Version 2.7.5, released Sept. 22th 2008
=======================================
+1 -1
View File
@@ -28,7 +28,7 @@
&nbsp;[<a class="nav" href="#links">Links</a>]&nbsp; *&nbsp;</div>
<P class="Sub">Home of the <i>Electronic Logbook</i> package by <a href="mailto:Stefan.Ritt&#64;psi.ch">
Stefan Ritt</a></P>
<div class="version">Current version is : 2.7.5</div>
<div class="version">Current version is : 2.7.6</div>
<center>
<a href="http://www.softpedia.com/progClean/ELOG-Clean-30897.html"><img border="0" src="http://www.softpedia.com/images/spyward/softpedia_free_award_f.gif" alt="certificate" title="certificate" /></a>
</center>
+1 -1
View File
@@ -28,7 +28,7 @@
&nbsp;[<a class="nav" href="#links">Links</a>]&nbsp; *&nbsp;</div>
<P class="Sub">Home of the <i>Electronic Logbook</i> package by <a href="mailto:Stefan.Ritt&#64;psi.ch">
Stefan Ritt</a></P>
<div class="version">Current version is : 2.7.5</div>
<div class="version">Current version is : 2.7.6</div>
<center>
<a href="http://www.softpedia.com/progClean/ELOG-Clean-30897.html"><img border="0" src="http://www.softpedia.com/images/spyward/softpedia_free_award_f.gif" alt="certificate" title="certificate" /></a>
+7 -2
View File
@@ -90,7 +90,6 @@ New passwords do not match, please retype = Nova senha n
Old password = Senha anterior
Retype new password = Digite novamente a nova senha
Maximum number of replies (%d) exceeded = Número máximo de repostas (%d) excedido
Only user <i>%s</i> can edit this entry = Somente o usuário <i>%s</i> pode editar essa entrada
Update = Atualizar
Add %s = Adicionar %s
Add new option here = Adicionar nova opção aqui
@@ -252,7 +251,6 @@ ELOG CSV import = Importe de CSV do ELOG
Derive attributes from CSV file = Derivar atributos do arquivo de CSV
Comma = Vírgula
Semicolon = Ponto e vírgula
Ignore first line = Ignorar a primeira linha
Preview import = Preview import
Too many attributes in CSV file = Muitos atributos no arquivo de CSV
%d entries successfully imported = %d entradas importadas com sucesso
@@ -466,3 +464,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -2
View File
@@ -111,7 +111,6 @@ Pick a date =
user = ïîòðåáèòåë
on = íà
Maximum number of replies (%d) exceeded = Ìàêñèìàëíèÿò áðîé íà îòãîâîðè (%d) å ïðåâèøåí
Only user <i>%s</i> can edit this entry = Ñàìî ïîòðåáèòåëÿò <i>%s</i> ìîæå äà ðåäàêòèðà òîçè çàïèñ
Entry can only be edited %1.2lg hours after creation = Çàïèñúò ìîæå äà áúäå ðåäàêòèðàí ïîíå %1.2lg ÷àñà ñëåä ñúçäàâàíåòî
Please select at least one '%s' = Ìîëÿ, èçáåðåòå ïîíå åäíî "%s"
Please select a '%s' = Ìîëÿ, èçáåðåòå "%s"
@@ -203,7 +202,6 @@ Auto detect =
Comma = Çàïåòàÿ
Semicolon = Òî÷êà è çàïåòàÿ
Derive attributes from CSV file = Èçâëè÷àíå íà àòðèáóòè îò CSV ôàéë
Ignore first line = Èãíîðèðàíå íà ïúðâèÿ ðåä
Preview import = Ïðåäâàðèòåëåí ïðåãëåä íà èìïîðòèðàíåòî
text = òåêñò
Column header '%s' must be present in CSV file = Çàãëàâíàòà êîëîíà "%s" òðÿáâà äà ïðèñúñòâà â CSV ôàéëà
@@ -466,3 +464,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -57,7 +57,6 @@ Please check that it exists and elogd has write access = Ujistěte se o existenc
Error: Attribute <b>%s</b> not supplied = Chyba: Atribut <b>%s</b> není dodán
Please go back and enter the <b>%s</b> field = Jděte zpět a zadejte <b>%s</b> pole
Please use your browser's back button to go back = Použijte tlačítka Zpět vašeho prohlížeče
Only user <i>%s</i> can edit this entry = Pouze uživatel <i>%s</i> může měnit tuto položku
ELOG find = ELOG najít
Find = Najít
Search = Hledat
@@ -83,7 +82,6 @@ Error: Command "<b>%s</b>" not allowed = Chyba: Příkaz "<b>%s</b>" není dovol
Cannot open file <b>%s</b> = Soubor <b>%s</b> nelze otevřít
Cannot write to <b>%s</b> = Do souboru <b>%s</b> nelze zapisovet
No SMTP host defined in [global] section of configuration file = Není definován žádný SMTP Host v sekci [global] konfiguračního souboru
Only user <i>%s</i> can edit this entry = Pouze uživatel <i>%s</i> může měnit tuto položku
Display threads = Zobraz vlákno
Logbook is empty = Logbook je prázdný
Download = Stáhnout
@@ -252,7 +250,6 @@ CSV Import = CSV Import
Derive attributes from CSV file = Odvoď atributy z CSV souboru
Comma = Ćárka
Semicolon = Středník
Ignore first line = Ignoruj první řádek
Preview import = Import náhledu
CSV import preview of %s = CSV Import náhledu z %s
Too many attributes in CSV file = Příliš mnoho atributů v CSV souboru
@@ -464,3 +461,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -57,7 +57,6 @@ Please check that it exists and elogd has write access = Check venligst om det e
Error: Attribute <b>%s</b> not supplied = Fejl: Attribut <b>%s</b> ikke udfyldt
Please go back and enter the <b>%s</b> field = Gå tilbage og udfyld <b>%s</b> feltet
Please use your browser's back button to go back = Brug tilbage knappen på din browser
Only user <i>%s</i> can edit this entry = Kun bruger <i>%s</i> kan ændre dette indlæg
ELOG find = ELOG søg
Find = Find
Search = Søg
@@ -83,7 +82,6 @@ Error: Command "<b>%s</b>" not allowed = Fejl: kommando "<b>%s</b>" ikke tilladt
Cannot open file <b>%s</b> =kan ikke åbne filen <b>%s</b>
Cannot write to <b>%s</b> = kan ikke skrive til <b>%s</b>
No SMTP host defined in [global] section of configuration file = Ingen smtp host defineret i [global] sektionen af konfigurationen
Only user <i>%s</i> can edit this entry = Kun bruger <i>%s</i> kan ændre dette indlæg
Display threads = Vis tråde
Logbook is empty = Logbog er tom
Download = Hent
@@ -252,7 +250,6 @@ CSV Import = CSV Import
Derive attributes from CSV file = Hent attributer fra CSV fil
Comma = Komma
Semicolon = Semikolon
Ignore first line = Ignorer første linie
Preview import = Gennemse Import
CSV import preview of %s = CSV import gennemsyn af %s
Too many attributes in CSV file = For mange attributter i CSV fil
@@ -464,3 +461,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -58,7 +58,6 @@ Please check that it exists and elogd has write access = Controleer of het besta
Error: Attribute <b>%s</b> not supplied = Fout: Attribuut <b>%s</b> niet ingevuld
Please go back and enter the <b>%s</b> field = Ga terug en vul het veld <b>%s</b> in
Please use your browser's back button to go back = Gebruik de terug-knop van je browser om terug te gaan
Only user <i>%s</i> can edit this entry = Alleen de gebruiker <i>%s</i> kan dit item wijzigen
ELOG find = ELOG zoeken
Find = zoek
Search = Zoeken
@@ -84,7 +83,6 @@ Error: Command "<b>%s</b>" not allowed = Fout: Commando "<b>%s</b>" niet toegest
Cannot open file <b>%s</b> = Bestand <b>%s</b> kan niet worden geopend
Cannot write to <b>%s</b> = Kan niet schrijven naar bestand <b>%s</b>
No SMTP host defined in [global] section of configuration file = Geen SMTP Host vermeld in [global] van het configuratiebestand
Only user <i>%s</i> can edit this entry = Alleen gebruiker <i>%s</i> kan dit bericht wijzigen
Display threads = Toon draden
Logbook is empty = logboek is leeg
Download = Download
@@ -253,7 +251,6 @@ CSV Import = CSV Import
Derive attributes from CSV file = Haal attributen uit csv bestand
Comma = Komma
Semicolon = Punt Komma
Ignore first line = Negeer eerste regel
Preview import = Import voorbeeld
ELOG CSV import = ELOG CSV import
Too many attributes in CSV file = Te veel attributen in CSV bestand
@@ -467,3 +464,10 @@ Cannot create thumbnail, please check ImageMagick installation = Kan geen voorbe
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+11 -3
View File
@@ -56,7 +56,6 @@ Please check that it exists and elogd has write access = V
Error: Attribute <b>%s</b> not supplied = Erreur : l'attribut <b>%s</b> n'est pas spécifié
Please go back and enter the <b>%s</b> field = Revenez en arrière et renseignez le champ <b>%s</b>
Please use your browser's back button to go back = Utilisez le bouton "page précédente" de votre navigateur pour revenir en arrière
Only user <i>%s</i> can edit this entry = Seulement l'utilisateur <i>%s</i> peut changer cetter entrée
ELOG find = Recherche ELOG
Find = Chercher
Search = Lancer la recherche
@@ -82,7 +81,6 @@ Error: Command "<b>%s</b>" not allowed = Erreur : commande "<b>%s</b>" non autor
Cannot open file <b>%s</b> = Erreur d'ouverture du fichier <b>%s</b>
Cannot write to <b>%s</b> = Erreur d'écriture dans le fichier <b>%s</b>
No SMTP host defined in [global] section of configuration file = Aucun serveur SMTP n'est défini dans la section [global] du fichier de configuration
Only user <i>%s</i> can edit this entry = Seul l'utilisateur <i>%s</i> peut modifier cette entrée
Display threads = Afficher les fils de discussion
Logbook is empty = Ce registre est vide
Download = Télécharger
@@ -252,7 +250,6 @@ ELOG CSV import = Importation CSV ELOG
Derive attributes from CSV file = Créer les attributs à partir du fichier CSV
Comma = virgule
Semicolon = point-virgule
Ignore first line = Ignorer la première ligne
Preview import = Aperçu avant importation
Too many attributes in CSV file = Trop d'attributs dans le fichier CSV
%d entries successfully imported = %d entrées importées avec succès
@@ -460,3 +457,14 @@ Cannot create thumbnail, please check ImageMagick installation = Impossible de c
Please log on by clicking on following link and change your password = Merci de vous connecter en cliquant sur le lien suivant et de changer votre mot de passe
Attachments = Pièces jointes
Error: Content length (%d) larger than maximum content length (%d) = Erreur : la taille du contenu (%d) est supérieure au maximum autorisé (%d)
#
#---- please translate following items and then remove this comment ----#
#
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -57,7 +57,6 @@ Please check that it exists and elogd has write access = Bitte
Error: Attribute <b>%s</b> not supplied = Fehler: Attribut <b>%s</b> nicht ausgefüllt
Please go back and enter the <b>%s</b> field = Bitte zurückgehen und das Feld <b>%s</b> ausfüllen
Please use your browser's back button to go back = Bitte die Zurück-Taste Ihres Browsers betätigen
Only user <i>%s</i> can edit this entry = Dieser Eintrag kann nur von <i>%s</i> verändert werden
ELOG find = ELOG suchen
Find = Finden
Search = Suchen
@@ -83,7 +82,6 @@ Error: Command "<b>%s</b>" not allowed = Fehler: Befehl "<b>%s</b>" nicht erlaub
Cannot open file <b>%s</b> = Datei <b>%s</b> kann nicht geöffnet werden
Cannot write to <b>%s</b> = Datei <b>%s</b> kann nicht geschrieben werden
No SMTP host defined in [global] section of configuration file = Kein SMTP Host im [global] Bereich der Konfigurationsdatei definiert
Only user <i>%s</i> can edit this entry = Nur Benutzer <i>%s</i> kann diesen Eintrag ändern
Display threads = Antwortkette darstellen
Logbook is empty = Logbuch ist leer
Download = Herunterladen
@@ -252,7 +250,6 @@ CSV Import = CSV Import
Derive attributes from CSV file = Attribute aus CSV Datei übernehmen
Comma = Komma
Semicolon = Semikolon
Ignore first line = Erste Zeile ignorieren
Preview import = Import überprüfen
CSV import preview of %s = CSV Import Überprüfung von %s
Too many attributes in CSV file = Zu viele Attribute in CSV Datei
@@ -459,3 +456,10 @@ Cannot create thumbnail, please check ImageMagick installation = Kann Vorschau n
Please log on by clicking on following link and change your password = Bitte durck klicken auf den folgenden link anmelden und Kennwort ändern
Attachments = Anhänge
Error: Content length (%d) larger than maximum content length (%d) = Fehler: Datengröße (%d) ist größer als maximal erlaubte Datengröße (%d)
Forbidden attribute: %s = Verbotenes Attribut: %s
ELOG error = ELOG Fehler
Only user <b>%s</b> can edit this entry = Nur Benutzer <b>%s</b> kann diesen Eintrag ändern
Export to = Exportieren nach
Do not ignore first line = Erste Zeile nicht ignorieren
Last %d hours = Letzte %d Stunden
Invalid URL = Ungültige URL
+7 -3
View File
@@ -57,7 +57,6 @@ Please check that it exists and elogd has write access = Per favore controlla ch
Error: Attribute <b>%s</b> not supplied = Errore: Attributo <b>%s</b> non fornito
Please go back and enter the <b>%s</b> field = Per favore torna indietro ed inserisci il campo <b>%s</b>
Please use your browser's back button to go back = Per favore usa il pulsante indietro del tuo browser
Only user <i>%s</i> can edit this entry = Solo l'utente <i>%s</i> può modificare questo elemento
ELOG find = ELOG Cerca
Find = Trova
Search = Cerca
@@ -83,7 +82,6 @@ Error: Command "<b>%s</b>" not allowed = Errore: Comando "<b>%s</b>" non permess
Cannot open file <b>%s</b> = Non posso aprire il file <b>%s</b>
Cannot write to <b>%s</b> = Non posso scrivere su <b>%s</b>
No SMTP host defined in [global] section of configuration file = Nessun server SMTP definito nella sezione [global] del file di configurazione
Only user <i>%s</i> can edit this entry = Solo l'utente <i>%s</i> può modificare questo elemento
Display threads = Mostra le discussioni
Logbook is empty = Il registro è vuoto
Download = Scarica
@@ -251,7 +249,6 @@ ELOG CSV import = Importa CVS ELOG
Derive attributes from CSV file = Deduci gli attributi dal file CSV
Comma = Virgola
Semicolon = Punto e virgola
Ignore first line = Ignora la prima linea
Preview import = Anteprima dell'importazione
CSV import preview of %s = Anteprima dell'importazione CSV di %s
Too many attributes in CSV file = Troppi attributi nel file CSV
@@ -462,3 +459,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -2
View File
@@ -22,7 +22,6 @@ Submit =
user = ユーザー
on = オン
Maximum number of replies (%d) exceeded = 最大返信可能数(%d)を超過しています
Only user <i>%s</i> can edit this entry = ユーザー <i>%s</i> だけがこのエントリーを編集できます
Entry can only be edited %1.2lg hours after creation = 記事は投稿後 %1.2lg 時間だけ編集できます
Please select at least one '%s' = 最低ひとつの'%s'を選択してください
Please select a '%s' = '%s'を選択してください
@@ -250,7 +249,6 @@ ELOG CSV import = ELOG
Derive attributes from CSV file = CSVファイルから属性を取得する
Comma = コンマ
Semicolon = セミコロン
Ignore first line = 最初の一行を無視
Preview import = インポートのプレビュー
CSV import preview of %s = %sのCSVインポートプレビュー
Too many attributes in CSV file = CSVファイルの属性が多すぎます
@@ -462,3 +460,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -2
View File
@@ -110,7 +110,6 @@ Pick a date =
user = пользователь
on = на
Maximum number of replies (%d) exceeded = Достигнуто максимальное (%d) число комментариев
Only user <i>%s</i> can edit this entry = Только пользователь <i>%s</i> может редактировать эту запись
Entry can only be edited %1.2lg hours after creation = Запись может быть отредактирована только спустя %1.2lg часа после создания
Please select at least one '%s' = Пожалуйста выберите хотя бы одну "%s"
Please select a '%s' = Пожалуйста выберите "%s"
@@ -202,7 +201,6 @@ Auto detect =
Comma = Запятая
Semicolon = Точка с запятой
Derive attributes from CSV file = Извлечь атрибуты из CSV файла
Ignore first line = Игнорировать первую строку
Preview import = Предварительный просмотр импорта
text = текст
Column header '%s' must be present in CSV file = Заголовок '%s' должен существовать в CSV файле
@@ -467,3 +465,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+11 -2
View File
@@ -90,7 +90,6 @@ New passwords do not match, please retype = Las claves no coinciden, por favor r
Old password = Clave anterior
Retype new password = Reescriba nueva clave
Maximum number of replies (%d) exceeded = Numero maximo de respuestas (%d) excedido
Only user <i>%s</i> can edit this entry = Solo el usuario <i>%s</i> puede editar esta entrada
Update = Actualizar
Add %s = Agregar %s
Add new option here = Agregar nueva opcion aqui
@@ -245,7 +244,6 @@ Field separator = Separador de campos
Comma = Coma
Semicolon = Punto y coma
Derive attributes from CSV file = Derivar atributos del archivo CSV
Ignore first line = Ignorar la primera linea
Preview import = Vista previa de importacion
CSV filename = Archivo CVS
CSV import preview of %s = Vista previa de importacion CSV %s
@@ -460,3 +458,14 @@ Cannot create thumbnail, please check ImageMagick installation = No se puede cre
Please log on by clicking on following link and change your password = Por favor ingrese haciendo click en el siguiente link y cambie su clave
Attachments = Adjuntos
Error: Content length (%d) larger than maximum content length (%d) = Error: La longitud del contenido (%d) es mayor que la permitida (%d)
#
#---- please translate following items and then remove this comment ----#
#
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -2
View File
@@ -222,7 +222,6 @@ CSV Import = CSV Import
Derive attributes from CSV file = Skapa attributen från CSV filen
Comma = Komma
Semicolon = Semikolon
Ignore first line = Ignorera den första raden
Preview import = Förhandsgranska import
Too many attributes in CSV file = För många attribut i CSV filen
%d entries successfully imported = %d poster har importerats
@@ -349,7 +348,6 @@ Anonymous = Anonym
Change %s = Ändra %s
%s wrote = %s skrev
Maximum number of replies (%d) exceeded = Det maximala antalet svar (%d) har överskridits
Only user <i>%s</i> can edit this entry = Endast användare <i>%s</i> kan editera denna post
Please select at least one '%s' = Välj minst en '%s'
Please select a '%s' = Välj en '%s'
Please enter month for attribute '%s' = Ange månad för attribut '%s'
@@ -470,3 +468,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -60,7 +60,6 @@ Please check that it exists and elogd has write access = L
Error: Attribute <b>%s</b> not supplied = Hata: <b>%s</b> özellikleri mevcut deðil
Please go back and enter the <b>%s</b> field = Lütfen geri gidin ve <b>%s</b> alanýna girin
Please use your browser's back button to go back = Lütfen tarayýcýnýzýn geri tuþunu, geri gitmek için kullanýn
Only user <i>%s</i> can edit this entry = Bu kaydý yalnýzca <i>%s</i> kullanýcýsý düzenleyebilir
ELOG find = ELOG bul
Find = Bul
Search = Ara
@@ -86,7 +85,6 @@ Error: Command "<b>%s</b>" not allowed = Hata: "<b>%s</b>" komutu kabul edilmedi
Cannot open file <b>%s</b> = <b>%s</b> dosyasý açýlamýyor
Cannot write to <b>%s</b> = <b>%s</b>'a yazýlamýyor
No SMTP host defined in [global] section of configuration file = Ayar dosyasýnýn [global] bölümünde SMTP host tanýmý yok
Only user <i>%s</i> can edit this entry = Bu girdiyi yalnýzca <i>%s</i> kullanýcýsý düzenleyebilir
Display threads = Ýlmekleri göster
Logbook is empty = Kayýt defteri boþ
Download = Ýndir
@@ -255,7 +253,6 @@ CSV Import = CSV i
Derive attributes from CSV file = CSV dosyasýndan özelliði al
Comma = Virgül
Semicolon = Noktalý virgül
Ignore first line = Ýlk satýrý göz ardý et
Preview import = Ýçeri aktarma önizleme
CSV import preview of %s = %s'nin CSV aktarýmýnýn önizlemesi
Too many attributes in CSV file = CSV dosyasý içerisinde çok fazla özellik
@@ -466,3 +463,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -58,7 +58,6 @@ Please check that it exists and elogd has write access =
Error: Attribute <b>%s</b> not supplied = 错误:没有提供 <b>%s</b> 属性
Please go back and enter the <b>%s</b> field = 请返回并填写 <b>%s</b> 内容
Please use your browser's back button to go back = 请使用你浏览器的返回按钮返回
Only user <i>%s</i> can edit this entry = 只有用户 <i>%s</i> 可以修改该记录
ELOG find = ELOG 查找
Find = 查找
Search = 搜索
@@ -84,7 +83,6 @@ Error: Command "<b>%s</b>" not allowed =
Cannot open file <b>%s</b> = 无法打开文件 <b>%s</b>
Cannot write to <b>%s</b> = 无法写入文件 <b>%s</b>
No SMTP host defined in [global] section of configuration file = 配置文件的 [global] 区域中没有定义 SMTP 主机
Only user <i>%s</i> can edit this entry = 只有用户 <i>%s</i> 可以编辑该记录
Display threads = 显示主题
Logbook is empty = 记录本无内容
Download = 下载
@@ -252,7 +250,6 @@ ELOG CSV import =
Derive attributes from CSV file = 从 CSV 文件中获取属性
Comma = 逗号
Semicolon = 分号
Ignore first line = 忽略第一行
Preview import = 输入预览
CSV import preview of %s = %s 的 CSV 输入预览
Too many attributes in CSV file = CSV 文件中有太多的属性
@@ -465,3 +462,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+7 -3
View File
@@ -58,7 +58,6 @@ Please check that it exists and elogd has write access = 请检查它是否存
Error: Attribute <b>%s</b> not supplied = 错误:没有提供 <b>%s</b> 属性
Please go back and enter the <b>%s</b> field = 请返回并填写 <b>%s</b> 内容
Please use your browser's back button to go back = 请使用你浏览器的返回按钮返回
Only user <i>%s</i> can edit this entry = 只有用户 <i>%s</i> 可以修改该记录
ELOG find = ELOG 查找
Find = 查找
Search = 搜索
@@ -84,7 +83,6 @@ Error: Command "<b>%s</b>" not allowed = 错误:命令 "<b>%s</b>" 被禁止
Cannot open file <b>%s</b> = 无法打开文件 <b>%s</b>
Cannot write to <b>%s</b> = 无法写入文件 <b>%s</b>
No SMTP host defined in [global] section of configuration file = 配置文件的 [global] 区域中没有定义 SMTP 主机
Only user <i>%s</i> can edit this entry = 只有用户 <i>%s</i> 可以编辑该记录
Display threads = 显示主题
Logbook is empty = 记录本无内容
Download = 下载
@@ -252,7 +250,6 @@ ELOG CSV import = 导入 ELOG CSV
Derive attributes from CSV file = 从 CSV 文件中获取属性
Comma = 逗号
Semicolon = 分号
Ignore first line = 忽略第一行
Preview import = 输入预览
CSV import preview of %s = %s 的 CSV 输入预览
Too many attributes in CSV file = CSV 文件中有太多的属性
@@ -465,3 +462,10 @@ Cannot create thumbnail, please check ImageMagick installation =
Please log on by clicking on following link and change your password =
Attachments =
Error: Content length (%d) larger than maximum content length (%d) =
Forbidden attribute: %s =
ELOG error =
Only user <b>%s</b> can edit this entry =
Export to =
Do not ignore first line =
Last %d hours =
Invalid URL =
+1 -1
View File
@@ -9,7 +9,7 @@
\********************************************************************/
#define VERSION "2.7.5"
#define VERSION "2.7.6"
char svn_revision[] = "$Id$";
/* ELOG identification */
+62 -68
View File
@@ -9,7 +9,7 @@
\********************************************************************/
/* Version of ELOG */
#define VERSION "2.7.5"
#define VERSION "2.7.6"
char svn_revision[] = "$Id$";
/* ELOG identification */
@@ -4646,9 +4646,8 @@ int el_submit(LOGBOOK * lbs, int message_id, BOOL bedit, char *date, char attr_n
p += 41;
old_text = xmalloc(size + 1);
strlcpy(old_text, p, size);
if (old_text[strlen(old_text)-1] == '\n' ||
old_text[strlen(old_text)-1] == '\r')
old_text[strlen(old_text)-1] = 0;
if (old_text[strlen(old_text) - 1] == '\n' || old_text[strlen(old_text) - 1] == '\r')
old_text[strlen(old_text) - 1] = 0;
}
}
@@ -5397,8 +5396,9 @@ int is_html(char *s)
/*------------------------------------------------------------------*/
char *script_tags[] = { "onerror", "onabort", "onchange", "onclick", "ondblclick", "onfocus", "onkeydown",
"onkeyup", "onload", "onmousedonw", "onmousemove", "onmouseover", "onmouseup",
"onreset", "onselect", "onsubmit", "onunload", "javascript"};
"onkeyup", "onload", "onmousedonw", "onmousemove", "onmouseover", "onmouseup",
"onreset", "onselect", "onsubmit", "onunload", "javascript"
};
int is_script(char *s)
{
@@ -5523,11 +5523,8 @@ int line_break(char *str, char *encoding)
if (strieq(encoding, "plain") || strieq(encoding, "ELCode")) {
return str[0] == '\n';
}
// HTML encoding
if (strncmp(str, "</p>", 4) == 0 ||
strncmp(str, "<br>", 4) == 0 ||
strncmp(str, "<br />", 4) == 0)
if (strncmp(str, "</p>", 4) == 0 || strncmp(str, "<br>", 4) == 0 || strncmp(str, "<br />", 4) == 0)
return 1;
return 0;
@@ -5661,7 +5658,7 @@ void rsputs(const char *str)
if (strlen_retbuf + (int) strlen(str) + 1 >= return_buffer_size) {
return_buffer = xrealloc(return_buffer, return_buffer_size + (int) strlen(str) + 100000);
memset(return_buffer + return_buffer_size, 0, (int) strlen(str) + 100000);
return_buffer_size += (int) strlen(str)+100000;
return_buffer_size += (int) strlen(str) + 100000;
}
strcpy(return_buffer + strlen_retbuf, str);
@@ -6160,7 +6157,7 @@ void rsputs_elcode(LOGBOOK * lbs, BOOL email_notify, const char *str)
if (i > 0 && str[i - 1] == '\\') {
j--;
strncpy(return_buffer + j, str+i, strlen(pattern_list[l].pattern));
strncpy(return_buffer + j, str + i, strlen(pattern_list[l].pattern));
j += strlen(pattern_list[l].pattern);
i += strlen(pattern_list[l].pattern) - 1; // 1 gets added in for loop...
substituted = TRUE;
@@ -7095,13 +7092,12 @@ int scan_attributes(char *logbook)
/* check for forbidden attributes */
for (i = 0; i < n; i++) {
if (strieq(attr_list[i], "text") ||
strieq(attr_list[i], "date") ||
strieq(attr_list[i], "encoding") ||
strieq(attr_list[i], "reply to") ||
strieq(attr_list[i], "locked by") ||
strieq(attr_list[i], "in reply to") ||
strieq(attr_list[i], "attachment")) {
if (strieq(attr_list[i], "text") ||
strieq(attr_list[i], "date") ||
strieq(attr_list[i], "encoding") ||
strieq(attr_list[i], "reply to") ||
strieq(attr_list[i], "locked by") ||
strieq(attr_list[i], "in reply to") || strieq(attr_list[i], "attachment")) {
sprintf(str, loc("Forbidden attribute: %s"), attr_list[i]);
show_error(str);
return -1;
@@ -8878,7 +8874,7 @@ void show_time_selector(int hour, int min, int sec, char *index)
int i;
rsprintf("<select name=\"h%s\">\n", index);
if (isparam("nsel"))
rsprintf("<option value=\"<keep>\">- %s -\n", loc("keep original values"));
else
@@ -11455,8 +11451,8 @@ void show_find_form(LOGBOOK * lbs)
{
int i, j, year, month, day, flag;
char str[NAME_LENGTH], mode[NAME_LENGTH], comment[NAME_LENGTH], option[NAME_LENGTH], login_name[256],
full_name[256], user_email[256], enc_attr[NAME_LENGTH], whole_attr[NAME_LENGTH],
attrib[MAX_N_ATTR][NAME_LENGTH];
full_name[256], user_email[256], enc_attr[NAME_LENGTH], whole_attr[NAME_LENGTH],
attrib[MAX_N_ATTR][NAME_LENGTH];
/*---- header ----*/
@@ -11660,7 +11656,7 @@ void show_find_form(LOGBOOK * lbs)
rsprintf("<table width=\"100%%\" cellspacing=0 border=0>\n");
rsprintf("<tr><td width=\"1%%\">%s:<td>", loc("Start"));
year = month = day = 0;
sprintf(str, "y%da", i);
if (isparam(str))
@@ -11671,7 +11667,7 @@ void show_find_form(LOGBOOK * lbs)
sprintf(str, "d%da", i);
if (isparam(str))
day = atoi(getparam(str));
sprintf(str, "%da", i);
show_date_selector(day, month, year, str);
if (attr_flags[i] & AF_DATETIME) {
@@ -11681,7 +11677,7 @@ void show_find_form(LOGBOOK * lbs)
rsprintf("</td></tr>\n");
rsprintf("<tr><td width=\"1%%\">%s:<td>", loc("End"));
year = month = day = 0;
sprintf(str, "y%db", i);
if (isparam(str))
@@ -11733,8 +11729,8 @@ void show_find_form(LOGBOOK * lbs)
}
} else {
rsprintf("<input type=\"text\" size=\"30\" maxlength=\"80\" name=\"%s\" value=\"%s\">\n",
attr_list[i], attrib[i]);
rsprintf("<input type=\"text\" size=\"30\" maxlength=\"80\" name=\"%s\" value=\"%s\">\n",
attr_list[i], attrib[i]);
}
} else {
@@ -11798,10 +11794,10 @@ void show_find_form(LOGBOOK * lbs)
sprintf(str, "%s_%d", attr_list[i], j);
if (isparam(str))
rsprintf("<nobr><input type=checkbox checked id=\"%s\" name=\"%s\" value=\"%s\"\">\n",
rsprintf("<nobr><input type=checkbox checked id=\"%s\" name=\"%s\" value=\"%s\"\">\n",
str, str, attr_options[i][j]);
else
rsprintf("<nobr><input type=checkbox id=\"%s\" name=\"%s\" value=\"%s\"\">\n",
rsprintf("<nobr><input type=checkbox id=\"%s\" name=\"%s\" value=\"%s\"\">\n",
str, str, attr_options[i][j]);
rsprintf("<label for=\"%s\">%s</label></nobr>\n", str, attr_options[i][j]);
@@ -11823,7 +11819,8 @@ void show_find_form(LOGBOOK * lbs)
strencode2(enc_attr, attrib[i], sizeof(enc_attr));
sprintf(whole_attr, "^%s$", str);
if (strieq(attr_options[i][j], attrib[i]) || strieq(str, enc_attr) || strieq(whole_attr, enc_attr))
if (strieq(attr_options[i][j], attrib[i]) || strieq(str, enc_attr)
|| strieq(whole_attr, enc_attr))
rsprintf("<option selected value=\"^%s$\">%s\n", str, str);
else
rsprintf("<option value=\"^%s$\">%s\n", str, str);
@@ -14082,7 +14079,7 @@ void csv_import(LOGBOOK * lbs, const char *csv, const char *csvfile)
BOOL first, in_quotes, filltext;
time_t ltime;
list = xmalloc((MAX_N_ATTR+2) * NAME_LENGTH);
list = xmalloc((MAX_N_ATTR + 2) * NAME_LENGTH);
line = xmalloc(10000);
first = TRUE;
@@ -14300,7 +14297,7 @@ void csv_import(LOGBOOK * lbs, const char *csv, const char *csvfile)
} else {
/* get date and check it */
strlcpy(date, list + datecol*NAME_LENGTH, sizeof(date));
strlcpy(date, list + datecol * NAME_LENGTH, sizeof(date));
ltime = date_to_ltime(date);
if (ltime <= 0) {
/* try other date formats */
@@ -17222,7 +17219,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
if (expand == 2) {
for (i = i_line = line_len = 0; i < (int) sizeof(str) - 1; i++, line_len++) {
str[i] = text[i];
if (line_break(text+i, encoding)) {
if (line_break(text + i, encoding)) {
i_line++;
line_len = 0;
} else
@@ -17270,7 +17267,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
max_line_len = n_line >= 10 ? 140 : 40;
for (i = i_line = line_len = 0; i < (int) sizeof(str) - 1; line_len++, i++) {
str[i] = text[i];
if (line_break(text+i, encoding)) {
if (line_break(text + i, encoding)) {
i_line++;
line_len = 0;
} else
@@ -18665,7 +18662,7 @@ time_t convert_datetime(char *date_string)
if (!strchr(p, ' '))
return 0;
p = strchr(p, ' ')+1;
p = strchr(p, ' ') + 1;
strlcpy(str, p, sizeof(str));
p = strtok(str, ":");
@@ -19296,9 +19293,9 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
/*---- apply start/end date cut ----*/
if (past_n > 0)
ltime_start = now - 3600 * 24 * past_n; // past n days
ltime_start = now - 3600 * 24 * past_n; // past n days
else if (past_n < 0)
ltime_start = now + 3600 * past_n; // past n hours
ltime_start = now + 3600 * past_n; // past n hours
if (last_n && last_n < n_msg) {
for (i = n_msg - last_n - 1; i >= 0; i--)
@@ -19496,9 +19493,9 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
searched = TRUE;
strlcpy(str, getparam(attr_list[i]), sizeof(str));
if (str[0] == '^' && str[strlen(str)-1] == '$') {
str[strlen(str)-1] = 0;
strlcpy(comment, str+1, NAME_LENGTH);
if (str[0] == '^' && str[strlen(str) - 1] == '$') {
str[strlen(str) - 1] = 0;
strlcpy(comment, str + 1, NAME_LENGTH);
} else
strlcpy(comment, str, NAME_LENGTH);
strlcpy(str, comment, sizeof(str));
@@ -20163,9 +20160,9 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
if (comment[0] == 0) {
strlcpy(str, getparam(iattr), sizeof(str));
if (str[0] == '^' && str[strlen(str)-1] == '$') {
str[strlen(str)-1] = 0;
strlcpy(comment, str+1, NAME_LENGTH);
if (str[0] == '^' && str[strlen(str) - 1] == '$') {
str[strlen(str) - 1] = 0;
strlcpy(comment, str + 1, NAME_LENGTH);
} else
strlcpy(comment, str, NAME_LENGTH);
strlcpy(str, comment, sizeof(str));
@@ -20188,9 +20185,9 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
if (comment[0] == 0) {
strlcpy(str, getparam(attr_list[i]), sizeof(str));
if (str[0] == '^' && str[strlen(str)-1] == '$') {
str[strlen(str)-1] = 0;
strlcpy(comment, str+1, NAME_LENGTH);
if (str[0] == '^' && str[strlen(str) - 1] == '$') {
str[strlen(str) - 1] = 0;
strlcpy(comment, str + 1, NAME_LENGTH);
} else
strlcpy(comment, str, NAME_LENGTH);
strlcpy(str, comment, sizeof(str));
@@ -22358,16 +22355,16 @@ void submit_elog(LOGBOOK * lbs)
/* convert any '|' to ',', remove duplicate email to's */
n = strbreak(rcpt_to, (void *) rcpt_list, MAX_N_EMAIL, ",|", TRUE);
strbreak(mail_to, (void *) mail_list, MAX_N_EMAIL, ",|", TRUE);
for (i = 0; i < n-1 ; i++) {
for (j = i + 1; j < n ; j++) {
for (i = 0; i < n - 1; i++) {
for (j = i + 1; j < n; j++) {
if (rcpt_list[i * NAME_LENGTH] && rcpt_list[j * NAME_LENGTH] &&
strstr(&rcpt_list[i * NAME_LENGTH], &rcpt_list[j * NAME_LENGTH])) {
for (k = j; k < n-1 ; k++) {
strstr(&rcpt_list[i * NAME_LENGTH], &rcpt_list[j * NAME_LENGTH])) {
for (k = j; k < n - 1; k++) {
memcpy(&rcpt_list[k * NAME_LENGTH], &rcpt_list[(k + 1) * NAME_LENGTH], NAME_LENGTH);
memcpy(&mail_list[k * NAME_LENGTH], &mail_list[(k + 1) * NAME_LENGTH], NAME_LENGTH);
}
memset(&rcpt_list[k*NAME_LENGTH], 0, NAME_LENGTH);
memset(&mail_list[k*NAME_LENGTH], 0, NAME_LENGTH);
memset(&rcpt_list[k * NAME_LENGTH], 0, NAME_LENGTH);
memset(&mail_list[k * NAME_LENGTH], 0, NAME_LENGTH);
j = j - 1;
n = n - 1;
break;
@@ -22376,7 +22373,7 @@ void submit_elog(LOGBOOK * lbs)
}
rcpt_to[0] = 0;
mail_to[0] = 0;
for (i = 0; i < n ; i++) {
for (i = 0; i < n; i++) {
if ((int) strlen(rcpt_to) + (int) strlen(&rcpt_list[i * NAME_LENGTH]) + 5 >= rcpt_to_size) {
rcpt_to_size += 256;
@@ -22390,7 +22387,7 @@ void submit_elog(LOGBOOK * lbs)
}
strcat(mail_to, &mail_list[i * NAME_LENGTH]);
if (i < MAX_N_EMAIL-1 && rcpt_list[(i + 1) * NAME_LENGTH]) {
if (i < MAX_N_EMAIL - 1 && rcpt_list[(i + 1) * NAME_LENGTH]) {
strcat(rcpt_to, ",");
strcat(mail_to, ",\r\n\t");
}
@@ -24810,7 +24807,7 @@ void show_logbook_node(LBLIST plb, LBLIST pparent, int level, int btop)
loc("This logbook requires authentication"),
loc("This logbook requires authentication"));
rsprintf("<br>\n");
if (!getcfg(plb->name, "Hide Comments", str, sizeof(str)) || atoi(str) == 0) {
str[0] = 0;
getcfg(lb_list[index].name, "Comment", str, sizeof(str));
@@ -25780,7 +25777,7 @@ void interprete(char *lbook, char *path)
}
/* check for pastxx */
if (strncmp(path, "past", 4) == 0 && (isdigit(path[4]) || isdigit(path[5]))
if (strncmp(path, "past", 4) == 0 && (isdigit(path[4]) || isdigit(path[5]))
&& isparam("cmd") == 0) {
show_elog_list(lbs, atoi(path + 4), 0, 0, FALSE, NULL);
return;
@@ -26691,9 +26688,8 @@ int process_http_request(const char *request, int i_conn)
time_t now;
struct tm *ts;
const char *cookie_list[] =
{"upwd", "unm", "elmode", "urem", "wpwd", "apwd", "uname", "upassword", "elattach", "hsm", NULL};
const char *cookie_list[] =
{ "upwd", "unm", "elmode", "urem", "wpwd", "apwd", "uname", "upassword", "elattach", "hsm", NULL };
if (!strchr(request, '\r'))
return 0;
@@ -26730,10 +26726,10 @@ int process_http_request(const char *request, int i_conn)
if (str[i] == '=') {
str[i] = 0;
p += i + 1;
for (i = 0; *p && *p != ';' && *p != '\r' && *p != '\n' ; )
if (i < (int) sizeof(cookie)-1)
for (i = 0; *p && *p != ';' && *p != '\r' && *p != '\n';)
if (i < (int) sizeof(cookie) - 1)
cookie[i++] = *p++;
else
else
break;
cookie[i] = 0;
} else {
@@ -26744,8 +26740,8 @@ int process_http_request(const char *request, int i_conn)
}
/* store cookie as parameter */
for(i=0; cookie_list[i]; i++) {
if(strcmp(cookie_list[i], str) == 0) {
for (i = 0; cookie_list[i]; i++) {
if (strcmp(cookie_list[i], str) == 0) {
setparam(str, cookie);
break;
}
@@ -27272,7 +27268,7 @@ void send_return(int _sock, const char *net_buffer)
if ((keep_alive && strstr(return_buffer, "Content-Length") == NULL) || strstr(return_buffer,
"Content-Length") >
strstr(return_buffer, "\r\n\r\n")) {
strstr(return_buffer, "\r\n\r\n")) {
/*---- add content-length ----*/
@@ -27329,7 +27325,6 @@ void send_return(int _sock, const char *net_buffer)
memcpy(header_buffer, return_buffer, header_length);
sprintf(header_buffer + header_length, "\r\nConnection: Close\r\n\r\n");
}
#ifdef HAVE_SSL
if (_ssl_flag) {
SSL_write(ssl_con, header_buffer, strlen(header_buffer));
@@ -28079,8 +28074,7 @@ void server_loop(void)
break;
}
if (strncmp(net_buffer, "POST", 4) == 0 &&
len < header_length + content_length) {
if (strncmp(net_buffer, "POST", 4) == 0 && len < header_length + content_length) {
if (verbose)
eprintf("Incomplete POST request\n");
keep_alive = FALSE;