Skip to content

Commit

Permalink
Preparing for the new approach to downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
twoln committed Aug 1, 2023
1 parent 30a33fa commit 87f0153
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions devices/Devices-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,15 @@ class Devices extends \core\common\Entity {
* @example devices/devices-template.php file listing
* @return array the device modules
*/
public static function listDevices() {
public static function listDevices($profile = 0, $orAlways = 0) {
\core\common\Entity::intoThePotatoes();
$lang = new \core\common\Language();
$skinObject = new \web\lib\user\Skinjob(\config\Master::APPEARANCE['skins'][0]);
/*
$googleIcon = $skinObject->findResourceUrl("IMAGES", "vendorlogo/google-play.png");
$huaweiIcon = $skinObject->findResourceUrl("IMAGES", "vendorlogo/appgallery.png");
$amazonIcon = $skinObject->findResourceUrl("IMAGES", "vendorlogo/amazon-appstore-badge-english-black.png");
*/
$retArray = [
'w10' => [
'group' => "microsoft",
Expand Down Expand Up @@ -405,7 +412,7 @@ public static function listDevices() {
'display' => _("Android 8 and higher"),
'match' => 'Android ([89]|1[0-9])',
'directory' => 'eap_config',
'module' => 'Lollipop',
'module' => 'Generic',
'options' => [
'mime' => 'application/eap-config',
'hs20' => 1,
Expand Down

0 comments on commit 87f0153

Please sign in to comment.