2012-06-04 Vanessa Gil <vanessa.gil@artica.es>

* godmode/setup/os.list.php: Fixed bug: you can delete
	operating systems defined by default in the installation.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-06-04 08:10:26 +00:00
parent 83a213bbb4
commit 8bd6880a60
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-06-04 Vanessa Gil <vanessa.gil@artica.es>
* godmode/setup/os.list.php: Fixed bug: you can delete
operating systems defined by default in the installation.
2012-06-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/min.png

View File

@ -49,7 +49,7 @@ foreach ($osList as $os) {
$data[] = $os['id_os'];
$data[] = '<a href="index.php?sec=gsetup&sec2=godmode/setup/os&action=edit&tab=builder&id_os=' . $os['id_os'] . '">' . io_safe_output($os['name']) . '</a>';
$data[] = ui_print_truncate_text(io_safe_output($os['description']), 25, true, true);
if ($os['id_os'] > 13) {
if ($os['id_os'] > 16) {
$data[] = '<a href="index.php?sec=gsetup&sec2=godmode/setup/os&action=delete&tab=list&id_os=' . $os['id_os'] . '">' . html_print_image("images/cross.png", true) . '</a>';
}
else {