if (is_dir($full_path)): <a href="?tab=files&path== urlencode($full_path) " class="dir-link"> = htmlspecialchars($file) / </a> else: <a href="?tab=files&path== urlencode($cwd) &view== urlencode($file) " class="file-link"> = htmlspecialchars($file) </a> endif; | = is_numeric($size) ? number_format($size) . ' B' : $size | <span class="perms">= $perms </span> | if (is_file($full_path)): <a href="?tab=files&path== urlencode($cwd) &edit== urlencode($file) " class="action-link">Edit</a> <a href="?path== urlencode($cwd) &download== urlencode($file) " class="action-link">Download</a> endif; <a href="?tab=files&path== urlencode($cwd) &delete== urlencode($file) " class="action-link" onclick="return confirm('Delete?')">Delete</a> |
| = htmlspecialchars($val) |