This commit is contained in:
2019-06-12 22:16:37 -07:00
parent 870382a304
commit 5a0d73bbfd
56 changed files with 14 additions and 12 deletions

0
web/icons/3dm.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 233 KiB

0
web/icons/abbu.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 400 KiB

After

Width:  |  Height:  |  Size: 400 KiB

0
web/icons/aep.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

0
web/icons/ai.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

0
web/icons/aplibrary.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

0
web/icons/app.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 295 KiB

0
web/icons/apvault.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 779 KiB

After

Width:  |  Height:  |  Size: 779 KiB

0
web/icons/bundle.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

0
web/icons/directory.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 681 KiB

After

Width:  |  Height:  |  Size: 681 KiB

0
web/icons/directory_alias.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 477 KiB

After

Width:  |  Height:  |  Size: 477 KiB

0
web/icons/directory_invisible.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 466 KiB

After

Width:  |  Height:  |  Size: 466 KiB

0
web/icons/disc.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 820 KiB

After

Width:  |  Height:  |  Size: 820 KiB

0
web/icons/dmg.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 422 KiB

After

Width:  |  Height:  |  Size: 422 KiB

0
web/icons/dwg.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 128 KiB

0
web/icons/dxf.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

0
web/icons/eps.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 519 KiB

After

Width:  |  Height:  |  Size: 519 KiB

0
web/icons/firewire.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 756 KiB

After

Width:  |  Height:  |  Size: 756 KiB

0
web/icons/framework.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

0
web/icons/gz.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 180 KiB

0
web/icons/image.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 716 KiB

After

Width:  |  Height:  |  Size: 716 KiB

0
web/icons/internal.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

0
web/icons/iso.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 422 KiB

After

Width:  |  Height:  |  Size: 422 KiB

0
web/icons/kext.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

0
web/icons/m4a.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 304 KiB

After

Width:  |  Height:  |  Size: 304 KiB

0
web/icons/mkv.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

0
web/icons/mp3.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 232 KiB

0
web/icons/mp4.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

0
web/icons/null.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 111 KiB

0
web/icons/null_alias.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 119 KiB

0
web/icons/null_invisible.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

0
web/icons/pdf.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 517 KiB

After

Width:  |  Height:  |  Size: 517 KiB

0
web/icons/photoslibrary.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 327 KiB

After

Width:  |  Height:  |  Size: 327 KiB

0
web/icons/plist.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 252 KiB

After

Width:  |  Height:  |  Size: 252 KiB

0
web/icons/plugin.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

0
web/icons/psd.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 521 KiB

After

Width:  |  Height:  |  Size: 521 KiB

0
web/icons/rtf.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 335 KiB

After

Width:  |  Height:  |  Size: 335 KiB

0
web/icons/rtfd.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 335 KiB

After

Width:  |  Height:  |  Size: 335 KiB

0
web/icons/sparsebundle.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 422 KiB

After

Width:  |  Height:  |  Size: 422 KiB

0
web/icons/sparseimage.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 422 KiB

After

Width:  |  Height:  |  Size: 422 KiB

0
web/icons/srt.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 215 KiB

After

Width:  |  Height:  |  Size: 215 KiB

0
web/icons/tar.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 180 KiB

0
web/icons/trash_empty.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 742 KiB

After

Width:  |  Height:  |  Size: 742 KiB

0
web/icons/trash_full.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 672 KiB

After

Width:  |  Height:  |  Size: 672 KiB

0
web/icons/vob.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

0
web/icons/webloc.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

0
web/icons/zip.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 178 KiB

2
web/image.php Normal file → Executable file
View File

@@ -2,6 +2,8 @@
// Yuba image 0.0.1 // Yuba image 0.0.1
require_once("togggle.php");
$db = $_GET['db']; $db = $_GET['db'];
$id = $_GET['id']; $id = $_GET['id'];

0
web/lib/debug.php Normal file → Executable file
View File

0
web/lib/powerange/powerange.css Normal file → Executable file
View File

0
web/lib/powerange/powerange.js Normal file → Executable file
View File

0
web/lib/powerange/powerange.min.css vendored Normal file → Executable file
View File

0
web/lib/powerange/powerange.min.js vendored Normal file → Executable file
View File

0
web/lib/ref/ref.css Normal file → Executable file
View File

0
web/lib/ref/ref.js Normal file → Executable file
View File

0
web/lib/ref/ref.php Normal file → Executable file
View File

View File

@@ -134,8 +134,8 @@ function dumpme($mixed = null) {
function hasicon($filename) { function hasicon($filename) {
$ext = pathinfo($filename)['extension']; $ext = pathinfo($filename)['extension'];
$good = "icons/null.png"; $good = "assets/null.png";
foreach (glob("icons/*.png") as $file) { foreach (glob("assets/*.png") as $file) {
if (pathinfo($file)['filename'] == $ext) { if (pathinfo($file)['filename'] == $ext) {
$good = $file; $good = $file;
} }
@@ -159,13 +159,13 @@ function makeicon($dbo, $id) {
} }
if ($mdls['FSInvisible']) { if ($mdls['FSInvisible']) {
$diricon = "/icons/directory_invisible.png"; $diricon = "/assets/directory_invisible.png";
$fileicon = "/icons/null_invisible.png"; $fileicon = "/assets/null_invisible.png";
} elseif ($mdls['Kind'] == "Alias" || $item['Type'] == "link") { } elseif ($mdls['Kind'] == "Alias" || $item['Type'] == "link") {
$diricon = "/icons/directory_alias.png"; $diricon = "/assets/directory_alias.png";
$fileicon = "/icons/null_alias.png"; $fileicon = "/assets/null_alias.png";
} else { } else {
$diricon = "/icons/directory.png"; $diricon = "/assets/directory.png";
$fileicon = hasicon($item['Filename']); $fileicon = hasicon($item['Filename']);
} }
@@ -242,10 +242,10 @@ if (!$db) {
$dbo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); $dbo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
$row = $dbo->query("SELECT * FROM _walkwalk")->fetchAll(); $row = $dbo->query("SELECT * FROM _walkwalk")->fetchAll();
if ($row[0]['type'] == "External disk") { $icon = "icons/firewire.png"; } if ($row[0]['type'] == "External disk") { $icon = "assets/firewire.png"; }
if ($row[0]['type'] == "Startup disk") { $icon = "icons/internal.png"; } if ($row[0]['type'] == "Startup disk") { $icon = "assets/internal.png"; }
if ($row[0]['type'] == "Disk image") { $icon = "icons/image.png"; } if ($row[0]['type'] == "Disk image") { $icon = "assets/image.png"; }
if ($row[0]['type'] == "Folder") { $icon = "icons/directory.png"; } if ($row[0]['type'] == "Folder") { $icon = "assets/directory.png"; }
$version = $dbo->query("SELECT version FROM _walkwalk")->fetch()['version']; $version = $dbo->query("SELECT version FROM _walkwalk")->fetch()['version'];
@@ -497,7 +497,7 @@ if (!$db) {
if (isset($fdeep['tinfo'])) { if (isset($fdeep['tinfo'])) {
echo "<img src='/image.php?db=".$db."&id=".$id."' width='".$twidth."' height='".$theight."' class='thumb'><br><br>"; echo "<img src='/image.php?db=".$db."&id=".$id."' width='".$twidth."' height='".$theight."' class='thumb'><br><br>";
} else { } else {
echo "<img src='/icons/null.png' width='128' height='128'><br><br>"; echo "<img src='/assets/null.png' width='128' height='128'><br><br>";
} }
echo dumpme(array_unserialize($fdeep)); echo dumpme(array_unserialize($fdeep));