friendica/friendica — pull request #430 by fabrixxm (2012-08-10 10:48:30+00:00)
Title: Fix Quattro with threaded comments, small tweaks to template processor and conversation.php

**in head.tpl**
functions commentOpen() and commentClose() return true/false

**in template processor**
trim strings in {{ if $var=val }} (without trim, works only {{ if $var!=val}}, without space after val)

add tag 'debug':

{{ debug $var [$var1 [$var2 [...]]] }}{{ enddebug }}

is replaced by

var_export($var1)\nvar_export($var2)\n....

**in conversation.php**
add 'thread_level' to $item array, starting from 1.
With unthreaded view default to 1.

**in Quattro theme**
Comment box for top-level item is rendered at the end of comments list.
Add quick-edit icons to comment textareas.
Fix collapsing.
Add experimental "expand / collapse thread" function.
Some more style fix.