diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-21 18:57:18 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-21 18:57:18 +0200 |
commit | eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f (patch) | |
tree | 252d23b7713f364e7f7efafdd4f333188ceac5fa /app/fn/fn.php | |
parent | 6984e737b706c73baaa5c3c921762706f958d4da (diff) | |
download | wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.tar.gz wcms-eba4d7aa0ee5ea1bcb29e8254c28a272023ea54f.zip |
correct warning psr 12 : 120 characters lines
Diffstat (limited to 'app/fn/fn.php')
-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 = ''; |