You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by so...@apache.org on 2007/09/21 12:37:48 UTC

svn commit: r578051 [19/31] - in /lenya/branches/revolution/1.3.x/src: java/org/apache/lenya/cms/content/flat/ webapp/lenya/modules/xinha/ webapp/lenya/modules/xinha/contrib/ webapp/lenya/modules/xinha/examples/ webapp/lenya/modules/xinha/images/ webap...

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/islocked2.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/locked.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/locked.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/locked.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/measure.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/measure.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/measure.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/noimages.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/noimages.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/noimages.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/rotate.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/rotate.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/rotate.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/save.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/save.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/save.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/scale.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/scale.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/scale.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/spacer.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/spacer.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/spacer.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/t_black.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/t_black.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/t_black.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/t_white.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/t_white.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/t_white.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/unlocked.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/unlocked.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/unlocked.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/unlocked2.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/unlocked2.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/img/unlocked2.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/de.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/de.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/de.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/de.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,65 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
+{
+  "Image Manager": "Bildmanager",
+  "Insert Image": "Bild einfügen",
+  "Directory": "Ordner",
+  "Directory Up": "übergeordneter Ordner",
+  "New Folder": "Neuer Ordner",
+  "Trash": "Müll",
+  "Edit": "bearbeiten",
+  "Image File": "Bilddatei",
+  "Upload": "Hochladen",
+  "Width": "Breite",
+  "Height": "Höhe",
+  "Constrain Proportions": "Proportional",
+  "Border": "Rand",
+  "V Space": "vertikaler Freiraum",
+  "H Space": "horizontaler Freiraum",
+  "Refresh": "Aktualisieren",
+  "Uploading...": "Hochladen...",
+  "Crop": "Beschneiden",
+  "Resize": "Größe ändern",
+  "Rotate": "Drehen",
+  "Measure": "Abmessungen",
+  "Marker": "Marker",
+  "Save": "Speichern",
+  "Filename:": "Dateiname:",
+  "Image Format": "Bildformat:",
+  "Quality:": "Qualität",
+  "JPEG High": "JPEG hoch",
+  "JPEG Medium": "JPEG mittel",
+  "JPEG Low": "JPEG niedrig",
+  "File saved.": "Datei gespeichert.",
+  "File was not saved.": "Datei wurde nicht gespeichert.",
+  "Start X:": "Start X",
+  "Start Y:": "Start Y",
+  "Lock": "Sperren",
+  "Flip Image": "Bild spiegeln",
+  "Flip Horizontal": "horizontal spiegeln",
+  "Flip Vertical": "vertikal spiegeln",
+  "Rotate Image": "Bild drehen",
+  "Rotate 180 °": "180° drehen",
+  "Rotate 90 ° CW": "90° drehen im UZS",
+  "Rotate 90 ° CCW": "90° drehen gegen UZS",
+  "Angle:": "Winkel:",
+  "W:": "B:",
+  "Clear": "Entfernen",
+  "Loading": "Laden",
+  "Invalid base directory:": "Ungültiges Startverzeichnis:",
+  "Delete file?": "Datei löschen?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Bitte löschen Sie zuerst alle Dateien im Ordner den Sie löschen möchten.",
+  "Delete folder?": "Ordner löschen?",
+  "Folder Name:": "Ordnername:",
+  "No Images Found": "Kein Bild gefunden",
+  "Invalid folder name, please choose another folder name.": "Ungültiger Ordnername, bitte wählen sie einen anderen Namen.",
+  "GIF format is not supported, image editing not supported.": "GIF Format wird nicht unterstützt, Bildbearbeitung wird nicht unterstützt.",
+  "No Image Available": "Kein Bild verfügbar",
+  "No Image selected.": "Kein Bild ausgewählt.",
+  "Description:": "Beschreibung:",
+  "Align:": "Ausrichtung:",
+  "Margin:": "Außenabstand:",
+  "Padding:": "Innenabstand:",
+  "Color:": "Farbe:"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/fr.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/fr.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/fr.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/fr.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,66 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Image Manager": "Bibliothèque d'images",
+  "Insert Image": "Insérer une image",
+  "Directory": "Répertoire",
+  "Directory Up": "Remonter",
+  "New Folder": "Nouveau répertoire",
+  "Trash": "Détruire",
+  "Edit": "Editer",
+  "Image File": "Fichier",
+  "Upload": "Télécharger",
+  "Width": "Largeur",
+  "Height": "Hauteur",
+  "Width:": "Largeur",
+  "Height:": "Hauteur",
+  "Constrain Proportions": "Conserver les proportions",
+  "Border": "Bordure",
+  "V Space": "Espace V",
+  "H Space": "Espace H",
+  "Refresh": "Rafraîchir",
+  "Uploading...": "Chargement...",
+  "Crop": "Recadrer",
+  "Resize": "Retailler",
+  "Rotate": "Pivoter",
+  "Measure": "Mesure",
+  "Marker": "Marqueur",
+  "Save": "Sauver",
+  "Filename:": "Nom",
+  "Image Format": "Format d'image",
+  "Quality:": "Qualité",
+  "JPEG High": "JPEG haut",
+  "JPEG Medium": "JPEG moyen",
+  "JPEG Low": "JPEG bas",
+  "File saved.": "Fichier sauvegardé.",
+  "File was not saved.": "Fichier non sauvegardé.",
+  "Start X:": "Début X",
+  "Start Y:": "Début Y",
+  "Lock": "Cadenas",
+  "Flip Image": "Symétrie",
+  "Flip Horizontal": "Symétrie horizontale",
+  "Flip Vertical": "Symétrie verticale",
+  "Rotate Image": "Rotation",
+  "Rotate 180 °": "Rotation 180°",
+  "Rotate 90 ° CW": "Rotation 90° horaire",
+  "Rotate 90 ° CCW": "Rotation 90° antihoraire",
+  "Angle:": "Angle",
+  "W:": "L:",
+  "Clear": "Effacer",
+  "Loading": "Chargement en cours",
+  "Invalid base directory:": "Répertoire de base invalide:",
+  "Delete file?": "Suppression du fichier ?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Veuillez tout d'abord supprimer tous les fichiers et répertoires contenus",
+  "Delete folder?": "Suppression du répertoire ?",
+  "Folder Name:": "Nom du répertoire",
+  "No Images Found": "Aucune image trouvée",
+  "Invalid folder name, please choose another folder name.": "Nom de répertoire invalide, veuillez choisir un autre nom",
+  "GIF format is not supported, image editing not supported.": "Format GIF non supporté, édition d'image non supportée",
+  "No Image Available": "Aucune image disponible",
+  "No Image selected.": "Aucune image sélectionnée.",
+  "Color:": "Couleur",
+  "Align:": "Alignement",
+  "Margin:": "Marge",
+  "Padding:": "Espacement",
+  "Border:": "Bordure"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ja.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,70 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Image Manager": "画像マネージャ",
+  "Insert Image": "画像の挿入",
+  "Directory": "ディレクトリ",
+  "Directory Up": "親ディレクトリへ",
+  "New Folder": "新規フォルダ",
+  "Trash": "削除",
+  "Edit": "編集",
+  "Image File": "画像ファイル",
+  "Upload": "アップロード",
+  "Width": "幅",
+  "Height": "高さ",
+  "Width:": "幅:",
+  "Height:": "高さ:",
+  "Constrain Proportions": "縦横比を固定",
+  "Border": "ボーダー",
+  "V Space": "垂直余白",
+  "H Space": "水平余白",
+  "Refresh": "更新",
+  "Uploading...": "アップロード中...",
+  "Crop": "切り抜き",
+  "Resize": "サイズ変更",
+  "Rotate": "回転",
+  "Measure": "計測",
+  "Marker": "マーカー",
+  "Save": "保存",
+  "Filename:": "ファイル名:",
+  "Image Format": "画像形式",
+  "Quality:": "画質:",
+  "JPEG High": "JPEG 高画質",
+  "JPEG Medium": "JPEG 標準",
+  "JPEG Low": "JPEG 低画質",
+  "File saved.": "ファイルを保存しました。",
+  "File was not saved.": "ファイルを保存できませんでした。",
+  "Start X:": "開始 X",
+  "Start Y:": "開始 Y",
+  "Lock": "ロック",
+  "Flip Image": "画像を反転",
+  "Flip Horizontal": "左右反転",
+  "Flip Vertical": "上下反転",
+  "Rotate Image": "画像を回転",
+  "Rotate 180 °": "180°",
+  "Rotate 90 ° CW": "90° 時計回り",
+  "Rotate 90 ° CCW": "90° 反時計回り",
+  "Angle:": "角度:",
+  "W:": "W:",
+  "Clear": "クリア",
+  "Loading": "ロード中",
+  "Invalid base directory:": "無効なディレクトリ:",
+  'Delete file "$file"?': 'ファイル "$file" を削除しますか?',
+  "Please delete all files/folders inside the folder you wish to delete first.": "削除したいフォルダ内のファイルとフォルダを全て削除しておいてください。",
+  'Delete folder "$dir"?': 'フォルダ "$dir" を削除しますか?',
+  "Folder Name:": "フォルダ名:",
+  "No Files Found": "ファイルがありません",
+  "Invalid folder name, please choose another folder name.": "無効なフォルダ名です。別のフォルダ名を選んでください。",
+  "GIF format is not supported, image editing not supported.": "GIF形式はサポートされていないため、画像編集できません。",
+  "No Image Available": "画像がありません",
+  "No Image selected.": "画像が選択されていません。",
+  "Color:": "色:",
+  "Align:": "行揃え",
+  "Margin:": "間隔:",
+  "Padding:": "余白:",
+  "Border:": "境界線:",
+  
+  "Upload": "アップロード",
+  "Upload:": "アップロード:",
+  "Description:": "説明:",
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/nb.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/nb.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/nb.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/nb.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,65 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Image Manager": "Bildebehandler",
+  "Insert Image": "Sett inn bilde",
+  "Directory": "Mappe",
+  "Directory Up": "Opp en mappe",
+  "New Folder": "Ny mappe",
+  "Trash": "Søppelkurv",
+  "Edit": "Rediger",
+  "Image File": "Bildefil",
+  "Upload": "Last opp",
+  "Width": "Bredde",
+  "Height": "Høyde",
+  "Constrain Proportions": "Behold proposjoner",
+  "Border": "Ramme",
+  "V Space": "vertikal marg",
+  "H Space": "horisontal marg",
+  "Refresh": "Oppfrisk",
+  "Uploading...": "Laster opp...",
+  "Crop": "Beskjær",
+  "Resize": "Endre størrelse",
+  "Rotate": "Roter",
+  "Measure": "MÃ¥l",
+  "Marker": "Marker",
+  "Save": "Lagre",
+  "Filename:": "Filnavn:",
+  "Image Format": "Bildeformat:",
+  "Quality:": "Kvalitet",
+  "JPEG High": "JPEG høy",
+  "JPEG Medium": "JPEG middelse",
+  "JPEG Low": "JPEG lav",
+  "File saved.": "Fil lagret.",
+  "File was not saved.": "Fil ble ikke lagret.",
+  "Start X:": "Start X",
+  "Start Y:": "Start Y",
+  "Lock": "Sperre",
+  "Flip Image": "Vend bilde",
+  "Flip Horizontal": "Vend horisontal",
+  "Flip Vertical": "Vend vertikal",
+  "Rotate Image": "Roter bilde",
+  "Rotate 180 °": "Roter 180°",
+  "Rotate 90 ° CW": "Roter 90° med klokka",
+  "Rotate 90 ° CCW": "Roter 90° mot klokka",
+  "Angle:": "Vinkel:",
+  "W:": "B:",
+  "Clear": "Fjern",
+  "Loading": "Laster",
+  "Invalid base directory:": "Feil rot-mappe:",
+  "Delete file?": "Slette fil?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Vennligst slett alle filer og mapper i mappen du ønsker å slette og prøv igjen.",
+  "Delete folder?": "Slett mappe?",
+  "Folder Name:": "Mappenavn:",
+  "No Images Found": "Ingen bilder funnet",
+  "Invalid folder name, please choose another folder name.": "Ugyldig mappenavn, vennligst velg et annet navn på mappen.",
+  "GIF format is not supported, image editing not supported.": "Bildeformatet GIF er ikke støttet.",
+  "No Image Available": "Inget bilde er tilgjengelig",
+  "No Image selected.": "Inget bilde er valgt.",
+  "Description:": "Beskrivelse:",
+  "Align:": "Justering:",
+  "Margin:": "Marg:",
+  "Padding:": "Innsidemarg:",
+  "Color:": "Farge:"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/pl.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/pl.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/pl.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/pl.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,70 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
+{
+  "Image Manager": "Menedżer obrazków",
+  "Insert Image": "Wstaw obrazek",
+  "Directory": "Katalog",
+  "Directory Up": "Katalog wyżej",
+  "New Folder": "Nowy katalog",
+  "Trash": "Usuń",
+  "Edit": "Edytuj",
+  "Image File": "Plik obrazka",
+  "Upload": "Wgraj",
+  "Width": "Szerokość",
+  "Height": "Wysokość",
+  "Width:": "Szerokość:",
+  "Height:": "Wysokość:",
+  "Constrain Proportions": "Zachowaj proporcje",
+  "Border": "Ramka",
+  "V Space": "Odległość V",
+  "H Space": "Odległość H",
+  "Refresh": "Odśwież",
+  "Uploading...": "Wgrywanie...",
+  "Crop": "Przytnij",
+  "Resize": "Przeskaluj",
+  "Rotate": "Obróć",
+  "Measure": "Zmierz",
+  "Marker": "Zaznacz",
+  "Save": "Zapisz",
+  "Filename:": "Nazwa pliku:",
+  "Image Format": "Format pliku:",
+  "Quality:": "Jakość",
+  "JPEG High": "JPEG wysoka",
+  "JPEG Medium": "JPEG średnia",
+  "JPEG Low": "JPEG niska",
+  "File saved.": "Zapisano plik.",
+  "File was not saved.": "Nie zapisano pliku.",
+  "Start X:": "Początek X",
+  "Start Y:": "Początek Y",
+  "Lock": "Zablokuj",
+  "Flip Image": "Odwróć",
+  "Flip Horizontal": "Odwróć poziomo",
+  "Flip Vertical": "Odwróć pionowo",
+  "Rotate Image": "Obróć",
+  "Rotate 180 °": "Obróć 180°",
+  "Rotate 90 ° CW": "Obróć 90° w prawo",
+  "Rotate 90 ° CCW": "Obróć 90° w lewo",
+  "Angle:": "Kąt:",
+  "W:": "L:",
+  "Clear": "Wyczyść",
+  "Loading": "Ładowanie",
+  "Invalid base directory:": "Nieprawidłowy katalog bazowy:",
+  "Delete file?": "Usunąć plik?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Najpierw usuń wszystkie pliki i podkatalogi katalogu.",
+  "Delete folder?": "Usunąć katalog ?",
+  "Folder Name:": "Nazwa katalogu",
+  "No Images Found": "Nie znaleziono obrazków",
+  "Invalid folder name, please choose another folder name.": "Nieprawidłowa nazwa katalogu, wybierz inną.",
+  "GIF format is not supported, image editing not supported.": "Brak obsługi plików GIF, edycja jest niemożliwa.",
+  "No Image Available": "Obrazek niedostępny",
+  "No Image selected.": "Nie zaznaczono obrazka.",
+  "Description:": "Opis:",
+  "Align:": "Wyrównanie:",
+  "Description:": "Opis:",
+  "Margin:": "Margines:",
+  "Padding:": "Wcięcie:",
+  "Border:": "Ramka:",
+  "Color:": "Kolor:",
+  "Upload:": "Wgraj:"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ru.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ru.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ru.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/ru.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,67 @@
+// I18N constants
+// LANG: "ru", ENCODING: UTF-8
+// Author: Andrei Blagorazumov, a@fnr.ru
+{
+  "Image Manager": "Менеджер картинок",
+  "Insert Image": "Вставка картинки",
+  "Directory": "Папка",
+  "Directory Up": "Папка наверх",
+  "New Folder": "Новая папка",
+  "Trash": "Корзина",
+  "Edit": "Правка",
+  "Image File": "Файл картинки",
+  "Upload": "Загрузить",
+  "Width": "Ширина",
+  "Height": "Высота",
+  "Width:": "Ширина",
+  "Height:": "Высота",
+  "Constrain Proportions": "Сохранить пропорции",
+  "Border": "Рамка",
+  "V Space": "Поле V",
+  "H Space": "Поле H",
+  "Refresh": "Обновить",
+  "Uploading...": "Загрузка...",
+  "Crop": "Обрезать",
+  "Resize": "Масшабировать",
+  "Rotate": "Повернуть",
+  "Measure": "Измерение",
+  "Marker": "Маркер",
+  "Save": "Сохранить",
+  "Filename:": "Имя файла",
+  "Image Format": "Формат картинки",
+  "Quality:": "Качество",
+  "JPEG High": "JPEG высок.",
+  "JPEG Medium": "JPEG средн.",
+  "JPEG Low": "JPEG низк.",
+  "File saved.": "Файл сохранен.",
+  "File was not saved.": "Файл не сохранен.",
+  "Start X:": "Начало X",
+  "Start Y:": "Начало Y",
+  "Lock": "Блокировка",
+  "Flip Image": "Развернуть картинку",
+  "Flip Horizontal": "Развернуть по горизонтали",
+  "Flip Vertical": "Развернуть по вертикали",
+  "Rotate Image": "Повернуть картинку",
+  "Rotate 180 В°": "Повернуть на 180°",
+  "Rotate 90 В° CW": "Повернуть на 90° по часовой",
+  "Rotate 90 В° CCW": "Повернуть на 90° против часовой",
+  "Angle:": "Угол",
+  "W:": "Ш:",
+  "Clear": "Очистить",
+  "Loading": "Загрузка",
+  "Invalid base directory:": "Неверная базовая папка:",
+  "Delete file?": "Удалить файл?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Пожалуйста удалите все файлы/папки в папке, которую вы хотите удалить.",
+  "Delete folder?": "Удалить папку?",
+  "Folder Name:": "Название папки:",
+  "No Images Found": "Картинок не найдено",
+  "Invalid folder name, please choose another folder name.": "Неправильное имя папки, пожалуйста выберите другое.",
+  "GIF format is not supported, image editing not supported.": "Формат GIF не поддерживается, редактирование картинки не поддерживается.",
+  "No Image Available": "Нет доступных картинок",
+  "No Image selected.": "Картинки не выбраны.",
+  "Color:": "Цвет",
+  "Align:": "Выравнивание",
+  "Margin:": "Отступ",
+  "Padding:": "Поля",
+  "Border:": "Рамка"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/sv.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/sv.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/sv.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/lang/sv.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "sv" (Swedish), ENCODING: UTF-8
+// translated: Erik Dalén, <da...@jpl.se>
+{
+  "Image Manager": "Bildbehandlare",
+  "Crop": "Beskjär"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/manager.php
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/manager.php?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/manager.php (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/manager.php Fri Sep 21 03:36:30 2007
@@ -0,0 +1,194 @@
+<?php
+/**
+ * The main GUI for the ImageManager.
+ * @author $Author: ray $
+ * @version $Id: manager.php 770 2007-03-12 20:25:19Z ray $
+ * @package ImageManager
+ */
+
+	require_once('config.inc.php');
+	require_once('ddt.php');
+	require_once('Classes/ImageManager.php');
+	
+	$manager = new ImageManager($IMConfig);
+	$dirs = $manager->getDirs();
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+	<title>Insert Image</title>
+  <script type="text/javascript">
+    // temporary. An ImageManager rewrite will take care of this kludge.
+    _backend_url = "<?php print $IMConfig['backend_url']; ?>";
+    _resized_prefix = "<?php echo $IMConfig['resized_prefix']; ?>";
+    _resized_dir = "<?php echo $IMConfig['resized_dir']; ?>";
+  </script>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link href="<?php print $IMConfig['base_url'];?>assets/manager.css" rel="stylesheet" type="text/css" />
+<script type="text/javascript" src="../../popups/popup.js"></script>
+<script type="text/javascript" src="assets/popup.js"></script>
+<script type="text/javascript" src="../../modules/ColorPicker/ColorPicker.js"></script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/dialog.js"></script>
+<script type="text/javascript">
+/*<![CDATA[*/
+	if(window.opener)
+		HTMLArea = window.opener.HTMLArea;
+
+	var thumbdir = "<?php echo $IMConfig['thumbnail_dir']; ?>";
+	var base_url = "<?php echo $manager->getImagesURL(); ?>";
+/*]]>*/
+</script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/manager.js"></script>
+</head>
+<body>
+
+<form action="<?php print $IMConfig['backend_url'] ?>" id="uploadForm" method="post" enctype="multipart/form-data">
+
+<input type="hidden" name="__plugin" value="ImageManager">
+<input type="hidden" name="__function" value="images">
+
+<fieldset>
+  <legend>Image Manager</legend>
+  <table width="100%">
+    <tr>
+      <th><label for="dirPath">Directory</label></th>
+      <td>
+        <select name="dir" class="dirWidth" id="dirPath" onchange="updateDir(this)">
+          <option value="/">/</option>
+          <?php
+            foreach($dirs as $relative=>$fullpath)
+            {
+              ?>
+              <option value="<?php echo rawurlencode($relative); ?>"><?php echo $relative; ?></option>
+              <?php
+            }
+          ?>
+        </select>
+      </td>
+      <td>
+        <a href="#" onclick="javascript: goUpDir();" title="Directory Up"><img src="<?php print $IMConfig['base_url']; ?>img/btnFolderUp.gif" height="15" width="15" alt="Directory Up" /></a>
+
+        <?php
+          if($IMConfig['safe_mode'] == false && $IMConfig['allow_new_dir'])
+          {
+            ?>
+            <a href="#" onclick="newFolder();" title="New Folder"><img src="<?php print $IMConfig['base_url']; ?>img/btnFolderNew.gif" height="15" width="15" alt="New Folder" /></a>
+            <?php
+          }
+          ?>
+      </td>
+    </tr>
+    <?php
+      if($IMConfig['allow_upload'] == TRUE)
+      {
+        ?>
+        <tr>
+          <th align="left">Upload:</th>
+          <td colspan="2">
+            <input type="file" name="upload" id="upload" />
+            <input name="Upload" type="submit" id="Upload" value="Upload" onclick="doUpload();" />
+          </td>
+        </tr>
+        <?php
+      }
+    ?>
+
+  </table>
+
+  <div id="messages" style="display: none;"><span id="message"></span><img SRC="<?php print $IMConfig['base_url']; ?>img/dots.gif" width="22" height="12" alt="..." /></div>
+
+  <iframe src="<?php print $IMConfig['backend_url']; ?>__function=images" name="imgManager" id="imgManager" class="imageFrame" scrolling="auto" title="Image Selection" frameborder="0"></iframe>
+
+</fieldset>
+
+<!-- image properties -->
+
+<table  border="0" cellspacing="0" cellpadding="0" width="100%">
+  <tr>
+    <th align="left">Description:</th>
+    <td colspan="6">
+      <input type="text" id="f_alt" style="width:95%"/>
+    </td>
+    <td rowspan="4" width="100" height="100" valign="middle" style="padding:4px;background-color:#CCC;border:1px inset;">
+      <img src="" id="f_preview" />
+    </td>
+  </tr>
+
+  <tr>
+    <th align="left">Width:</th>
+    <td >
+      <input id="f_width" type="text" name="f_width" size="4" onchange="javascript:checkConstrains('width');" />
+    </td>
+    <td rowspan="2">
+      <div  style="position:relative">
+        <img src="<?php print $IMConfig['base_url']; ?>img/locked.gif" id="imgLock" width="25" height="32" alt="Constrained Proportions" valign="middle" /><input type="checkbox" id="constrain_prop" checked="checked" onclick="javascript:toggleConstrains(this);" style="position:absolute;top:8px;left:0px;" />
+      </div>
+    </td>
+    <th align="left">Margin:</th>
+    <td colspan="3">
+      <input name="f_margin" type="text" id="f_margin" size="3" />
+      px </td>
+  </tr>
+
+  <tr>
+    <th align="left">Height:</th>
+    <td>
+      <input name="f_height" type="text" id="f_height" size="4" />
+    </td>
+    <th align="left">Padding:</th>
+    <td>
+      <input name="f_padding" type="text" id="f_padding" size="3" />
+      px </td>
+    <th align="left">Color:</th>
+    <td>
+      <input name="f_backgroundColor" type="text" id="f_backgroundColor" size="7" />
+     
+    </td>
+  </tr>
+
+
+  <tr>
+    <th align="left">Alignment:</th>
+    <td colspan="2">
+      <select size="1" id="f_align"  title="Positioning of this image">
+        <option value=""                             >Not set</option>
+        <option value="left"                         >Left</option>
+        <option value="right"                        >Right</option>
+        <option value="texttop"                      >Texttop</option>
+        <option value="absmiddle"                    >Absmiddle</option>
+        <option value="baseline" selected="selected" >Baseline</option>
+        <option value="absbottom"                    >Absbottom</option>
+        <option value="bottom"                       >Bottom</option>
+        <option value="middle"                       >Middle</option>
+        <option value="top"                          >Top</option>
+      </select>
+    </td>
+    <th align="left">Border:</th>
+    <td>
+      <input name="f_border" type="text" id="f_border" size="3" />
+      px </td>
+    <th align="left">Color:</th>
+    <td>
+      <input name="f_borderColor" type="text" id="f_borderColor" size="7" />
+      
+    </td>
+  </tr>
+
+</table>
+
+<div style="text-align: right;">
+  <hr />
+  <button type="button" class="buttons" onclick="return refresh();">Refresh</button>
+  <button type="button" class="buttons" onclick="return onOK();">OK</button>
+  <button type="button" class="buttons" onclick="return onCancel();">Cancel</button>
+</div>
+
+<!--// image properties -->
+<input type="hidden" id="orginal_width" />
+<input type="hidden" id="orginal_height" />
+<input type="hidden" id="f_url" class="largelWidth" value="" />
+</form>
+</body>
+</html>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/newFolder.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/newFolder.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/newFolder.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/newFolder.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,79 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>New Folder</title>
+ <script type="text/javascript" src="../../popups/popup.js"></script>
+ <style type="text/css">
+ /*<![CDATA[*/
+ html, body {  background-color: ButtonFace;  color: ButtonText; font: 11px Tahoma,Verdana,sans-serif; margin: 0; padding: 0;}
+body { padding: 5px; }
+ .title { background-color: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px  solid black; letter-spacing: 2px;}
+select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
+.buttons { width: 70px; text-align: center; }
+form { padding: 0px;  margin: 0;}
+form .elements{
+	padding: 10px; text-align: center;
+}
+ /*]]>*/
+ </style>
+<script type="text/javascript" src="assets/popup.js"></script>
+<script type="text/javascript">
+/*<![CDATA[*/
+	window.resizeTo(300, 160);
+
+    if(window.opener)
+        HTMLArea = window.opener.HTMLArea;
+
+	init = function ()
+	{
+		__dlg_init();
+		__dlg_translate('ImageManager');
+		document.getElementById("f_foldername").focus();
+	};
+
+	function onCancel()
+	{
+		__dlg_close(null);
+		return false;
+	}
+
+	function onOK()
+	{
+		 // pass data back to the calling window
+	  var fields = ["f_foldername"];
+	  var param = new Object();
+	  for (var i in fields) {
+		var id = fields[i];
+		var el = document.getElementById(id);
+		param[id] = el.value;
+	  }
+	  __dlg_close(param);
+	  return false;
+	}
+
+	function addEvent(obj, evType, fn)
+	{
+		if (obj.addEventListener) { obj.addEventListener(evType, fn, true); return true; }
+		else if (obj.attachEvent) {  var r = obj.attachEvent("on"+evType, fn);  return r;  }
+		else {  return false; }
+	}
+
+	addEvent(window, 'load', init);
+//-->
+</script>
+</head>
+<body >
+<div class="title">New Folder</div>
+<form action="">
+<div class="elements">
+	<label for="f_foldername">Folder Name:</label>
+	<input type="text" id="f_foldername" />
+</div>
+<div style="text-align: right;">
+	  <hr />
+	  <button type="button" class="buttons" onclick="return onOK();">OK</button>
+	  <button type="button" class="buttons" onclick="return onCancel();">Cancel</button>
+</div>
+</form>
+</body>
+</html>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/resizer.php
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/resizer.php?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/resizer.php (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/resizer.php Fri Sep 21 03:36:30 2007
@@ -0,0 +1,83 @@
+<?php
+header('Content-Type: text/javascript');
+
+/**
+ * Resize images to a given size, and saving in a new file.
+ * resize.php?img=/relative/path/to/image.jpg&width=<pixels>&height=<pixels>[&to=/relative/path/to/newimage.jpg]
+ * relative to the base_dir given in config.inc.php
+ * This is pretty much just thumbs.php with some mods, I'm too lazy to do it properly
+ * @author $Author: ray $
+ * @version $Id: resizer.php 677 2007-01-19 22:24:36Z ray $
+ * @package ImageManager
+ */
+
+require_once('config.inc.php');
+require_once('Classes/ImageManager.php');
+require_once('Classes/Thumbnail.php');
+
+function js_fail($message)    { echo 'alert(\'' . $message . '\'); false'; exit;   }
+function js_success($resultFile)    { echo '\'' . $resultFile . '\''; exit;   }
+
+//check for img parameter in the url
+if(!isset($_GET['img']) || !isset($_GET['width']) || !isset($_GET['height']))
+{
+  js_fail('Missing parameter.');
+}
+
+$manager = new ImageManager($IMConfig);
+
+//get the image and the full path to the image
+$image = $_GET['img'];
+$fullpath = Files::makeFile($manager->getImagesDir(),$image);
+
+//not a file, so exit
+if(!is_file($fullpath))
+{
+  js_fail("File {$fullpath} does not exist.");
+}
+
+$imgInfo = @getImageSize($fullpath);
+
+//Not an image, bail out.
+if(!is_array($imgInfo))
+{
+	js_fail("File {$fullpath} is not an image.");
+}
+
+if(!isset($_GET['to']))
+{
+  $resized    = $manager->getResizedName($fullpath,$_GET['width'],$_GET['height']);
+  $_GET['to'] = $manager->getResizedName($image,$_GET['width'],$_GET['height'], FALSE);
+}
+else
+{
+  $resized = Files::makeFile($manager->getImagesDir(),$_GET['to']);
+}
+
+// Check to see if it already exists
+if(is_file($resized))
+{
+	// And is newer
+	if(filemtime($resized) >= filemtime($fullpath))
+	{
+		js_success($_GET['to']);
+	}
+}
+
+
+
+// resize (thumbnailer will do this for us just fine)
+$thumbnailer = new Thumbnail($_GET['width'],$_GET['height']);
+$thumbnailer->proportional = FALSE;
+$thumbnailer->createThumbnail($fullpath, $resized);
+
+// did it work?
+if(is_file($resized))
+{
+	js_success($_GET['to']);
+}
+else
+{
+	js_fail("Resize Failed.");
+}
+?>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/thumbs.php
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/thumbs.php?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/thumbs.php (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/ImageManager/thumbs.php Fri Sep 21 03:36:30 2007
@@ -0,0 +1,90 @@
+<?php
+/**
+ * On the fly Thumbnail generation.
+ * Creates thumbnails given by thumbs.php?img=/relative/path/to/image.jpg
+ * relative to the base_dir given in config.inc.php
+ * @author $Author: ray $
+ * @version $Id: thumbs.php 677 2007-01-19 22:24:36Z ray $
+ * @package ImageManager
+ */
+
+require_once('config.inc.php');
+require_once('Classes/ImageManager.php');
+require_once('Classes/Thumbnail.php');
+
+//check for img parameter in the url
+if(!isset($_GET['img']))
+	{
+	exit();
+	}
+
+
+$manager = new ImageManager($IMConfig);
+
+//get the image and the full path to the image
+$image = rawurldecode($_GET['img']);
+$fullpath = Files::makeFile($manager->getImagesDir(),$image);
+
+//not a file, so exit
+if(!is_file($fullpath))
+	{
+	exit();
+	}
+
+$imgInfo = @getImageSize($fullpath);
+
+//Not an image, send default thumbnail
+if(!is_array($imgInfo))
+{
+	//show the default image, otherwise we quit!
+	$default = $manager->getDefaultThumb();
+	if($default)
+	{
+		header('Location: '.$default);
+		exit();
+	}
+}
+//if the image is less than the thumbnail dimensions
+//send the original image as thumbnail
+
+if ($imgInfo[0] <= $IMConfig['thumbnail_width']
+ && $imgInfo[1] <= $IMConfig['thumbnail_height'])
+ {
+
+	 header('Location: '. $manager->getFileURL($image));
+	 exit();
+ }
+
+//Check for thumbnails
+$thumbnail = $manager->getThumbName($fullpath);
+
+if(is_file($thumbnail))
+{
+	//if the thumbnail is newer, send it
+	if(filemtime($thumbnail) >= filemtime($fullpath))
+	{
+		header('Location: '.$manager->getThumbURL($image));
+		exit();
+	}
+}
+
+//creating thumbnails
+$thumbnailer = new Thumbnail($IMConfig['thumbnail_width'],$IMConfig['thumbnail_height']);
+$thumbnailer->createThumbnail($fullpath, $thumbnail);
+
+//Check for NEW thumbnails
+if(is_file($thumbnail))
+{
+	//send the new thumbnail
+	header('Location: '.$manager->getThumbURL($image));
+	exit();
+}
+else
+{
+	//show the default image, otherwise we quit!
+	$default = $manager->getDefaultThumb();
+
+	if($default)
+		header('Location: '.$default);
+}
+?>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/img/insert-anchor.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/img/insert-anchor.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/img/insert-anchor.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/img/placeholder.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/img/placeholder.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/img/placeholder.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.css
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.css?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.css (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.css Fri Sep 21 03:36:30 2007
@@ -0,0 +1,9 @@
+a.anchor {
+  width: 18px;
+  height: 18px;
+  background-image: url(img/insert-anchor.gif);
+  background-repeat: no-repeat;
+  background-position: left top;
+  padding-left: 19px;
+  border: 1px dotted blue;
+}

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/insert-anchor.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,76 @@
+function InsertAnchor(_1){
+this.editor=_1;
+var _2=_1.config;
+var _3=this;
+_2.registerButton({id:"insert-anchor",tooltip:this._lc("Insert Anchor"),image:_1.imgURL("insert-anchor.gif","InsertAnchor"),textMode:false,action:function(_4){
+_3.buttonPress(_4);
+}});
+_2.addToolbarElement("insert-anchor","createlink",1);
+}
+InsertAnchor._pluginInfo={name:"InsertAnchor",origin:"version: 1.0, by Andre Rabold, MR Printware GmbH, http://www.mr-printware.de",version:"2.0",developer:"Udo Schmal",developer_url:"http://www.schaffrath-neuemedien.de",c_owner:"Udo Schmal",sponsor:"L.N.Schaffrath NeueMedien",sponsor_url:"http://www.schaffrath-neuemedien.de",license:"htmlArea"};
+InsertAnchor.prototype._lc=function(_5){
+return HTMLArea._lc(_5,"InsertAnchor");
+};
+InsertAnchor.prototype.onGenerate=function(){
+var _6="IA-style";
+var _7=this.editor._doc.getElementById(_6);
+if(_7==null){
+_7=this.editor._doc.createElement("link");
+_7.id=_6;
+_7.rel="stylesheet";
+_7.href=_editor_url+"plugins/InsertAnchor/insert-anchor.css";
+this.editor._doc.getElementsByTagName("HEAD")[0].appendChild(_7);
+}
+};
+InsertAnchor.prototype.buttonPress=function(_8){
+var _9=null;
+var _a=_8.getSelectedHTML();
+var _b=_8._getSelection();
+var _c=_8._createRange(_b);
+var a=_8._activeElement(_b);
+if(!(a!=null&&a.tagName.toLowerCase()=="a")){
+a=_8._getFirstAncestor(_b,"a");
+}
+if(a!=null&&a.tagName.toLowerCase()=="a"){
+_9={name:a.id};
+}else{
+_9={name:""};
+}
+_8._popupDialog("plugin://InsertAnchor/insert_anchor",function(_e){
+if(_e){
+var _f=_e["name"];
+if(_f==""||_f==null){
+if(a){
+var _10=a.innerHTML;
+a.parentNode.removeChild(a);
+_8.insertHTML(_10);
+}
+return;
+}
+try{
+var doc=_8._doc;
+if(!a){
+a=doc.createElement("a");
+a.id=_f;
+a.name=_f;
+a.title=_f;
+a.className="anchor";
+a.innerHTML=_a;
+if(HTMLArea.is_ie){
+_c.pasteHTML(a.outerHTML);
+}else{
+_8.insertNodeAtSelection(a);
+}
+}else{
+a.id=_f;
+a.name=_f;
+a.title=_f;
+a.className="anchor";
+}
+}
+catch(e){
+}
+}
+},_9);
+};
+

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/de.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/de.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/de.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/de.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Raimund Meyer xinha@ray-of-light.org
+{
+  "Insert Anchor": "Anker einfügen",
+  "Anchor name": "Name (ID)",
+  "Delete": "Löschen"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/fr.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/fr.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/fr.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/fr.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Insert Anchor": "Insérer une ancre",
+  "Anchor name": "Nom de l'ancre",
+  "Delete": "Supprimer"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/ja.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Insert Anchor": "アンカーの挿入",
+  "Anchor name": "アンカーの名前",
+  "Delete": "削除"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nb.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nb.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nb.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nb.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Insert Anchor": "Sett inn anker",
+  "Anchor name": "Ankernavn (ID)"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nl.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nl.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nl.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/nl.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: Raimund Meyer xinha@ray-of-light.org
+{
+  "Insert Anchor": "Anker invoegen",
+  "Anchor name": "Naam (ID)",
+  "Delete": "Verwijderen"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/pl.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/pl.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/pl.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/lang/pl.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,8 @@
+// I18N constants
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz koto@webworkers.pl
+{
+  "Insert Anchor": "Wstaw kotwicę",
+  "Anchor name": "Nazwa kotwicy",
+  "Delete": "Usuń"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/popups/insert_anchor.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/popups/insert_anchor.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/popups/insert_anchor.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertAnchor/popups/insert_anchor.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,59 @@
+<html>
+<head>
+  <title>Insert Anchor</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+  <script type="text/javascript">
+  window.resizeTo(400, 150);
+function Init() {
+  __dlg_translate("InsertAnchor");
+  __dlg_init();
+
+  var param = window.dialogArguments;
+  if (param) {
+    document.getElementById("name").value = param["name"];
+  }
+  document.getElementById("name").focus();
+}
+
+function onOK() {
+  // pass data back to the calling window
+  var param = new Object();
+  param["name"] = document.getElementById("name").value;
+  __dlg_close(param);
+  return false;
+}
+
+function onDelete() {
+  // pass data back to the calling window
+  var param = new Object();
+  param["name"] = "";
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+</script>
+</head>
+
+<body class="dialog" onload="Init()">
+<div class="title">Insert Anchor</div>
+<form>
+<table border="0" style="width: 100%;">
+  <tr>
+    <td class="label">Anchor name</td>
+    <td><input type="text" id="name" style="width: 100%" /></td>
+  </tr>
+</table>
+
+<div id="buttons">
+  <button type="submit" name="ok" onclick="return onOK();">OK</button>
+  <button type="button" name="delete" onclick="return onDelete();">Delete</button>
+  <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
+</div>
+</form>
+</body>
+</html>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/img/ed_marquee.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/img/ed_marquee.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/img/ed_marquee.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/insert-marquee.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/insert-marquee.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/insert-marquee.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/insert-marquee.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,64 @@
+function InsertMarquee(_1){
+this.editor=_1;
+var _2=_1.config;
+var _3=this;
+_2.registerButton({id:"insertmarquee",tooltip:this._lc("Insert scrolling marquee"),image:_1.imgURL("ed_marquee.gif","InsertMarquee"),textMode:false,action:function(_4){
+_3.buttonPress(_4);
+}});
+_2.addToolbarElement("insertmarquee","inserthorizontalrule",-1);
+}
+InsertMarquee._pluginInfo={name:"InsertMarquee",version:"1.0",developer:"Udo Schmal",developer_url:"http://www.schaffrath-NeueMedien.de/",c_owner:"Udo Schmal & Schaffrath NeueMedien",license:"htmlArea"};
+InsertMarquee.prototype._lc=function(_5){
+return HTMLArea._lc(_5,"InsertMarquee");
+};
+InsertMarquee.prototype.buttonPress=function(_6,_7){
+function setAttr(el,_9,_a){
+if(_a!=""){
+el.setAttribute(_9,_a);
+}else{
+el.removeAttribute(_9);
+}
+}
+var _b=new Object();
+if(typeof _7=="undefined"){
+_7=_6.getParentElement();
+}
+if(_7.tagName.toLowerCase()=="marquee"){
+_b.f_name=_7.name;
+_b.f_behavior=_7.behavior;
+_b.f_direction=_7.direction;
+_b.f_text=_7.innerHTML;
+_b.f_width=_7.width;
+_b.f_height=_7.height;
+_b.f_bgcolor=_7.bgColor;
+_b.f_scrollamount=_7.scrollAmount;
+_b.f_scrolldelay=_7.scrollDelay;
+}else{
+_b={f_name:"",f_behavior:"",f_direction:"",f_text:"",f_width:"",f_height:"",f_bgcolor:"",f_scrollamount:"",f_scrolldelay:""};
+}
+_6._popupDialog("plugin://InsertMarquee/insert_marquee",function(_c){
+if(!_c){
+return false;
+}else{
+if(_7.tagName.toLowerCase()=="marquee"){
+setAttr(_7,"name",_c["f_name"]);
+setAttr(_7,"id",_c["f_name"]);
+setAttr(_7,"behavior",_c["f_behavior"]);
+setAttr(_7,"direction",_c["f_direction"]);
+setAttr(_7,"width",_c["f_width"]);
+setAttr(_7,"height",_c["f_height"]);
+setAttr(_7,"bgColor",_c["f_bgcolor"]);
+setAttr(_7,"scrollAmount",_c["f_scrollamount"]);
+setAttr(_7,"scrollDelay",_c["f_scrolldelay"]);
+_7.innerHTML=_c["f_text"];
+}else{
+var _d="<marquee name=\""+_c["f_name"]+"\" "+"id=\""+_c["f_name"]+"\" "+"behavior=\""+_c["f_behavior"]+"\" "+"direction=\""+_c["f_direction"]+"\" "+"width=\""+_c["f_width"]+"\" "+"height=\""+_c["f_height"]+"\" "+"bgcolor=\""+_c["f_bgcolor"]+"\" "+"scrollamount=\""+_c["f_scrollamount"]+"\" "+"scrolldelay=\""+_c["f_scrolldelay"]+"\">\n";
+alert(_d);
+_d=_d+_c["f_text"];
+_d=_d+"</marquee>";
+_6.insertHTML(_d);
+}
+}
+},_b);
+};
+

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/de.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/de.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/de.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/de.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,15 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8 | ISO-8859-1
+// Author: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
+{
+  "Insert scrolling marquee": "Marquee einfügen",
+  "Insert marquee": "Marquee einfügen",
+  "Direction:": "Ausrichtung:",
+  "Behavior:": "Bewegung:",
+  "Text:": "Text:",
+  "Background-Color:": "Hintergrundfarbe:",
+  "Width:": "Breite:",
+  "Height:": "Höhe:",
+  "Speed Control": "Geschwindigkeitseinstellungen",
+  "Cancel": "Abbrechen"
+};

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/fr.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/fr.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/fr.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/fr.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,17 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Name/ID:": "Nom/ID",
+  "Insert scrolling marquee": "Insérer marquee défilant",
+  "Insert marquee": "Insérer marquee",
+  "Direction:": "Direction",
+  "Behavior:": "Comportement",
+  "Text:": "Texte",
+  "Background-Color:": "Couleur de fond",
+  "Width:": "Largeur",
+  "Height:": "Hauteur",
+  "Speed Control": "Controle de vitesse",
+  "Scroll Amount:": "Quantité de défilement",
+  "Scroll Delay:": "Délai du défilement",
+  "Cancel": "Annuler"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/it.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/it.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/it.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/it.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,7 @@
+// I18N constants
+// LANG: "it", ENCODING: UTF-8 | ISO-8859-1
+// Author: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
+{
+	"Insert scrolling marquee": "Inserisca marquee",
+	"Cancel": "Annullamento"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/ja.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,22 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Marquee Editor": "マーキーエディタ",
+  "Name/ID:": "名前/ID",
+  "Insert scrolling marquee": "スクロールマーキーの挿入",
+  "Insert marquee": "マーキーの挿入",
+  "Direction:": "方向:",
+  "Behavior:": "動作:",
+  "Text:": "テキスト:",
+  "Background-Color:": "背景色:",
+  "Width:": "幅:",
+  "Height:": "高さ:",
+  "Speed Control": "速度調整",
+  "Scroll Amount:": "スクロール量:",
+  "Scroll Delay:": "スクロール遅延:",
+  "Cancel": "中止",
+  "Continuous": "左右連続",
+  "Slide": "スライド",
+  "Alternate": "折り返し",
+  "You must enter the form name": "名前の入力が必要です"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/nb.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/nb.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/nb.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/lang/nb.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,18 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{ 
+  "Name/ID:": "Navn/ID:",
+  "Insert scrolling marquee": "Sett inn rulletekst",
+  "Insert marquee": "Sett inn rulletekst",	
+  "Direction:": "Rettning:",
+  "Behavior:": "Oppførsel:",
+  "Text:": "Tekst:",
+  "Background-Color:": "Bakgrunnsfarge:",
+  "Width:": "Bredde:",
+  "Height:": "Høyde:",
+  "Speed Control": "Egenskaper for hastigheten til rulleteksten",
+  "Scroll Amount:": "Hastighet:",
+  "Scroll Delay:": "Forsinkelse:",
+  "Cancel": "Avbryt"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/popups/insert_marquee.html
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/popups/insert_marquee.html?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/popups/insert_marquee.html (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertMarquee/popups/insert_marquee.html Fri Sep 21 03:36:30 2007
@@ -0,0 +1,99 @@
+<html>
+<head>
+  <title>Marquee Editor</title>
+  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
+  <script type="text/javascript" src="../../../popups/popup.js"></script>
+
+<script type="text/javascript">
+
+var fields = ["f_name", "f_text", "f_direction", "f_behavior", "f_bgcolor", "f_width", "f_height", "f_scrollamount", "f_scrolldelay"];
+
+function Init() {
+  window.resizeTo(350, 380);
+  __dlg_translate('InsertMarquee');
+	__dlg_init();
+  var param = window.dialogArguments;
+  for (var i in fields) {
+    document.getElementById(fields[i]).value = param[fields[i]];
+  }
+ 	document.getElementById("f_name").focus();
+}
+
+function onOK() {
+  var required = {
+    "f_name": "You must enter the form name"
+  };
+  for (var i in required) {
+	  var el = document.getElementById(i);
+	  if (!el.value) {
+		alert(HTMLArea._lc(required[i], 'InsertMarquee'));
+		el.focus();
+		return false;
+	  }
+  }
+  // pass data back to the calling window
+  var param = new Object();
+  for (var i in fields) {
+    param[fields[i]] = document.getElementById(fields[i]).value;
+  }
+  __dlg_close(param);
+  return false;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+
+</script>
+<style rel="stylesheet" type="text/css">
+.fr { width: 9em; float: left; padding: 2px 5px; text-align: right; }
+</style>
+</head>
+<body class="dialog" onload="Init()">
+<div class="title">Marquee Editor</div>
+<form>
+  <div class="fr">Name/ID:</div>
+  <input type="text" name="name" id="f_name" size="20" title="Name" value="" />
+  <p />
+  <div class="fr">Direction:</div>
+  <select id="f_direction" name="direction">
+	  <option value="">Left</option>
+	  <option value="right">Right</option>
+  </select>
+  <p />
+  <div class="fr">Behavior:</div>
+  <select id="f_behavior" name="behavior">
+   	<option value="">Continuous</option>
+   	<option value="slide">Slide</option>
+   	<option value="alternate">Alternate</option>
+  </select>
+  <p />
+  <div class="fr">Text:</div>
+  <input type="text" id="f_text" name="text" value="" size="30" />
+  <p />
+  <div class="fr">Background-Color:</div>
+  <input type="text" id="f_bgcolor" name="bgcolor" value="" size="30" />
+  <p />
+  <div class="fr">Width:</div>
+  <input type="text" id="f_width" name="width" value="100" size="5" maxlength="4" />
+  <p />
+  <div class="fr">Height:</div>
+  <input type="text" id="f_height" name="height" value="100" size="5" maxlength="4" />
+  <p />
+  <fieldset>
+  <legend>Speed Control</legend>
+    <div class="fr">Scroll Amount:</div>
+    <input type="text" id="f_scrollamount" name="scrollamount" value="100" maxlength="4" />
+    <p />
+    <div class="fr">Scroll Delay:</div>
+    <input type="text" id="f_scrolldelay" name="scrolldelay" value="100" maxlength="4" />
+    <p />
+  </fieldset>  
+<div id="buttons">
+   <button type="submit" name="ok" onclick="return onOK();">OK</button>
+   <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
+</div>
+</form>
+</body>
+</html>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/img/pagebreak.gif
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/img/pagebreak.gif?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/img/pagebreak.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/insert-pagebreak.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/insert-pagebreak.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/insert-pagebreak.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/insert-pagebreak.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,43 @@
+// InsertPagebreak plugin for HTMLArea
+// Implementation by Udo Schmal & Schaffrath NeueMedien
+// Original Author - Udo Schmal
+//
+// (c) Udo Schmal & Schaffrath NeueMedien 2004
+// Distributed under the same terms as HTMLArea itself.
+// This notice MUST stay intact for use (see license.txt).
+
+function InsertPagebreak(editor, args) {
+	this.editor = editor;
+	var cfg = editor.config;
+	var self = this;
+
+	cfg.registerButton({
+	id       : "pagebreak",
+	tooltip  : this._lc("Page break"),
+	image    : editor.imgURL("pagebreak.gif", "InsertPagebreak"),
+	textMode : false,
+	action   : function(editor) {
+			self.buttonPress(editor);
+		}
+	});
+  cfg.addToolbarElement("pagebreak", "inserthorizontalrule", 1);
+}
+
+InsertPagebreak._pluginInfo = {
+	name          : "InsertPagebreak",
+	version       : "1.0",
+	developer     : "Udo Schmal",
+	developer_url : "",
+	sponsor       : "L.N.Schaffrath NeueMedien",
+	sponsor_url   : "http://www.schaffrath-neuemedien.de/",
+	c_owner       : "Udo Schmal & Schaffrath NeueMedien",
+	license       : "htmlArea"
+};
+
+InsertPagebreak.prototype._lc = function(string) {
+    return HTMLArea._lc(string, 'InsertPagebreak');
+};
+
+InsertPagebreak.prototype.buttonPress = function(editor, context, updatecontextclass) {
+	editor.insertHTML('<div style="font-size: 1px; page-break-after: always; height: 1px; background-color: rgb(192, 192, 192);" contenteditable="false" title="Page Break">');
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/de.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/de.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/de.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/de.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,6 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8 | ISO-8859-1
+// Author: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
+{
+  "Page break": "Neue Seite"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/fr.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/fr.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/fr.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/fr.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,5 @@
+// I18N constants
+// LANG: "fr", ENCODING: UTF-8
+{
+  "Page break": "Séparateur de page"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/ja.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/ja.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/ja.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/ja.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,5 @@
+// I18N constants
+// LANG: "ja", ENCODING: UTF-8
+{
+  "Page break": "改ページ"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/nb.js
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/nb.js?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/nb.js (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPagebreak/lang/nb.js Fri Sep 21 03:36:30 2007
@@ -0,0 +1,6 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
+{
+  "Page break": "Sett inn sideskift"
+};
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/InsertPicture.php
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/InsertPicture.php?rev=578051&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/InsertPicture.php (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/InsertPicture.php Fri Sep 21 03:36:30 2007
@@ -0,0 +1,301 @@
+<?PHP
+  //this plugin only use the relativ webpath to the picturefolder
+  //default ~  /Xinha/plugins/InsertPicture/demo_pictures/
+  strstr( PHP_OS, "WIN") ? $strPathSeparator = "\\" : $strPathSeparator = "/";
+  if (isset($_REQUEST['picturepath'])) {
+    $PicturePath = $_REQUEST['picturepath'];
+
+    $AInsertPicturePath = explode ('/', dirname($_SERVER['PHP_SELF']));
+    $ALocalInsertPicturePath = explode($strPathSeparator, dirname(__FILE__));
+    $AtheRootPath = array_values (array_diff ($ALocalInsertPicturePath, $AInsertPicturePath));
+    $RootPath = implode($strPathSeparator, $AtheRootPath);
+
+    $LocalPicturePath = str_replace('http://'.$_SERVER['HTTP_HOST'], "", $PicturePath);
+    $LocalPicturePath = str_replace('/', $strPathSeparator, $LocalPicturePath);
+    $LocalPicturePath = $RootPath.$LocalPicturePath;
+
+    $LocalPicturePath = dirname(__FILE__).$strPathSeparator.'demo_pictures'.$strPathSeparator;
+    //$LocalPicturePath = realpath('../../../../images/content/').$strPathSeparator;
+  }
+  $limitedext = array(".gif",".jpg",".png",".jpeg"); //Extensions you want files uploaded limited to.
+  $limitedsize = "1000000"; //size limit in bytes
+  $message = "";
+
+  function formatSize($size)
+  {
+    if($size < 1024)
+      return $size.' bytes';
+    else if($size >= 1024 && $size < 1024*1024)
+      return sprintf('%01.2f',$size/1024.0).' Kb';
+    else
+      return sprintf('%01.2f',$size/(1024.0*1024)).' Mb';
+  }
+  $DestFileName = "";
+  if (isset($_FILES['file'])) {
+    $file = $_FILES['file'];
+    $ext = strrchr($file['name'],'.');
+    if (!in_array($ext,$limitedext))
+      $message = "The file you are uploading doesn't have the correct extension.";
+    else if (file_exists($LocalPicturePath.$file['name']))
+      $message = "The file you are uploading already exists.";
+    else if ($file['size'] > $limitedsize)
+      $message = "The file you are uploading is to big. The max Filesize is</span><span> ".formatSize($limitedsize).".";
+    else
+      copy($file['tmp_name'], $LocalPicturePath.$file['name']);
+    $DestFileName = $file['name'];
+  }
+?>
+<html>
+<head>
+  <title>Insert Image</title>
+<link rel="stylesheet" type="text/css" href="../../popups/popup.css" />
+<script type="text/javascript" src="../../popups/popup.js"></script>
+
+<script type="text/javascript">
+  window.resizeTo(500, 490);
+var Xinha = window.opener.Xinha;
+function i18n(str) {
+  return (Xinha._lc(str, 'Xinha'));
+}
+
+function Init() {
+  __dlg_translate("InsertPicture");
+  __dlg_init();
+
+  // Make sure the translated string appears in the drop down. (for gecko)
+  document.getElementById("f_align").selectedIndex = 0;
+  document.getElementById("f_align").selectedIndex = document.getElementById("f_align").selectedIndex;
+  var param = window.dialogArguments;
+  if (param) {
+      document.getElementById("f_url").value = param["f_url"];
+      document.getElementById("f_alt").value = param["f_alt"];
+      document.getElementById("f_border").value = param["f_border"];
+      document.getElementById("f_align").value = param["f_align"];
+      document.getElementById("f_vert").value = (param["f_vert"]!="-1") ? param["f_vert"] : "";
+      document.getElementById("f_horiz").value = (param["f_horiz"]!="-1") ? param["f_horiz"] : "";
+      document.getElementById("f_height").value = param["f_height"];
+      document.getElementById("f_width").value = param["f_width"];
+      window.ipreview.location.replace(param.f_url);
+  }
+  document.getElementById("f_url").focus();
+  document.getElementById("filelist").selectedIndex = document.getElementById("filelist").selectedIndex;
+<?php If ($DestFileName<>"")
+  echo "CopyToURL(\"".$PicturePath.$DestFileName."\");"
+?>
+}
+
+function onOK() {
+  var required = {
+    "f_url": i18n("You must enter the URL")
+  };
+  for (var i in required) {
+    var el = document.getElementById(i);
+    if (!el.value) {
+      alert(required[i]);
+      el.focus();
+      return false;
+    }
+  }
+  // pass data back to the calling window
+  var fields = ["f_url", "f_alt", "f_align", "f_border", "f_horiz", "f_vert", "f_width", "f_height"];
+  var param = new Object();
+  for (var i in fields) {
+    var id = fields[i];
+    var el = document.getElementById(id);
+    param[id] = el.value;
+  }
+  __dlg_close(param);
+  return false;
+}
+
+function onUpload() {
+  var required = {
+    "file": i18n("Please select a file to upload.")
+  };
+  for (var i in required) {
+    var el = document.getElementById(i);
+    if (!el.value) {
+      alert(required[i]);
+      el.focus();
+      return false;
+    }
+  }
+  return true;
+}
+
+function onCancel() {
+  __dlg_close(null);
+  return false;
+}
+
+function onPreview() {
+  var f_url = document.getElementById("f_url");
+  var url = f_url.value;
+  if (!url) {
+    alert(i18n("You must enter the URL"));
+    f_url.focus();
+    return false;
+  }
+  if (document.all) {
+    window.ipreview.location.replace('viewpicture.html?'+url);
+  } else {
+    window.ipreview.location.replace(url);
+  }
+  return false;
+}
+
+var img = new Image();
+function imgWait() {
+  waiting = window.setInterval("imgIsLoaded()", 1000)
+}
+function imgIsLoaded() {
+  if(img.width > 0) {
+    window.clearInterval(waiting)
+    document.getElementById("f_width").value = img.width;
+    document.getElementById("f_height").value = img.height;
+  }
+}
+
+function CopyToURL(imgName) {
+  document.getElementById("f_url").value = imgName;
+  onPreview();
+  img.src = imgName;
+  img.onLoad = imgWait()
+}
+
+function openFile() {
+  window.open(document.getElementById("f_url").value,'','');
+}
+</script>
+</head>
+<body class="dialog" onload="Init()">
+<div class="title">Insert Image</div>
+<table border="0" width="100%" style="padding: 0px; margin: 0px">
+  <tbody>
+  <tr>
+    <td>Images on the Server:<?php /*echo $LocalPicturePath*/ ?><br>
+    <select id="filelist" name="filelist" style="width:200" size="10" onClick="CopyToURL(this[this.selectedIndex].value);">
+<?php
+  $d = @dir($LocalPicturePath);
+  while (false !== ($entry = $d->read())) {
+    if(substr($entry,0,1) != '.') {  //not a dot file or directory
+      if ($entry == $DestFileName)
+        echo '<OPTION value="' . $PicturePath.$entry. '" selected="selected">' . $entry . '(' . formatSize(filesize($LocalPicturePath.'\\'.$entry)) .')</OPTION>';
+      else
+        echo '<OPTION value="' . $PicturePath.$entry. '">' . $entry . '(' . formatSize(filesize($LocalPicturePath.'\\'.$entry)) .')</OPTION>';
+    }
+  }
+  $d->close();
+?>
+    </select>
+
+      <form method="post" action="" enctype="multipart/form-data">
+        <input type="hidden" name="localpicturepath" value="<?php echo $LocalPicturePath ?>">
+        <input type="hidden" name="picturepath" value="<?php echo $PicturePath ?>">
+        <input type="file" name="file" id="file" size="30"><br>
+        <button type="submit" name="ok" onclick="onUpload();">Upload file</button><br>
+        <span><?php echo $message ?></span>
+      </form>
+
+    </td>
+    <td valign="center" width="200" height="230">
+    <span>Image Preview:</span>
+    <a href="#" onClick="javascript:openFile();"title=" Open file in new window"><img src="img/btn_open.gif"  width="18" height="18" border="0" title="Open file in new window" /></a><br />
+    <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="200" src=""></iframe>
+    </td>
+  </tr>
+  </tbody>
+</table>
+
+<form action="" method="get">
+  <input type="hidden" name="localpicturepath" value="<?php echo $LocalPicturePath ?>">
+  <input type="hidden" name="picturepath" value="<?php echo $PicturePath ?>">
+<table border="0" width="100%" style="padding: 0px; margin: 0px">
+  <tbody>
+
+  <tr>
+    <td style="width: 7em; text-align: right">Image URL:</td>
+    <td><input type="text" name="url" id="f_url" style="width:75%"
+      title="Enter the image URL here"  value="<?php echo $PicturePath.$DestFileName ?>"/>
+      <button name="preview" onclick="return onPreview();"
+      title="Preview the image in a new window">Preview</button>
+    </td>
+  </tr>
+  <tr>
+    <td style="width: 7em; text-align: right">Alternate text:</td>
+    <td><input type="text" name="alt" id="f_alt" style="width:100%"
+      title="For browsers that don't support images" /></td>
+  </tr>
+
+  </tbody>
+</table>
+
+<p />
+
+<fieldset style="float: left; margin-left: 5px;">
+<legend>Layout</legend>
+
+<div class="space"></div>
+
+<div class="fl" style="width: 6em;">Alignment:</div>
+<select size="1" name="align" id="f_align"
+  title="Positioning of this image">
+  <option value=""                             >Not set</option>
+  <option value="left"                         >Left</option>
+  <option value="right"                        >Right</option>
+  <option value="texttop"                      >Texttop</option>
+  <option value="absmiddle"                    >Absmiddle</option>
+  <option value="baseline"                     >Baseline</option>
+  <option value="absbottom"                    >Absbottom</option>
+  <option value="bottom"                       >Bottom</option>
+  <option value="middle"                       >Middle</option>
+  <option value="top"                          >Top</option>
+</select>
+
+<p />
+
+<div class="fl" style="width: 6em;">Border thickness:</div>
+<input type="text" name="border" id="f_border" size="5" title="Leave empty for no border" />
+<div class="space"></div>
+
+</fieldset>
+
+<fieldset style="float: left; margin-left: 5px;">
+<legend>Size</legend>
+
+<div class="space"></div>
+
+<div class="fl" style="width: 5em;">Width:</div>
+<input type="text" name="width" id="f_width" size="5" title="Leave empty for not defined" />
+<p />
+
+<div class="fl" style="width: 5em;">Height:</div>
+<input type="text" name="height" id="f_height" size="5" title="Leave empty for not defined" />
+<div class="space"></div>
+
+</fieldset>
+
+<fieldset style="float:right; margin-right: 5px;">
+<legend>Spacing</legend>
+
+<div class="space"></div>
+
+<div class="fr" style="width: 5em;">Horizontal:</div>
+<input type="text" name="horiz" id="f_horiz" size="5" title="Horizontal padding" />
+<p />
+
+<div class="fr" style="width: 5em;">Vertical:</div>
+<input type="text" name="vert" id="f_vert" size="5" title="Vertical padding" />
+
+<div class="space"></div>
+
+</fieldset>
+<br clear="all" />
+
+<div id="buttons">
+  <button type="submit" name="ok" onclick="return onOK();">OK</button>
+  <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
+</div>
+</form>
+</body>
+</html>
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/demo_pictures/bikerpeep.jpg
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/demo_pictures/bikerpeep.jpg?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/demo_pictures/bikerpeep.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/demo_pictures/wesnoth078.jpg
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/demo_pictures/wesnoth078.jpg?rev=578051&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/modules/xinha/plugins/InsertPicture/demo_pictures/wesnoth078.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org