mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
2014-06-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/license.php: fixed the erased the update extension. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
71ad99ff03
commit
c86b2da9d8
@ -1,3 +1,7 @@
|
|||||||
|
2014-06-13 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/setup/license.php: fixed the erased the update extension.
|
||||||
|
|
||||||
2014-06-13 Sergio Martin <sergio.martin@artica.es>
|
2014-06-13 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* extensions/realtime_graphs.php
|
* extensions/realtime_graphs.php
|
||||||
|
@ -28,7 +28,8 @@ ui_print_page_header (__('License management'), "images/extensions.png", false,
|
|||||||
|
|
||||||
if ($update_settings) {
|
if ($update_settings) {
|
||||||
foreach ($_POST['keys'] as $key => $value) {
|
foreach ($_POST['keys'] as $key => $value) {
|
||||||
um_db_update_setting ($key, $value);
|
db_process_sql_update('tupdate_settings',
|
||||||
|
array('value' => $value), array('key' => $key));
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_print_success_message(__('License updated'));
|
ui_print_success_message(__('License updated'));
|
||||||
@ -38,8 +39,12 @@ ui_require_javascript_file_enterprise('load_enterprise');
|
|||||||
enterprise_include_once('include/functions_license.php');
|
enterprise_include_once('include/functions_license.php');
|
||||||
$license = enterprise_hook('license_get_info');
|
$license = enterprise_hook('license_get_info');
|
||||||
|
|
||||||
$settings = null;
|
$rows = db_get_all_rows_in_table('tupdate_settings');
|
||||||
$settings = um_db_load_settings ();
|
|
||||||
|
$settings = new StdClass;
|
||||||
|
foreach ($rows as $row) {
|
||||||
|
$settings->$row['key'] = $row['value'];
|
||||||
|
}
|
||||||
|
|
||||||
echo '<script type="text/javascript">';
|
echo '<script type="text/javascript">';
|
||||||
print_js_var_enteprise();
|
print_js_var_enteprise();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user