diff --git a/theme/bulma/user_profile.php b/theme/bulma/user_profile.php index bc1c4d6..f04f4f7 100644 --- a/theme/bulma/user_profile.php +++ b/theme/bulma/user_profile.php @@ -21,6 +21,7 @@ $protocol = paste_protocol(); rowReorder: { selector: 'td:nth-child(2)'}, responsive: true, pageLength: 50, + order: [[ 1, "desc" ]], autoWidth: false, initComplete: function () { var search = new URLSearchParams(window.location.search); @@ -40,6 +41,7 @@ $protocol = paste_protocol(); $("#favs").dataTable({ rowReorder: { selector: 'td:nth-child(2)'}, responsive: true, + order: [[ 2, "desc" ]], pageLength: 50, autoWidth: false, initComplete: function () { @@ -220,9 +222,7 @@ $protocol = paste_protocol(); '; if (strlen($p_tags) > 0) { - foreach ($tagArray as $tags) { - echo '' . trim($tags) . ''; - } + echo tagsToHtmlUser($p_tags,$profile_username); } else { echo ' No tags'; } @@ -307,9 +307,7 @@ $protocol = paste_protocol(); '; if (strlen($f_tags) > 0) { - foreach ($tagArray2 as $tags) { - echo '' . trim($tags) . ''; - } + echo tagsToHtmlUser($f_tags,$profile_username); } else { echo ' No tags'; }