projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2842bb5
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 2 Dec 2011 09:42:56 +0000
(17:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 2 Dec 2011 09:42:56 +0000
(17:42 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
6ae22b1
..
ad957bf
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-150,7
+150,7
@@
class Pman_Core_JsTemplate extends Pman {
$indent++;
continue;
- case (substr($item,1,
4
) == 'else:'):
+ case (substr($item,1,
5
) == 'else:'):
$indent--;
$in = str_repeat(" ", $indent);
$ret[] = $in . "} else { ";