Author |
Message |
Topic: More informations in SmartyCompilerException |
Lillilotte
Replies: 1
Views: 17763
|
Forum: Feature Requests Posted: Thu Jan 24, 2013 6:35 pm Subject: More informations in SmartyCompilerException |
What are you thinking about the extension of the SmartyCompilerException for the following properties?
* line of error
* template file
* the invalid token
* the expected token
* maybe the lexer ... |
Topic: Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER? |
Lillilotte
Replies: 1
Views: 6161
|
Forum: Language: German Posted: Thu Jan 24, 2013 6:12 pm Subject: Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER? |
Ich verwende Smarty 3.1.13 von der Smarty Website. Kann es sein, dass in der Datei smarty_internal_templatecompilerbase.php in Zeile 334 (Smarty_Internal_TemplateCompilerBase::compileTag()) die Konsta ... |
Topic: Array Perfomance im Loop |
Lillilotte
Replies: 11
Views: 22549
|
Forum: Language: German Posted: Thu Jan 24, 2013 5:34 pm Subject: Re: Array Perfomance im Loop |
$abfrage = "SELECT * FROM TABELLE WHERE `id` = 1";
$RESULT = mysql_query($abfrage);
while($row = mysql_fetch_assoc($RESULT)) {
$kartendata[] = ... |
Topic: Help with regex_replace |
Lillilotte
Replies: 2
Views: 5045
|
Forum: General Posted: Thu Jan 24, 2013 4:17 pm Subject: Help with regex_replace |
The RegEx for 3. should do the job.
A possible RegEx for 1. and 2. should be:
'#[1-9][0-9]{,2}(?:[.][0-9]{3})*(?:[, ... |
Topic: Smarty 3.1.12: const compile failure |
Lillilotte
Replies: 2
Views: 6503
|
Forum: Bugs Posted: Thu Jan 10, 2013 7:53 pm Subject: Smarty 3.1.12: const compile failure |
Super! Thanks |
Topic: Smarty3: missing doCompile() in compiler base class |
Lillilotte
Replies: 2
Views: 8023
|
Forum: Smarty Development Posted: Thu Jan 10, 2013 7:52 pm Subject: Smarty3: missing doCompile() in compiler base class |
Thanks |
Topic: Smarty 3.1.12: const compile failure |
Lillilotte
Replies: 2
Views: 6503
|
Forum: Bugs Posted: Wed Jan 09, 2013 10:49 pm Subject: Smarty 3.1.12: const compile failure |
If I tried something like
<?php
define('bar', 'foobar');
$smarty->assign('foo', 'bar');
?>
foobar.tpl:
{$smarty.const.$foo}
or
{$smarty.const. ... |
Topic: Smarty3: missing doCompile() in compiler base class |
Lillilotte
Replies: 2
Views: 8023
|
Forum: Smarty Development Posted: Wed Jan 09, 2013 10:28 pm Subject: Smarty3: missing doCompile() in compiler base class |
I use Smarty 3.1.12. I would extend the Smarty Compiler (Smarty_Internal_TemplateCompilerBase) so i have a look at the code. I saw it extends from Smarty_Internal_TemplateCompilerBase and i ask myself ... |
|