diff options
Diffstat (limited to 'app/fn')
-rw-r--r-- | app/fn/fn.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/fn/fn.php b/app/fn/fn.php index 2d17a3f..243e056 100644 --- a/app/fn/fn.php +++ b/app/fn/fn.php @@ -253,7 +253,9 @@ function treecount( $folder = '├─📁' . $dirname; } echo '<tr>'; - echo '<td><a href="' . $mediaopt->getpathadress($path) . '">' . str_repeat(' ', $deepness) . $folder . '</a></td>'; + $href = $mediaopt->getpathadress($path); + $foldername = str_repeat(' ', $deepness) . $folder; + echo '<td><a href="' . $href . '">' . $foldername . '</a></td>'; echo '<td>' . $dirlist['dirfilecount'] . '</td>'; echo '</tr>'; foreach ($dirlist as $key => $value) { @@ -279,6 +281,7 @@ function basictree(array $dirlist, string $dirname, int $deepness, string $path, } if ($deepness === 1) { + // phpcs:ignore Generic.Files.LineLength.TooLong $radio = '<input type="radio" name="pagetable" value="' . $dirname . '" id="db_' . $path . '" ' . $checked . '>'; } else { $radio = ''; |