tinybutstrong
tinybutstrong copied to clipboard
TBS is a PHP template engine for pro and beginners. Only 1 class with few methods properties, but it can do may things for any text templates, including HTML and XML. The only engine that enables W3C...
This allows the use of a callable as a value for merged fields. For example in your PHP code: ``` $TBS->MergeField('callable_field', fn() => Carbon::now()->addMonths(12)->toDateString()); ``` Then in your HTML template...
Hello, Would you be interested in a pull request that adds some phpdoc comments to help modern IDEs trace the variable types and function return types? I saw a pull...
bug in $this->meth_Misc_Alert("with parameter 'combo'", "Combo '". $a. "' is not yet set."); ?
Hello Skrol, for conditional blocks often it would be handy to combine multiple conditions to create an "and" condition, like `[onload;file='cms.login.html';when [var..cst.EDITMODE]=0;when [var..cst.DEVELOPER]=1]` Currently this can be solved with either...
Hi @Skrol29 i read [your post](https://github.com/Skrol29/tinybutstrong/issues/20#issuecomment-744899357) that you often think about project development. This is great, and I would like to speculate about how it looks to me. Perhaps you...
Hi, I enabled PHP class preloading for my Symfony based app. But when it comes to creating files with TBS/OpenTBS, I get an error "Undefined constant 'TBS_INSTALL'". After digging in,...
Something like this: ```php if ( $ReadPrm && ( isset($Loc->PrmLst['enlargeCSS']) ) ) { $Loc->PosBeg0 = $Loc->PosBeg; $Loc->PosEnd0 = $Loc->PosEnd; $enlarge = (isset($Loc->PrmLst['enlargeCSS'])) ? $Loc->PrmLst['enlargeCSS'] : false; if (($enlarge===true) || ($enlarge===''))...
No code changes, just reformating and replacing array() with []
how to connect with codeigniter project ?