]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/wall_thread.tpl
Merge pull request #549 from fermionic/20121222-use-smarty-template-engine
[friendica.git] / view / theme / smoothly / wall_thread.tpl
index e31f343e2fd7c5a028c0e4448c08452e76874df4..e192ca61ca01848a5f498354e98dcbadef6b49f5 100644 (file)
 
                                {{ if $item.has_cats }}
                                <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name 
-                               <a href="$cat.removeurl" title="$remove">[$remove]</a> 
+                               <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> 
                                {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                                </div>
                                {{ endif }}
 
                                {{ if $item.has_folders }}
                                <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name 
-                               <a href="$cat.removeurl" title="$remove">[$remove]</a> 
+                               <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> 
                                {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                                </div>
                                {{ endif }}
 
 <div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
 
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 {{ if $item.flatten }}