Permalink
Browse files

Version 3.5.21

[Line Wrap on/off] button: added underline on current state (on or off).
Removed some css & js from when [Word Wrap *on *off] used radio buttons.
Rearranged Edit_Page_scripts a bit in a hopefully more logical way.
Set height of both line_numbers & file_editor with css.
Removed setSelRange() in lieu of selectionStart/End in Reset_File().
Moved Toggle_Line_Wrap() out of Line_Numbering(), & into "global" scope of Edit_Page_Scripts().
Added some basic validation to $TAB_SIZE & its js conterpart TAB_SIZE.
Updated OneFileCMS_structure.txt
  • Loading branch information...
1 parent e32d149 commit d266dbf519b6709f326f135aafe1662570984054 @Self-Evident committed Jun 26, 2016
View
19 info/OneFileCMS_structure.txt 100755 → 100644
@@ -1,4 +1,4 @@
-OneFileCMS Version 3.5.17 structure/layout
+OneFileCMS Version 3.5.21 structure/layout
LICENSE
@@ -113,14 +113,21 @@ JAVASCRIPT FUNCTIONS:
Select_All()
Confirm_Submit()
Edit_Page_scripts()
- (various onclicks)
- window.onbeforeunload
- window.onunload
+ Set_File_Textarea_Width()
+ Correct_Word_Wrapping()
Wide_View()
+ Toggle_Line_Wrap()
Reset_file_status_indicators()
- setSelRange()
Check_for_changes()
Reset_File()
+ Line_Numbering()
+ Display_Width_Chars()
+ Line_Count()
+ Effective_Line_Length()
+ Create_Line_Numbers()
+ Set_Line_Numbers()
+ Global variables
+ Event assignments
pwun_event_scripts()
events_down()
events_up()
@@ -147,4 +154,4 @@ LOGIC TO DETERMINE PAGE ACTION
Verify_page_conditions()
Update_Recent_Pages();
-GENERATE/OUTPUT <HTML>...
+OUTPUT <HTML>...
@@ -1,5 +1,17 @@
# OneFileCMS Change Log
+### v3.5.21 (2016-06-26)
+
+- Some code cleanup & a little local js re-org.
+- Some minor static & active css improvements.
+- Added some basic validation to a config value.
+
+### v3.5.20 (2016-06-21)
+
+- Fixed sporadic directory-won't-display issue.
+- Fixed wrapping & line-numbering issue when toggling between wrap on & wrap off.
+- Added line-numbers to read-only files also.
+
### v3.5.19 (2016-06-16)
- Added line numbers to left of edit window. A current side effect is wrapping is now break-word, instead of word-break. That is, lines may wrap in the midddle of words, not just on white-space.
@@ -1,5 +1,5 @@
<?php
-// OneFileCMS Language Settings v3.5.20
+// OneFileCMS Language Settings v3.5.21
$_['LANGUAGE'] = 'Deutsch';
$_['LANG'] = 'DE';
@@ -11,7 +11,7 @@
// Remember to slash-escape any single quotes that may be within the text: \'
// The back-slash itself may or may not also need to be escaped: \\
//
-// If present as a trailing comment, "## NT ##" means 'Need Translation'.
+// If present as a trailing comment, "## NT ##" means 'Needs Translation'.
//
// These first few settings control a few font and layout settings.
// In some instances, some langauges may use significantly longer words or phrases than others.
@@ -21,14 +21,14 @@
$_['MCD_margin_R'] = '1.0em'; //[Move] [Copy] [Delete] buttons
$_['button_font_size'] = '0.8em'; //Buttons on Edit page.
$_['button_margin_L'] = '0.7em';
-$_['button_padding'] = '4px 4px'; //T R B L
+$_['button_padding'] = '4px 4px'; //T R B L ,or, V H if only two values.
$_['image_info_font_size'] = '.95em'; //show_img_msg_01 & _02
$_['image_info_pos'] = '1'; //If 1 or true, moves the info down a line for more space.
$_['select_all_label_size'] = '.84em'; //Font size of $_['Select_All']
$_['select_all_label_width'] = '76px'; //Width of space for $_['Select_All']
$_['HTML'] = 'HTML';
-$_['WYSIWYG'] = 'WYSIWYG';
+$_['WYSIWYG'] = 'WYSIWYG'; //## NT ##
$_['Admin'] = 'Konfiguration';
$_['bytes'] = 'Bytes';
@@ -55,7 +55,7 @@
$_['Hash'] = 'Streuwert';
$_['Move'] = 'Verschieben';
$_['Moved'] = 'Verschoben';
-$_['Name'] = 'Name';
+$_['Name'] = 'Name'; //## NT ##
$_['on'] = 'läuft unter';
$_['off'] = 'aus';
$_['Password'] = 'Passwort';
@@ -71,37 +71,37 @@
$_['Username'] = 'Benutzername';
$_['View'] = 'Aussicht';
-$_['Working'] = 'Working - please wait...'; //## NT ##
-$_['Log_In'] = 'Anmelden';
-$_['Log_Out'] = 'Abmelden';
-$_['Admin_Options'] = 'Konfiguration Optionen';
-$_['Are_you_sure'] = 'Sind Sie sicher?';
-$_['View_Raw'] = 'View Raw'; //## NT ##
-$_['Open_View'] = 'Ansicht im Browser-Fenster';
-$_['Edit_View'] = 'Datei Bearbeiten / Ansicht';
-$_['Wide_View'] = 'Breitenadaptierte Ansicht';
-$_['Normal_View'] = 'Normale Ansicht';
-$_['Word_Wrap'] = 'Word Wrap'; //## NT ##
-$_['Line_Wrap'] = 'Line Wrap'; //## NT ##
-$_['Upload_File'] = 'Datei heraufladen';
-$_['New_File'] = 'Neuer Datei';
-$_['Ren_Move'] = 'Umbenennen / Verschieben';
-$_['Ren_Moved'] = 'Umbenannt / Verschoben';
-$_['folders_first'] = 'folders first'; //## NT ##
+$_['Working'] = 'Working - please wait...'; //## NT ##
+$_['Log_In'] = 'Anmelden';
+$_['Log_Out'] = 'Abmelden';
+$_['Admin_Options'] = 'Konfiguration Optionen';
+$_['Are_you_sure'] = 'Sind Sie sicher?';
+$_['View_Raw'] = 'View Raw'; //## NT ##
+$_['Open_View'] = 'Ansicht im Browser-Fenster';
+$_['Edit_View'] = 'Datei Bearbeiten / Ansicht';
+$_['Wide_View'] = 'Breitenadaptierte Ansicht';
+$_['Normal_View'] = 'Normale Ansicht';
+$_['Word_Wrap'] = 'Word Wrap'; //## NT ##
+$_['Line_Wrap'] = 'Line Wrap'; //## NT ##
+$_['Upload_File'] = 'Datei heraufladen';
+$_['New_File'] = 'Neuer Datei';
+$_['Ren_Move'] = 'Umbenennen / Verschieben';
+$_['Ren_Moved'] = 'Umbenannt / Verschoben';
+$_['folders_first'] = 'folders first'; //## NT ##
$_['folders_first_info'] = 'Sort folders first, but don\'t change primary sort.'; //## NT ##
-$_['New_Folder'] = 'Neuer Ordner';
-$_['Ren_Folder'] = 'Ordner umbenennen/verschieben';
-$_['Submit'] = 'Anfrage senden';
-$_['Move_Files'] = 'Datei Verschieben';
-$_['Copy_Files'] = 'Datei Kopieren';
-$_['Del_Files'] = 'Datei Löschen';
-$_['Selected_Files'] = 'Ausgewählte Dateien';
-$_['Select_All'] = 'Alles auswählen';
-$_['Clear_All'] = 'Deaktivieren Sie alle';
-$_['New_Location'] = 'Neuer Ordner';
-$_['No_files'] = 'Keine Dateien ausgewählt.';
-$_['Not_found'] = 'Nicht gefunden';
-$_['Invalid_path'] = 'Invalid path'; //## NT ##
+$_['New_Folder'] = 'Neuer Ordner';
+$_['Ren_Folder'] = 'Ordner umbenennen/verschieben';
+$_['Submit'] = 'Anfrage senden';
+$_['Move_Files'] = 'Datei Verschieben';
+$_['Copy_Files'] = 'Datei Kopieren';
+$_['Del_Files'] = 'Datei Löschen';
+$_['Selected_Files'] = 'Ausgewählte Dateien';
+$_['Select_All'] = 'Alles auswählen';
+$_['Clear_All'] = 'Deaktivieren Sie alle';
+$_['New_Location'] = 'Neuer Ordner';
+$_['No_files'] = 'Keine Dateien ausgewählt.';
+$_['Not_found'] = 'Nicht gefunden';
+$_['Invalid_path'] = 'Invalid path'; //## NT ##
$_['verify_msg_01'] = 'Sitzung abgelaufen.';
$_['verify_msg_02'] = 'UNGÜLTIGE DATENSENDUNG';
@@ -1,5 +1,5 @@
<?php
-// OneFileCMS Language Settings v3.5.20
+// OneFileCMS Language Settings v3.5.21
$_['LANGUAGE'] = 'English';
$_['LANG'] = 'EN';
@@ -11,7 +11,7 @@
// Remember to slash-escape any single quotes that may be within the text: \'
// The back-slash itself may or may not also need to be escaped: \\
//
-// If present as a trailing comment, "## NT ##" means 'Need Translation'.
+// If present as a trailing comment, "## NT ##" means 'Needs Translation'.
//
// These first few settings control a few font and layout settings.
// In some instances, some langauges may use significantly longer words or phrases than others.
@@ -21,7 +21,7 @@
$_['MCD_margin_R'] = '1.0em'; //[Move] [Copy] [Delete] buttons
$_['button_font_size'] = '0.9em'; //Buttons on Edit page.
$_['button_margin_L'] = '0.7em';
-$_['button_padding'] = '4px 4px 4px 4px'; //T R B L
+$_['button_padding'] = '4px 4px 4px 4px'; //T R B L ,or, V H if only two values.
$_['image_info_font_size'] = '1em'; //show_img_msg_01 & _02
$_['image_info_pos'] = ''; //If 1 or true, moves the info down a line for more space.
$_['select_all_label_size'] = '.84em'; //Font size of $_['Select_All']
@@ -71,37 +71,37 @@
$_['Username'] = 'Username';
$_['View'] = 'View';
-$_['Working'] = 'Working - please wait...';
-$_['Log_In'] = 'Log In';
-$_['Log_Out'] = 'Log Out';
-$_['Admin_Options'] = 'Administration Options';
-$_['Are_you_sure'] = 'Are you sure?';
-$_['View_Raw'] = 'View Raw'; //## NT ### as of 3.5.07
-$_['Open_View'] = 'Open/View in browser window';
-$_['Edit_View'] = 'Edit / View';
-$_['Wide_View'] = 'Wide View';
-$_['Normal_View'] = 'Normal View';
-$_['Word_Wrap'] = 'Word Wrap'; //## NT ## as of 3.5.19
-$_['Line_Wrap'] = 'Line Wrap'; //## NT ## as of 3.5.20
-$_['Upload_File'] = 'Upload File';
-$_['New_File'] = 'New File';
-$_['Ren_Move'] = 'Rename / Move';
-$_['Ren_Moved'] = 'Renamed / Moved';
-$_['folders_first'] = 'folders first'; //## NT ##
+$_['Working'] = 'Working - please wait...';
+$_['Log_In'] = 'Log In';
+$_['Log_Out'] = 'Log Out';
+$_['Admin_Options'] = 'Administration Options';
+$_['Are_you_sure'] = 'Are you sure?';
+$_['View_Raw'] = 'View Raw'; //## NT ### as of 3.5.07
+$_['Open_View'] = 'Open/View in browser window';
+$_['Edit_View'] = 'Edit / View';
+$_['Wide_View'] = 'Wide View';
+$_['Normal_View'] = 'Normal View';
+$_['Word_Wrap'] = 'Word Wrap'; //## NT ## as of 3.5.19
+$_['Line_Wrap'] = 'Line Wrap'; //## NT ## as of 3.5.20
+$_['Upload_File'] = 'Upload File';
+$_['New_File'] = 'New File';
+$_['Ren_Move'] = 'Rename / Move';
+$_['Ren_Moved'] = 'Renamed / Moved';
+$_['folders_first'] = 'folders first'; //## NT ##
$_['folders_first_info'] = 'Sort folders first, but don\'t change primary sort.'; //## NT ##
-$_['New_Folder'] = 'New Folder';
-$_['Ren_Folder'] = 'Rename / Move Folder';
-$_['Submit'] = 'Submit Request';
-$_['Move_Files'] = 'Move File(s)';
-$_['Copy_Files'] = 'Copy File(s)';
-$_['Del_Files'] = 'Delete File(s)';
-$_['Selected_Files'] = 'Selected Folders and Files';
-$_['Select_All'] = 'Select All';
-$_['Clear_All'] = 'Clear All';
-$_['New_Location'] = 'New Location';
-$_['No_files'] = 'No files selected.';
-$_['Not_found'] = 'Not found';
-$_['Invalid_path'] = 'Invalid path';
+$_['New_Folder'] = 'New Folder';
+$_['Ren_Folder'] = 'Rename / Move Folder';
+$_['Submit'] = 'Submit Request';
+$_['Move_Files'] = 'Move File(s)';
+$_['Copy_Files'] = 'Copy File(s)';
+$_['Del_Files'] = 'Delete File(s)';
+$_['Selected_Files'] = 'Selected Folders and Files';
+$_['Select_All'] = 'Select All';
+$_['Clear_All'] = 'Clear All';
+$_['New_Location'] = 'New Location';
+$_['No_files'] = 'No files selected.';
+$_['Not_found'] = 'Not found';
+$_['Invalid_path'] = 'Invalid path';
$_['verify_msg_01'] = 'Session expired.';
$_['verify_msg_02'] = 'INVALID POST';
@@ -1,5 +1,5 @@
<?php
-// OneFileCMS Language Settings v3.5.20
+// OneFileCMS Language Settings v3.5.21
$_['LANGUAGE'] = 'Espanõla';
$_['LANG'] = 'ES';
@@ -11,7 +11,7 @@
// Remember to slash-escape any single quotes that may be within the text: \'
// The back-slash itself may or may not also need to be escaped: \\
//
-// If present as a trailing comment, "## NT ##" means 'Need Translation'.
+// If present as a trailing comment, "## NT ##" means 'Needs Translation'.
//
// These first few settings control a few font and layout settings.
// In some instances, some langauges may use significantly longer words or phrases than others.
@@ -21,7 +21,7 @@
$_['MCD_margin_R'] = '1.0em'; //[Move] [Copy] [Delete] buttons
$_['button_font_size'] = '0.9em'; //Buttons on Edit page.
$_['button_margin_L'] = '0.7em';
-$_['button_padding'] = '4px 4px'; //T R B L
+$_['button_padding'] = '4px 4px'; //T R B L ,or, V H if only two values.
$_['image_info_font_size'] = '.95em'; //show_img_msg_01 & _02
$_['image_info_pos'] = ' '; //If 1 or true, moves the info down a line for more space.
$_['select_all_label_size'] = '.84em'; //Font size of $_['Select_All']
@@ -31,7 +31,7 @@
$_['WYSIWYG'] = 'WYSIWYG'; //## NT ##
$_['Admin'] = 'Administrador';
-$_['bytes'] = 'bytes';
+$_['bytes'] = 'bytes'; //## NT ##
$_['Cancel'] = 'Cancelar';
$_['cancelled'] = 'cancelado';
$_['Close'] = 'Cerrar';
@@ -44,7 +44,7 @@
$_['Deleted'] = 'Eliminado';
$_['Edit'] = 'Editar';
$_['Enter'] = 'Entrar';
-$_['Error'] = 'Error';
+$_['Error'] = 'Error'; //## NT ##
$_['errors'] = 'errores';
$_['ext'] = 'ext';
$_['File'] = 'Archivo';
@@ -71,37 +71,37 @@
$_['Username'] = 'Usuario';
$_['View'] = 'Ver';
-$_['Working'] = 'Working - please wait...'; //## NT ##
-$_['Log_In'] = 'Iniciar Sesión';
-$_['Log_Out'] = 'Cerrar Sesión';
-$_['Admin_Options'] = 'Opciones de Administración';
-$_['Are_you_sure'] = '¿Estás seguro?';
-$_['View_Raw'] = 'View Raw'; //## NT ##
-$_['Open_View'] = 'Abrir/Ver en una ventana del navegador';
-$_['Edit_View'] = 'Editar / Ver Archivo';
-$_['Wide_View'] = 'Vista Ampliada';
-$_['Normal_View'] = 'Vista Normal';
-$_['Word_Wrap'] = 'Word Wrap'; //## NT ##
-$_['Line_Wrap'] = 'Line Wrap'; //## NT ##
-$_['Upload_File'] = 'Subir Archivo';
-$_['New_File'] = 'Archivo Nuevo';
-$_['Ren_Move'] = 'Renombrar / Mover';
-$_['Ren_Moved'] = 'Renombrado / Movido';
-$_['folders_first'] = 'folders first'; //## NT ##
+$_['Working'] = 'Working - please wait...'; //## NT ##
+$_['Log_In'] = 'Iniciar Sesión';
+$_['Log_Out'] = 'Cerrar Sesión';
+$_['Admin_Options'] = 'Opciones de Administración';
+$_['Are_you_sure'] = '¿Estás seguro?';
+$_['View_Raw'] = 'View Raw'; //## NT ##
+$_['Open_View'] = 'Abrir/Ver en una ventana del navegador';
+$_['Edit_View'] = 'Editar / Ver Archivo';
+$_['Wide_View'] = 'Vista Ampliada';
+$_['Normal_View'] = 'Vista Normal';
+$_['Word_Wrap'] = 'Word Wrap'; //## NT ##
+$_['Line_Wrap'] = 'Line Wrap'; //## NT ##
+$_['Upload_File'] = 'Subir Archivo';
+$_['New_File'] = 'Archivo Nuevo';
+$_['Ren_Move'] = 'Renombrar / Mover';
+$_['Ren_Moved'] = 'Renombrado / Movido';
+$_['folders_first'] = 'folders first'; //## NT ##
$_['folders_first_info'] = 'Sort folders first, but don\'t change primary sort.'; //## NT ##
-$_['New_Folder'] = 'Carpeta Nueva';
-$_['Ren_Folder'] = 'Renombrar / Mover Carpeta';
-$_['Submit'] = 'Cargar';
-$_['Move_Files'] = 'Mover archivo(s)';
-$_['Copy_Files'] = 'Copiar archivo(s)';
-$_['Del_Files'] = 'Eliminar Archivo(s)';
-$_['Selected_Files'] = 'Seleccionar Archivos';
-$_['Select_All'] = 'Seleccionar Todos';
-$_['Clear_All'] = 'Limpiar Todos';
-$_['New_Location'] = 'Nueva Posición';
-$_['No_files'] = 'No se seleccionó ningún archivo.';
-$_['Not_found'] = 'No encontrado';
-$_['Invalid_path'] = 'Invalid path'; //## NT ##
+$_['New_Folder'] = 'Carpeta Nueva';
+$_['Ren_Folder'] = 'Renombrar / Mover Carpeta';
+$_['Submit'] = 'Cargar';
+$_['Move_Files'] = 'Mover archivo(s)';
+$_['Copy_Files'] = 'Copiar archivo(s)';
+$_['Del_Files'] = 'Eliminar Archivo(s)';
+$_['Selected_Files'] = 'Seleccionar Archivos';
+$_['Select_All'] = 'Seleccionar Todos';
+$_['Clear_All'] = 'Limpiar Todos';
+$_['New_Location'] = 'Nueva Posición';
+$_['No_files'] = 'No se seleccionó ningún archivo.';
+$_['Not_found'] = 'No encontrado';
+$_['Invalid_path'] = 'Invalid path'; //## NT ##
$_['verify_msg_01'] = 'Sesión expirada.';
$_['verify_msg_02'] = 'POST INVÁLIDO';
Oops, something went wrong.

0 comments on commit d266dbf

Please sign in to comment.