diff --git a/system/controllers/pluginmanager.php b/system/controllers/pluginmanager.php index 75ff050e..b8634df9 100644 --- a/system/controllers/pluginmanager.php +++ b/system/controllers/pluginmanager.php @@ -329,7 +329,7 @@ switch ($action) { File::copyFolder($folder, $DEVICE_PATH . DIRECTORY_SEPARATOR, ['README.md', 'LICENSE']); File::deleteFolder($folder); unlink($file); - r2(U . "paymentgateway", 's', 'Payment Gateway ' . $plugin . ' has been installed'); + r2(U . "settings/devices", 's', 'Device ' . $plugin . ' has been installed'); break; } } @@ -344,6 +344,7 @@ switch ($action) { $ui->assign('zipExt', $zipExt); $ui->assign('plugins', $json['plugins']); $ui->assign('pgs', $json['payment_gateway']); + $ui->assign('dvcs', $json['devices']); $ui->display('plugin-manager.tpl'); } diff --git a/ui/ui/plugin-manager.tpl b/ui/ui/plugin-manager.tpl index dfbb7125..3a3e20d5 100644 --- a/ui/ui/plugin-manager.tpl +++ b/ui/ui/plugin-manager.tpl @@ -1,5 +1,10 @@ {include file="sections/header.tpl"} +{if empty($_c['github_token'])} +
To download from private/paid repository, Set + your Github Authentication first
+{/if} + -To download from private/paid repository, Set - your Github Authentication first
- -