2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: cleaned source code style. * include/functions_ui.php: fixed in the function "print_page_header" the check if the option is a separator that it was true when the key was zero. Fixes: #3115621 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8038b1b8b1
commit
7258d0de88
|
@ -1,3 +1,13 @@
|
|||
2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/gis_maps/render_view.php: cleaned source code style.
|
||||
|
||||
* include/functions_ui.php: fixed in the function
|
||||
"print_page_header" the check if the option is a separator that it
|
||||
was true when the key was zero.
|
||||
|
||||
Fixes: #3115621
|
||||
|
||||
2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* extensions/extension_uploader.php: add first version of extension
|
||||
|
|
|
@ -1580,20 +1580,22 @@ function print_page_header ($title, $icon = "", $return = false, $help = "", $go
|
|||
if (is_array($options)) {
|
||||
$buffer .= '<div id="menu_tab"><ul class="mn">';
|
||||
foreach ($options as $key => $option) {
|
||||
if ($key == 'separator') {
|
||||
if ($key === 'separator') {
|
||||
$buffer .= '<li class='.$separator_class.'>';
|
||||
$buffer .= '</li>';
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
if (is_array($option)) {
|
||||
$class = 'nomn';
|
||||
if ($option['active']) {
|
||||
$class = 'nomn_high';
|
||||
}
|
||||
|
||||
$buffer .= '<li class="' . $class . '">';
|
||||
$buffer .= $option['text'];
|
||||
$buffer .= '</li>';
|
||||
} else {
|
||||
$class = 'nomn';
|
||||
if ($option['active']) {
|
||||
$class = 'nomn_high';
|
||||
}
|
||||
|
||||
$buffer .= '<li class="' . $class . '">';
|
||||
$buffer .= $option['text'];
|
||||
$buffer .= '</li>';
|
||||
}
|
||||
else {
|
||||
$buffer .= '<li class="nomn">';
|
||||
$buffer .= $option;
|
||||
$buffer .= '</li>';
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
// Please see http://pandorafms.org for full contribution list
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
|
Loading…
Reference in New Issue