GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
202718b
)
Distances in threaded discussion are now logarithmic (in default template)
author
niekt0
<niekt0@kyberia.cz>
Sun, 21 Nov 2010 00:03:39 +0000
(
01:03
+0100)
committer
niekt0
<niekt0@kyberia.cz>
Sun, 21 Nov 2010 00:03:39 +0000
(
01:03
+0100)
data/templates/own_templates/1549839.tpl
patch
|
blob
|
blame
|
history
diff --git
a/data/templates/own_templates/1549839.tpl
b/data/templates/own_templates/1549839.tpl
index c9b285f843c2bccf481b9418346dc171e5a6a7f8..bdcfacdfe988ab2fdf388459001f9db25f9a5855 100644
(file)
--- a/
data/templates/own_templates/1549839.tpl
+++ b/
data/templates/own_templates/1549839.tpl
@@
-27,7
+27,8
@@
</tr>
{*/if*}
<tr>
</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 ''}
<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>
<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.277068 seconds
and
4
git commands to generate.