Updated tablesorter to v2.29.6 and fixed sorting issue in browser

This commit is contained in:
bergware
2018-03-01 20:06:12 +01:00
parent 9706054dfe
commit 657c19c751
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
Title="Index of $dir"
Tag="navicon"
Markdown="false"
---
<?PHP
/* Copyright 2005-2017, Lime Technology
@@ -31,7 +32,7 @@ $(function(){
});
</script>
<table class="indexer tablesorter">
<thead><tr><th>Type</th><th>Name</th><th>Size</th><th>Last Modified</th><th>Location</th></tr></thead>
<thead><tr><th>Type</th><th class='sorter-text'>Name</th><th>Size</th><th>Last Modified</th><th>Location</th></tr></thead>
<tbody><tr><td colspan="5" style="text-align:center;padding-top:12px"><i class='fa fa-spinner fa-spin icon'></i><em>Please wait, loading information ...</em></td></tr></tbody>
</table>
<input type="button" value="Done" onclick="done('Browse')">

View File

@@ -40,7 +40,7 @@ if ($user) {
$set = explode("\n",str_replace(",\n",",",preg_replace("/(cache|disk)/","\n$1",$set[0]))); $i = 0;
}
echo "<thead><tr><th>Type</th><th>Name</th><th>Size</th><th>Last Modified</th><th>Location</th></tr></thead>";
echo "<thead><tr><th>Type</th><th class='sorter-text'>Name</th><th>Size</th><th>Last Modified</th><th>Location</th></tr></thead>";
if ($link = parent_link()) echo "<tbody class='tablesorter-infoOnly'><tr><td><div><img src='/webGui/icons/folderup.png'></div></td><td>$link</td><td colspan='3'></td></tr></tbody>";
foreach ($file as $row) {

File diff suppressed because one or more lines are too long