diff --git a/theme/classic.php b/theme/classic.php index 4cde6ad..d8fc7bd 100644 --- a/theme/classic.php +++ b/theme/classic.php @@ -129,26 +129,28 @@
document.getElementById(\'url\').offsetWidth) this.style.width=\'100%\';" /> + echo ' ' . substr($path, strrpos($path, '/')) . ' '; } elseif (in_array($ext, $exts['video'])) { //echo ''; $DPvideo=$files['@microsoft.graph.downloadUrl']; - echo '
'; + echo '
+'; } elseif (in_array($ext, $exts['music'])) { - echo ' - + echo ' '; } elseif (in_array($ext, ['pdf'])) { - echo ' + /*echo ' +';*/ + $pdfurl = $files['@microsoft.graph.downloadUrl']; + echo '
'; } elseif (in_array($ext, $exts['office'])) { - echo ' - + echo ' '; } elseif (in_array($ext, $exts['txt'])) { $txtstr = htmlspecialchars(curl_request($files['@microsoft.graph.downloadUrl'])['body']); @@ -163,8 +165,7 @@ '; ?>
+ echo '
'; @@ -469,6 +470,7 @@ +