use new icons
This commit is contained in:
parent
8b91bde888
commit
40de133770
19
devtools.php
19
devtools.php
|
@ -52,7 +52,7 @@ function getName(string $file)
|
|||
{
|
||||
return "PSMPU ".substr($file,21,6);
|
||||
}
|
||||
elseif($file == "MichaelFleischauer-PlaystationmobileDevelopmentCookbook-packtPublishing2013")
|
||||
elseif(strpos($file, '9781849694186') !== false)
|
||||
{
|
||||
return "PSMCookbook";
|
||||
}
|
||||
|
@ -107,7 +107,15 @@ function getIcon(string $file)
|
|||
}
|
||||
elseif($ext == "pdf")
|
||||
{
|
||||
return "/img/docs.png";
|
||||
return "/img/pdf.png";
|
||||
}
|
||||
elseif($ext == "mobi")
|
||||
{
|
||||
return "/img/mobi.png";
|
||||
}
|
||||
elseif($ext == "epub")
|
||||
{
|
||||
return "/img/epub.png";
|
||||
}
|
||||
elseif($ext == "exe" && strpos($file, 'UnitySetup') == false)
|
||||
{
|
||||
|
@ -309,6 +317,13 @@ function getIcon(string $file)
|
|||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-src" class="devtool" id="unityassets">
|
||||
<img src="/img/sources.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Source Code
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-tools" class="devtool" id="unitytools">
|
||||
<img src="/img/tools.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
|
|
Loading…
Reference in New Issue