mirror of
https://github.com/transatoshi-mw/grin-web-wallet.git
synced 2025-10-07 00:02:47 +00:00
contents of zip
This commit is contained in:
28
browserconfig.xml
Executable file
28
browserconfig.xml
Executable file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
// Included files
|
||||
require_once __DIR__ . "/backend/common.php";
|
||||
require_once __DIR__ . "/backend/resources.php";
|
||||
|
||||
|
||||
// Main function
|
||||
|
||||
// Set content type header
|
||||
header("Content-Type: text/xml; charset=" . mb_internal_encoding());
|
||||
|
||||
?><?xml version="1.0" encoding="UTF-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile><?php
|
||||
|
||||
// Go through all tile images
|
||||
foreach(TILE_IMAGES as $tileImage)
|
||||
|
||||
// Display tile image
|
||||
echo PHP_EOL . "\t\t\t<" . sanitizeAttributeName(mb_strtolower($tileImage[TILE_IMAGE_PARTS["Ratio"]])) . sanitizeAttributeName($tileImage[TILE_IMAGE_PARTS["X Dimension"]]) . "x" . sanitizeAttributeName($tileImage[TILE_IMAGE_PARTS["Y Dimension"]]) . "logo src=\"" . escapeString(getResource($tileImage[TILE_IMAGE_PARTS["File Path"]])) . "\"/>";
|
||||
?>
|
||||
|
||||
<TileColor><?= encodeString(BACKGROUND_COLOR); ?></TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
Reference in New Issue
Block a user