Distances in threaded discussion are now logarithmic (in default template)
authorniekt0 <niekt0@kyberia.cz>
Sun, 21 Nov 2010 00:03:39 +0000 (01:03 +0100)
committerniekt0 <niekt0@kyberia.cz>
Sun, 21 Nov 2010 00:03:39 +0000 (01:03 +0100)
data/templates/own_templates/1549839.tpl

index c9b285f843c2bccf481b9418346dc171e5a6a7f8..bdcfacdfe988ab2fdf388459001f9db25f9a5855 100644 (file)
@@ -27,7 +27,8 @@
   </tr>
 {*/if*}
   <tr>
-    <td width='{math equation="(x-y)-8" x=$child.depth y=$node.vector_depth}%'></td>
+<!--XXX test oflogarithmic threading (original (x-y)-8 )-->
+    <td width='{math equation="10*log(3+(x-y))-8" x=$child.depth y=$node.vector_depth}%'></td>
     <td valign='top' rowspan='2'>
 {* put.Ty hack *}
 {if $child.synapse_creator neq ''}
@@ -79,4 +80,4 @@
 <td><input type='submit' name='get_children_move' value='<<'></td>
 <td><input name='get_children_move' type='submit' value='>>'></td>
 <td><input type='submit' name='get_children_move' value='>'></td>
-</tr></table>
\ No newline at end of file
+</tr></table>
This page took 0.144928 seconds and 4 git commands to generate.