Skip to content

Commit a1858ef

Browse files
author
Skrol29
committed
TBS version 3.15.1
1 parent 9d28b53 commit a1858ef

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66

7+
## [3.15.1] - 2024-01-25
8+
9+
- PHP 8.2 compatibility improved
10+
711
## [3.15.0] - 2023-05-15
812

913
### Enhancements

tbs_class.php

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* TinyButStrong - Template Engine for Pro and Beginners
55
*
6-
* @version 3.15.0 for PHP 5, 7, 8
6+
* @version 3.15.1 for PHP 5, 7, 8
77
* @date 2023-05-15
88
* @link http://www.tinybutstrong.com Web site
99
* @author http://www.tinybutstrong.com/onlyyou.html
@@ -61,7 +61,7 @@ class clsTbsLocator {
6161
public $PrmIfVar;
6262
public $PrmElseVar;
6363

64-
// autre
64+
// other
6565
public $ConvEsc;
6666
public $ConvWS;
6767
public $ConvJS;
@@ -73,8 +73,12 @@ class clsTbsLocator {
7373

7474
public $OpeUtf8;
7575
public $OpeAct;
76-
public $OpePrm;
77-
public $OpeArg;
76+
public $OpePrm;
77+
public $OpeArg;
78+
79+
public $OpeMOK;
80+
public $OpeMKO;
81+
public $MSave;
7882

7983
// Sub-template
8084
public $SaveSrc;
@@ -117,6 +121,7 @@ class clsTbsLocator {
117121
public $CheckPrev;
118122
public $WhenFound;
119123
public $WhenDefault;
124+
public $WhenDefaultBeforeNS;
120125
public $SectionNbr;
121126
public $SectionLst;
122127
public $PosDefBeg;
@@ -4423,9 +4428,9 @@ static function f_Misc_ConvSpe(&$Loc) {
44234428

44244429
/**
44254430
* Return the information if parsing a form which can be either a property of a function.
4426-
* @param string $Str The form.
4427-
* @return array Information about the form.
4428-
* name: the name of the function of the property
4431+
* @param string $Str The form. Example : 'my_func(aaa,bbb)'
4432+
* @return array Information about the form. Example : array('name' => 'my_func', 'as_fct' => true, 'args' => array('aaa', 'bbb'),)
4433+
* name: the name of the function of the property.
44294434
* as_fct: true if the form is as a function
44304435
* args: arguments of the function, or empty array if it's a property
44314436
*/

0 commit comments

Comments
 (0)