# HG changeset patch # User Matti Hamalainen # Date 1425871291 -7200 # Node ID 3555578e7d2ce7aeec28f89a5165042807682552 # Parent e02d4613d93f881fc7cee43746b256cebf9c9e64 Disable sorting links on fields that do not support it. diff -r e02d4613d93f -r 3555578e7d2c materials/index.php --- a/materials/index.php Mon Mar 09 05:18:21 2015 +0200 +++ b/materials/index.php Mon Mar 09 05:21:31 2015 +0200 @@ -227,13 +227,20 @@ { if ($key == 0 || !isset($hideColumns[$key])) { - echo - " ".stGetTC("th", $key). + echo " ".stGetTC("th", $key); + if ($key < 18) + { + echo "".chentities($value)."\n"; + "\">".chentities($value).""; + } + else + echo chentities($value); + + echo "\n"; } } echo " \n";