diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 57e7b2817bb..5766703b7f8 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -4166,12 +4166,12 @@ function getTitleFieldOfList($name, $thead = 0, $file = "", $field = "", $begin if (preg_match('/^DESC/', $sortorder)) { //$out.= ''.img_down("A-Z",0).''; //$out.= ''.img_up("Z-A",1).''; - $sortimg .= ''.img_up("Z-A", 0).''; + $sortimg .= ''.img_up("Z-A", 0, 'paddingleft').''; } if (preg_match('/^ASC/', $sortorder)) { //$out.= ''.img_down("A-Z",1).''; //$out.= ''.img_up("Z-A",0).''; - $sortimg .= ''.img_down("A-Z", 0).''; + $sortimg .= ''.img_down("A-Z", 0, 'paddingleft').''; } } } diff --git a/htdocs/core/tpl/contacts.tpl.php b/htdocs/core/tpl/contacts.tpl.php index 0c3418a7886..ec9b830a7c2 100644 --- a/htdocs/core/tpl/contacts.tpl.php +++ b/htdocs/core/tpl/contacts.tpl.php @@ -70,7 +70,8 @@ $userstatic = new User($db); if ($permission) { print '
'."\n"; - print '
'."\n"; + + print '
'."\n"; print '
'."\n"; ?> @@ -162,12 +163,12 @@ if ($permission) print "
"; print "
"; + + print '
'; } -/** -* Prepare list -*/ +// Prepare list // TODO: replace this with direct SQL string to use $db->sort($sortfield, $sortorder) $list = array(); @@ -273,10 +274,11 @@ print ''; print ''; print ''; +print '
'."\n"; print ''; -print ''; -print ''; +//print ''; +//print ''; print ''; print_liste_field_titre($arrayfields['nature']['label'], $_SERVER["PHP_SELF"], "nature", "", $param, "", $sortfield, $sortorder); @@ -315,8 +317,12 @@ foreach ($list as $entry) } print "
"; +print '
'; + print ""; -print "
"; + + + print "\n"; if (is_object($hookmanager)) {