Permalink
Browse files

Version 3.5.19

Added line numbering to edit page: Line_Numbering() js functions & associated css & html.
	(This was way more work than anticipated... :)
Added Word wrap toggle to edit page. (for editable files only.)
	(This was way more work than anticipated... :)
Added $_['Word_Wrap'],  $_['on'],  $_['off']
	(This was easy.)
Added $WORD_WRAP & $TAB_SIZE config variables.
	(This was easy.)
In Display_Messages():Changed ternaries to if/thens.  Because simpler.  (also fixed a typo)
In Countdown(), made $message_box local (was no var, don't know why).
In pre_validate_pwun(), a little cleanup.
Renamed a few global var's from lowercase to all caps:
	$MESSAGE, $EXCLUDED_LIST, $ETYPES, $STYPES, $ITYPES, $FTYPES, $FCLASSES
css: box-sizing: border-box, plus subsequent changes...
  • Loading branch information...
1 parent 24617e1 commit 6532ce35291e837ba629ba4cf54b2725051b3cdb @Self-Evident committed Jun 16, 2016
@@ -1,5 +1,11 @@
# OneFileCMS Change Log
+### 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.
+- Added a word-wrap toggle option on the edit page. Only works on editable files. Files with edit disabled still just word-wrap normally as appropriate.
+- And some code cleanup etc.
+
### v3.5.18 (2016-06-09)
- And a few more improvements to arrow key handling.
@@ -21,7 +21,7 @@
$_['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 2px'; //T R B L
+$_['button_padding'] = '4px 4px'; //T&B L&R
$_['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']
@@ -1,5 +1,5 @@
<?php
-// OneFileCMS Language Settings v3.5.18
+// OneFileCMS Language Settings v3.5.19
$_['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 7px 4px 7px'; //T R B L
+$_['button_padding'] = '4px 4px 4px 4px'; //T R B L
$_['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']
@@ -57,6 +57,7 @@
$_['Moved'] = 'Moved';
$_['Name'] = 'Name';
$_['on'] = 'on';
+$_['off'] = 'off'; //## NT ## as of 3.5.19
$_['Password'] = 'Password';
$_['Rename'] = 'Rename';
$_['reset'] = 'Reset';
@@ -69,8 +70,8 @@
$_['Upload'] = 'Upload';
$_['Username'] = 'Username';
$_['View'] = 'View';
-$_['Working'] = 'Working - please wait...';
+$_['Working'] = 'Working - please wait...';
$_['Log_In'] = 'Log In';
$_['Log_Out'] = 'Log Out';
$_['Admin_Options'] = 'Administration Options';
@@ -80,6 +81,7 @@
$_['Edit_View'] = 'Edit / View';
$_['Wide_View'] = 'Wide View';
$_['Normal_View'] = 'Normal View';
+$_['Word_Wrap'] = 'Word Wrap'; //## NT ## as of 3.5.19
$_['Upload_File'] = 'Upload File';
$_['New_File'] = 'New File';
$_['Ren_Move'] = 'Rename / Move';
@@ -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 5px'; //T R B L
+$_['button_padding'] = '4px 4px'; //T&B L&R
$_['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']
@@ -21,7 +21,7 @@
$_['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 10px'; //T R B L
+$_['button_padding'] = '4px 3px'; //T&B L&R
$_['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']
Oops, something went wrong.

0 comments on commit 6532ce3

Please sign in to comment.