Author |
Message |
Topic: Invalid compiled template error message for empty conf file |
Borgtex
Replies: 1
Views: 6826
|
Forum: Bugs Posted: Tue Sep 29, 2015 11:24 am Subject: Invalid compiled template error message for empty conf file |
There seems to be a problem with how smarty handles empty (0 bytes) conf files.
On a new project I was using version 3.1.8 and all was working fine, but when I changed to the latest (3.1.27) a error ... |
Topic: Surround each label of html_checkboxes with a custom tag |
Borgtex
Replies: 1
Views: 19515
|
Forum: Feature Requests Posted: Tue Jul 17, 2012 10:00 am Subject: Surround each label of html_checkboxes with a custom tag |
As the separator option did'nt gives the flexibility I need to apply css styles, I've added a new option "tag" to the html_radios and html_checkboxes functions to surround each label with wh ... |
Topic: Problem replacing modifiercompiler plugins |
Borgtex
Replies: 1
Views: 5355
|
Forum: Bugs Posted: Wed Mar 28, 2012 12:24 pm Subject: Problem replacing modifiercompiler plugins |
I've made some minor modifications to the strip_tags plugin and saved it with the same name (modifiercompiler.strip_tags.php) in my external_plugins folder. Problem is that it only gets loaded if I de ... |
Topic: Compile Error - xml Block tags display a wrong margin-top |
Borgtex
Replies: 6
Views: 10946
|
Forum: Bugs Posted: Wed Apr 27, 2011 11:17 am Subject: Compile Error - xml Block tags display a wrong margin-top |
It works fine for me. Check the codification of all the pages involved, maybe one of them is UTF8 with BOM and the space you see is the BOM |
Topic: Problems with triple quotes in the config files parser |
Borgtex
Replies: 2
Views: 5977
|
Forum: Bugs Posted: Tue Mar 29, 2011 11:35 am Subject: Problems with triple quotes in the config files parser |
I think the problem may be in smarty_internal_configfilelexer.php, there's something wrong with the regular expression on $yyy_global_pattern that cuts the string in the wrong place so it gives $this- ... |
Topic: capitalize and quotes problem (smarty 3) |
Borgtex
Replies: 5
Views: 8581
|
Forum: Bugs Posted: Mon Mar 28, 2011 2:41 pm Subject: capitalize and quotes problem (smarty 3) |
Yes. I think it has to do with the e modifier used in preg_replace. From the php reference:
When using the e modifier, this function escapes some characters (namely ', ", \ and NULL) in the st ... |
Topic: capitalize and quotes problem (smarty 3) |
Borgtex
Replies: 5
Views: 8581
|
Forum: Bugs Posted: Mon Mar 28, 2011 2:12 pm Subject: capitalize and quotes problem (smarty 3) |
Nope, It's off |
Topic: capitalize and quotes problem (smarty 3) |
Borgtex
Replies: 5
Views: 8581
|
Forum: Bugs Posted: Mon Mar 28, 2011 10:18 am Subject: capitalize and quotes problem (smarty 3) |
When I assign a string with quotes to a variable in a config file or php, i.e.
$text='johny "the smart"';
{$text|capitalize} returns
Johny \"The Smart" |
Topic: Problems with triple quotes in the config files parser |
Borgtex
Replies: 2
Views: 5977
|
Forum: Bugs Posted: Mon Mar 28, 2011 10:05 am Subject: Problems with triple quotes in the config files parser |
using test.conf in the demo:
this works:
title = Welcome to Smarty "reloaded"!
this does not work:
title = """Welcome to Smarty "reloaded"! ""&qu ... |
|