2010-05-05 Miguel de Dios <miguel.dedios@artica.es>

* godmode/reporting/visual_console_builder.php: added the extract size of
	image and save.
	Fixes: #2992401



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-05-05 16:54:03 +00:00
parent 4ec30eec71
commit f7e4ba8e99
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-05-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.php: added the extract size of
image and save.
Fixes: #2992401
2010-05-05 Miguel de Dios <miguel.dedios@artica.es> 2010-05-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed notices php messages when the * include/functions_visual_map.php: fixed notices php messages when the

View File

@ -59,6 +59,10 @@ switch ($activeTab) {
} }
break; break;
case 'save': case 'save':
$sizeBackground = getimagesize($config['homedir'] . '/images/console/background/' . $background);
$values['width'] = $sizeBackground[0];
$values['height'] = $sizeBackground[1];
if($values['name'] != "" && $values['background']) if($values['name'] != "" && $values['background'])
$idVisualConsole = process_sql_insert('tlayout', $values); $idVisualConsole = process_sql_insert('tlayout', $values);
else else