Heiko August
88b6e3bf0f
Fix: correct the logic in the condition
2022-04-20 10:13:29 +02:00
Heiko August
0219b97031
Change: simplify the condition to remove an invalid input for link_open_target
2022-04-20 10:13:29 +02:00
Heiko August
c4d155f3ec
Fix: finish a line of code with a semicolon! (dammich nochma)
2022-04-20 10:13:29 +02:00
Heiko August
922ce14809
Fix: order of parameters for in_array (first: needle, second: haystack)
2022-04-20 10:13:29 +02:00
Heiko August
dbbc196ea8
Fix: correct key name for the setting description
2022-04-20 10:13:29 +02:00
Heiko August
07749530ea
Fix: space between "{1," and "254}" led the regex to be broken on regex101.com (where I tested it)
2022-04-20 10:13:29 +02:00
Heiko August
81f1ddb5e6
Change: check link target setting for allowed values and replace everything else with an empty string
...
Allowed values:
- "_self", "_parent", "_top" (comparision with in_array)
- a freely chosen frame name (comparision with a regular expression, maximum length: 255 chars)
2022-04-20 10:13:29 +02:00
Heiko August
541e298112
Fix: remove the not planned value '_blank' from the desscription and fix a few spelling errors
2022-04-20 10:13:29 +02:00
Heiko August
f3bbb7a50e
Change: add input and text description for the link-target to the forum settings page
2022-04-20 10:13:29 +02:00
Heiko August
a5e4f0f890
Fix: set the default value for 'link_open_target' to an empty string instead of '0'
2022-04-20 10:13:29 +02:00
Heiko August
c3ad3b5e12
Change: add new setting 'link_open_target' to the update procedure
2022-04-20 10:13:29 +02:00
Heiko August
20537f01ba
Change: add new setting 'link_open_target' to the install procedure
2022-04-20 10:13:29 +02:00
Michael Lösler
6cac6fd6c2
Compression ( #574 )
...
- compressed main.js using https://refresh-sf.com/
2021-09-21 22:46:03 +02:00
Michael Lösler
17c7ec58bb
Array name ( #573 )
...
- changed array name back to avoid confusion
2021-09-21 21:50:32 +02:00
Michael Lösler
880e69f752
Link target ( #546 )
...
* Link target
- add or remove link target depending on user preferences given by `user_settings["open_links_in_new_window"]`, cf. https://mylittleforum.net/forum/index.php?id=12381
* IE support
- add includes prototype to support IE
* Typo
- corrected case name, NON --> NONE
* Rename array
- rename array user_settings to settings
- added target argument in function setLinkTarget, cf. https://mylittleforum.net/forum/index.php?id=12611
2021-09-21 21:46:54 +02:00
Heiko August
5c735e1282
Fix: add all relevant keys and strings for browser-window-target user setting to the new language traditional chinese
2021-09-20 20:38:35 +00:00
Heiko August
8e4fae2ef2
Fix: add the case DEFAULT and correct NON to NONE
2021-09-20 19:50:35 +00:00
Heiko August
d222fe24f8
Change: provide corrections, strings, template and processing code for the third setting
2021-09-20 19:50:35 +00:00
Heiko August
658ee54b0e
Change: create the JS-array user_settings and store the matching values for the users window target setting
2021-09-20 19:50:35 +00:00
Heiko August
13de96e16e
Change: read the new user setting from the user data entry and put it into the array $usersettings
2021-09-20 19:50:35 +00:00
Heiko August
53fe923152
Change: store the new user setting in the table for user data
2021-09-20 19:50:35 +00:00
Heiko August
e8e0abbeb0
Change: read the new setting from the database and populate the matching form elements
2021-09-20 19:50:35 +00:00
Heiko August
405d607a99
Change: create the table column mlf2_userdata.browser_window_target
...
Default is 0 for opening links in the same window/tab.
2021-09-20 19:50:35 +00:00
Heiko August
6ca899b2fb
Change: create form elements for selecting the value for the setting to open links in the same or a new browser window/tab
2021-09-20 19:50:35 +00:00
Heiko August
dd9a9304ed
Change: provide strings for the new user setting to open links in a new window or tab
2021-09-20 19:50:35 +00:00
Michael Lösler
fb8206e065
user lock state ( #571 )
...
- delete inactive users that are *not* locked by the form admin
2021-09-19 16:58:44 +02:00
Michael Lösler
c08ba33ca2
CSRF ( #570 )
...
- remove call of die-function, if csrf token is expired, cf. https://mylittleforum.net/forum/index.php?id=12531
2021-09-03 15:49:49 +02:00
Michael Lösler
55fb445c35
Chinese lang ( #569 )
...
Chinese language pack added, cf. https://mylittleforum.net/forum/index.php?id=12595
2021-09-02 22:43:21 +02:00
Michael Loesler
5aad6442e1
Unique values ( #567 )
...
- Columns `user_name` and `user_email` are set to `UNIQUE`
2021-03-05 17:25:08 +01:00
Michael Loesler
7dce5cc62b
Email collision ( #566 )
...
* Check for collision
- SQL statement modified to check against email collision
- re-format source code
* error massage
- error message is added for key `error_email_collision`
2021-03-03 20:54:17 +01:00
Michael Loesler
2cec4bdfc4
Activation mail ( #565 )
...
- Language part for `emails` was not loaded to the user
- ConfigLoad is added, cf. https://github.com/ilosuna/mylittleforum/issues/564
2021-03-03 20:24:21 +01:00
Michael Loesler
454e392dee
B8 spl autoload register ( #562 )
...
* B8
- prepare fies for new b8 version
* Update B8
- add new b8 classes
* Update b8.php
- modify spl_autoload_register function to prevent errors
- cf. https://gitlab.com/l3u/b8/-/merge_requests/1
2021-02-28 21:29:12 +01:00
Michael Loesler
5317c6024d
B8 former version ( #561 )
...
- switching back to former b8 version
- there are some unsolved conflicts up to now (I don't know the reason yet)
- comment symbol # of former version is replaced by //
- tested on PHP7/8
2021-02-28 13:37:42 +01:00
Michael Loesler
0a95ebc4d9
create_function PHP 7.4 ( #560 )
...
- Function create_function() is deprecated in PHP 7.4
- Closure is used to handle anonymous functions in preg_replace_callback
2021-02-27 16:11:01 +01:00
Michael Loesler
0c7055232c
Comments ( #559 )
...
- comment symbol '#' is replaced by '//' because a new version is NOT available
- there are a lot of "FIXME"; is it realy a trustworthy module?!
2021-02-27 15:50:05 +01:00
Michael Loesler
d1225f55b8
curly braces ( #558 )
...
- Array and string offset access syntax with curly braces is deprecated in PHP 7.4
- Array and string offset access syntax with curly braces is removed in PHP 8
- replaced {} - braces by [] - braces
2021-02-27 15:33:37 +01:00
Michael Loesler
643e9ae96b
Update module ( #557 )
...
- update B8 version 0.7
- namespace is added (e.g. b8::HAM --> b8\b8::HAM)
2021-02-27 15:09:52 +01:00
Michael Loesler
91f0b42a5c
Module update ( #556 )
...
- smarty version 3.1.39
2021-02-27 14:14:48 +01:00
Michael Loesler
4abb9edbef
Module update ( #555 )
...
- VERSION 6.3.0
2021-02-27 14:12:01 +01:00
Michael Loesler
d2a112f35c
Comment symbol ( #554 )
...
- # is no longer interpreted as the start of a comment, as this syntax is now used for attributes, cf. https://www.php.net/manual/en/migration80.incompatible.php
- comments are removed, if they are identified as /obsolete fragments/, i.e., former code/debugging code
- comment symbol '#' is replaced by '//'
2021-02-27 13:08:34 +01:00
Michael Loesler
82de4dea4b
get_magic_quotes_gpc
...
- get_magic_quotes_gpc is removed because this function returns alwas false
- get_magic_quotes_gpc is deprecated cf. https://www.php.net/manual/en/function.get-magic-quotes-gpc.php
- see also https://github.com/ilosuna/mylittleforum/issues/552
2021-02-21 17:34:21 +00:00
Michael Loesler
d7b0e9d47b
SPAM postings of a user ( #551 )
...
- Postings classified as SPAM are accessible via user-area
- A modified SQL stmt restricts the postings list and filters SPAM postings for normal users
- cf. https://mylittleforum.net/forum/index.php?id=12422
2020-12-10 23:18:54 +01:00
Urfin®
635c4c164b
Update russian.lang ( #549 )
...
A literal error fixed
2020-11-06 17:44:06 +01:00
Urfin-Juce
7cc79a1765
Update russian.lang ( #548 )
...
Translated all <!-- TODO -->, and some minor fixies for previously translated terms.
WBR, Victor aka Urfin®
2020-11-06 14:21:24 +01:00
Heiko August
bc7c325d4f
Change: alter the doctype, change from XHTML 1.0 strict to XHTML 1.0 transitional
2020-10-26 22:29:28 +01:00
Michael Loesler
cba8e70485
DOMContentLoaded ( #545 )
...
- use DOMContentLoaded to init scrips on (DOM) load
2020-10-26 21:46:17 +01:00
Michael Loesler
095a098182
main.js ( #544 )
...
- clean main.js
2020-10-26 21:33:30 +01:00
Heiko August
48870602f6
Change: let the HTML-structure in the single entry view match the structure in the threaded views
...
Only exception is the id on div.wrapper that seems to make no sense to me in the context of the single entry view.
2020-10-26 19:16:39 +01:00
Michael Loesler
39753c8604
Clean script files ( #543 )
...
- remove out-dated sources
- translate comments of functions
- https://mylittleforum.net/forum/index.php?id=12389
2020-10-26 18:06:14 +01:00
Heiko August
5d8e05ced6
Fix: correct silly typo
2020-10-15 22:07:09 +02:00