From a7191008550e244d730e55f8917317ea8015b264 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Tue, 30 Jun 2015 12:59:23 +0200 Subject: [PATCH] Improvements to add better compatibility with the metaconsole --- .../update_manager/update_manager.offline.php | 40 ++++---- .../godmode/update_manager/update_manager.php | 6 +- pandora_console/images/update.png | Bin 0 -> 507 bytes .../include/ajax/update_manager.ajax.php | 6 +- .../include/javascript/update_manager.js | 97 ++++++++++-------- 5 files changed, 82 insertions(+), 67 deletions(-) create mode 100644 pandora_console/images/update.png diff --git a/pandora_console/godmode/update_manager/update_manager.offline.php b/pandora_console/godmode/update_manager/update_manager.offline.php index db0c14c307..ce9faad466 100644 --- a/pandora_console/godmode/update_manager/update_manager.offline.php +++ b/pandora_console/godmode/update_manager/update_manager.offline.php @@ -16,21 +16,25 @@ global $config; -ui_require_css_file('update_manager', 'godmode/update_manager/'); +// ui_require_css_file('update_manager', 'godmode/update_manager/'); + +$baseurl = ui_get_full_url(false, false, false, false); ?> + + + +
@@ -38,12 +42,12 @@ ui_require_css_file('update_manager', 'godmode/update_manager/');
- - - + + + - + \ No newline at end of file + form_upload(""); + diff --git a/pandora_console/godmode/update_manager/update_manager.php b/pandora_console/godmode/update_manager/update_manager.php index 45692f9c28..e6b49236a9 100644 --- a/pandora_console/godmode/update_manager/update_manager.php +++ b/pandora_console/godmode/update_manager/update_manager.php @@ -53,14 +53,14 @@ ui_print_page_header($title, switch ($tab) { case 'setup': - require("update_manager.setup.php"); + require($config['homedir'] . "/update_manager.setup.php"); break; case 'offline': - require("update_manager.offline.php"); + require($config['homedir'] . "/update_manager.offline.php"); break; case 'online': default: - require("update_manager.online.php"); + require($config['homedir'] . "/update_manager.online.php"); break; } ?> \ No newline at end of file diff --git a/pandora_console/images/update.png b/pandora_console/images/update.png new file mode 100644 index 0000000000000000000000000000000000000000..d0f2275ac2be6fe4aaa1672be68bd48cbe5f52db GIT binary patch literal 507 zcmVJNRCwBAU?2$W?d=T!0tiE-0jpAg z0AfZ`k)WWUa2|*+K79D_22AijPGdl}0I>s%4-h~^x$8f=ks!hQ$O>@j><7_ISmX*o z1PhwqKO8)GkP*ZO2q2OXBbvSMp-e-di4UL-yZ~eyV)Y&YuPdN?;sa(}!NCI{R={u) znoS3Q7#0PBKxcg*%hLb>L_37d?fao_2Dw!LIii@*(iX^*8=(pgK*bAig{=S<@dj7| zWkE|D*n(*S5QAcy5#|h#i5IYW3fTZAr~q32dHfafHphg z3TKdK0+F0Y9sme1nj&Tj0;(TaR!IWOstZJ?J+wk%J~Tk_0Z>3Y0>cl(5*93mf)dPm zXs*40EklAzS!m9_fG@M+icOFOfk2HLhzuf7I;uxbCfL#yC>`xbS45-*u&nF|OJYno z)GCk>$FSfrz?xcsG5-LV0>Hij(mR3tA4Iwu6bBX1k|24M*}DpfK~_>kmNxH xQ$DQJK(8Pe3AhM3