Esempio n. 1
0
                if (Subcategory::edit($conn, $subcat_id, $sc_name)) {
                    $data['status'] = 'OK';
                    $data['data'] = _('Subcategory renamed successfully');
                }
            } else {
                $data['data'] = _('Error! This subcategory already exists');
            }
        } else {
            $data['data'] = ossim_get_error_clean();
        }
    }
    ossim_clean_error();
}
if ($action != '' && $action != 'expand') {
    Category::clone_data($conn);
    Subcategory::clone_data($conn);
}
$list_categories = Category::get_list($conn);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><?php 
echo _('Priority and Reliability configuration');
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
	<meta http-equiv=="Pragma" content="no-cache"/>
	<script type="text/javascript" src="../js/jquery.min.js"></script>
	<script type="text/javascript" src="../js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="../js/jquery.simpletip.js"></script>