-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.notes.txt
More file actions
264 lines (229 loc) · 7.58 KB
/
Project.notes.txt
File metadata and controls
264 lines (229 loc) · 7.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<? $DocFileLib='Project.notes.txt'; $DocVer='1.4.1'; $DocRev='2025-07-28'; $DocIni='evs'; $ModulNo=0; ## File informative only
Notes regarding php2html.lib.php:
## ToDo:
# FIX: removeRow()
# FIX: clone: plusbtn
// HOW TO COMPRESS SOURCE CODE:
// 1. Open your file in Notepad++
// 2. Edit > BLANK Operations > TAB to SPACE
// 3. Open the Replace dialog ( CTRL + H )
// 4. Check the two options Wrap around and Regular expresion.
// 5. Remove comments - Find:
// \/\*([\s\S]*?)\*\/|#+ .*?(?=\r?$)|(\s\/\/.*?)(?=\r?$)|#+\r
// Explained:
// \/\*([\s\S]*?)\*\/ /**/ Mark multi-line comments
// |#+ .*?(?=\r?$) # or Mark #SPACE comments until EOL (Word/LF starting with One or more # followed by SPACE )
// |(\s\/\/.*?)(?=\r?$) // or Mark // comments until EOL (From lineStart or prefixed width SPACE)
// |#+\r # or Mark single # at EOL
// 6. Replace with EMPTY (Now is all comments removed)
// 7. Edit > Line Operations > Remove Empty Lines (Containing Blank Characters)
// 8. Edit > BLANK Operations > Remove preceeded and subordinate SPACES
// 9. Repeat - Find: SPACESPACESPACE Replace to:SPACESPACE until not found
// 10. Save lib-file as minimized file .min.
// 11. Test the file (Maybe add removed comments: // INIT: "; near addEventListener )
// Search for all external called files.
// Find:
// ([\/\.\-_a-z0-9]*\.css")|([\/\.\-_a-z0-9]*\.js")|([\/\.\-_a-z0-9]*\.png")|([\/\.\-_a-z0-9]*\.ico")|([\/\.\-_a-z0-9]*\.jpg")|(src=)|(rel=)
// Now lib-file is ready for removing unused functions....
// Search:'function' Put 'funcName' in array
// Search in Project-files: Mark used 'funcName' s
// Remove unused functions in lib-file
// Save lib-file as optimized file .opt.
// Regex: https://regexr.com/ https://regex101.com/
// upgrade function call to php8 notation for named variables:
// '\$([A-z]{4})=' # Search for '$xxxx='
// ' \1:' # Replace with ' xxxx:'
// downgrade:
// ([ ,(])([A-z]{4})(:['[ $ft]) # xxxx:
// '\1$\2=\3' # $xxxx=
/*
Changelog.txt:
v1.1.0:
New:
Choose to fetch libraryes from local folder /_assets or from Web: CDN-servers
Context Popup menu system (leftclick / rightclick)
Changed:
Table - fldNames: removed
Table - RowBody: new param: fldKey
Function rename:
$Title => $Hint
$Title => $Capt
StartBlock => Suffix: _0
EndBlock => Suffix: _00
Blocks: Page, Panel, Pmnu
Menu_Branch => Menu_Item
Variable rename:
$Lang_list => $arrLang
$more => $attr
File rename:
_sys_trans.json => _trans.sys.json
###########
v1.2.0:
Variable rename:
$Ø* $gbl_*
htm_*-functions variables renamed and changed order to standard groups
/*
Function variables name and order:
labl capt body foot plho icon hint (Visibly for the user)
type name valu form subm acti elem (HTML-Teknical)
clas wdth algn marg styl attr font colr fclr bclr llgn bord (presentation)
link targ akey kind rtrn (Navigate)
code ftop unit disa rows rows step rept (not common)
cntx butn mess enbl clck (special)
KeyWords for syntax highlighting:
labl capt body foot plho icon hint type name valu form subm acti clas wdth algn marg styl attr font colr fclr bclr llgn link targ akey kind
echo ftop unit disa rows step bord rtrn titl info inis gbl_imag gbl_bord simu clck vhgh stck cntx html butt mess tplc tsty head elem code show idix enbl plac
(Usefull when used for PHP8+ programming)
Key: Meening:
labl - Label
capt - Caption
body - Body (content)
foot - Footer
plho - PlaceHolder
icon - Icon
hint - Hint (user tip / title)
type - Type
name - Name
valu - Value
form - Form
subm - Submit
acti - Form action
clas - Class
wdth - Width
algn - Align
marg - Margin
styl - Style
attr - Attribute
font - Font
colr - Color
fclr - Foreground color
bclr - Background color
llgn - LabelAlign
link - Link
targ - Target
akey - AcessKey
kind - Kind
echo - Echo
unit - Unit
disa - Disabled
rows - Rows
step - Step
bord - Border
plac - Placement
rept - Repeat
rtrn - Return
titl - Title
info - Info
inis - Initial script
imag - image
pbrd - Page border
simu - Simulate
clck - Click
vhgh - ViewHeight
stck - isSticky
cntx - Context
html - String with HTML codes
butt - Button
mess - Message
tplc - Class for Placement of tooltip
tsty - Style for Placement of tooltip
head - Panel header background (style)
evnt - Event script
note - Note
rept - Repeat
shrt - shortcut
frst - First
last - Last
from - From
to__ - To
elem - Element id
pref - Prefix
suff - Suffix
filt - Ability to filter records
data - Data
crea - Created / Flag for creating new record
modi - Ability to modify data
expo - Export file
just - Justify
sort - Flag for sorting
filt - Flag for filtering
vrnt - Variant
capt - tblcapt - Caption above table
pref - rowpref - fields prefixed table-rows
body - rowbody - table fields
suff - rowsuff - fields suffixed table-rows
note - tblnote - text below the table
data - tbldata - Array with the table content
filt - filteron - Flag for table filtering (filt)
sort - sorteron - Flag for table sorting (sort)
crea - createrec - Flag for table creating new record
modi - modifyrec - Flag for modifying table records
vhgh - viewheight - The heigh of scrolling window showing the table
styl - Style for table-span
from - calledfrom - DebugData: source file
list - list for options
expo - export table to file
[
labl capt body plho icon hint type name valu form subm acti clas wdth algn marg styl attr font colr llgn link targ akey kind echo unit disa rows rows step bord rtrn titl info inis gbl_imag gbl_bord simu clck stck cntx html capt butt mess tplc tsty ftop head tblcapt rowpref rowbody rowsuff tblnote
tbldata filteron sorteron createrec modifyrec viewheight calledfrom tblstyle multilist exportto
]
The KeyWord-list is now only uptodate in file: functions.page.php
###########
Upgrade: font-awesome 5 to font-awesome 6
Created: customLib.inc.php for global user rules
htm_Panel_0: New toggle width button
###########
v1.2.1:
Fixed TogglePassword
More function parameter rename and order change
Minor changes
###########
v1.2.2:
New: TinyMCE 6.3.x HTML-editor
Some demo updated for PHP 8+ only
###########
(v1.2.3 /) v1.3.0:
New: htm_Inbox()
Rename: htm_Panel() to htm_Card()
htm_Card(): Added max viewheight
Rename: gbl_PanlForm to gbl_CardForm
Rename: CardInitRange to CardRange
Rename: htm_Input/htm_Inbox/msg_Dialog/Pmnu_Item/msg_System
- function parameter: type to vrnt (Variant)
Rename: htm_Page0() shortened some function parameter names
###########
v1.3.1:
New: htm_Menu_TopDown()
New: htm_Menu_Leftout()
###########
v1.3.2:
Changed: Activating libraryes
New: htm_CodeBox()
New: htm_Figure(()
New: htm_Details()
New: \Quick_Proj\quickstart.page.php
###########
v1.4.0:
Changed: htm_Card_0() parameters, Caption split in 3 parts ("Program-mode")
New: htm_Form()
New: htm_iFrame()
New: htm_GoTopButt()
New: htm_List_()
Rename: Block functions htm_****_0() to htm_****_()
Rename: Block functions htm_****_00() to htm_****_end()
Rename: htm_Field_0_end() to htm_Field()
Changed: some CSS-style
###########
v1.4.1:
Upgrade: font-awesome 6 to font-awesome 7
Rename: function toast() to htm_Toast()
Rename: htm_Fieldset_() to htm_Fieldset()
New: htm_Page_Sect()
New: htm_Embed()
New: htm_DataGroup()
New: niv0, niv1,... Style override on various niveaus
Error fixes
Minor changes
(New: PDF-viewer)
*/
?>