Fixed styles and errors of php

This commit is contained in:
m-lopez-f 2015-07-14 15:59:39 +02:00
parent 46516385e9
commit c4d6c18b25
7 changed files with 21 additions and 51 deletions

View File

@ -45,7 +45,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<div style="">';
echo '<table cellspacing=0 cellpadding=0 style="border:1px solid #FFF; width:100%; height: 100%">';
echo '<tr>';
echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<td style="border:1px solid #FFF; text-align:center;">';
echo '<a href="' . ui_get_full_url(false) . 'general/pandora_help.php?id=main_help" target="_blank" style="text-decoration:none;">' .
html_print_image('images/online_help.png', true,
array("alt" => __('Online help'), "border" => 0)) . '</a>';
@ -53,7 +53,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<a style="font-size: 9pt;" href="' . ui_get_full_url(false) . 'general/pandora_help.php?id=main_help" target="_blank">' . __('Online help') . '</a>';
echo '</td>';
echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<td style="border:1px solid #FFF; text-align:center;">';
echo '<a href="http://pandorafms.com/" target="_blank" style="text-decoration:none;">' .
html_print_image('images/enterprise_version.png', true,
array("alt" => __('Enterprise version'), "border" => 0)) . '</a>';
@ -61,7 +61,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<a style="font-size: 9pt;" href="http://pandorafms.com/" target="_blank">' . __('Enterprise version') . '</a>';
echo '</td>';
echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<td style="border:1px solid #FFF; text-align:center;">';
echo '<a href="http://openideas.info/smf/" target="_blank" style="text-decoration:none;">' .
html_print_image('images/support.png', true,
array("alt" => __('Support'), "border" => 0)) . '</a>';
@ -69,7 +69,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<a style="font-size: 9pt;" href="http://openideas.info/smf/" target="_blank">' . __('Support') . ' / ' . __('Forums') . '</a>';
echo '</td>';
echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<td style="border:1px solid #FFF; text-align:center;">';
echo '<a href="http://pandorafms.com/pandora/doc/en" target="_blank" style="text-decoration:none;">' .
html_print_image('images/documentation.png', true,
array("alt" => __('Documentation'), "border" => 0)) . '</a>';

View File

@ -39,8 +39,8 @@ if (isset($_GET["server"])) {
$table->cellpadding=4;
$table->cellspacing=4;
$table->width='98%';
$table->class="databox_color";
$table->width='100%';
$table->class="databox filters";
$table->data[] = array (__('Name'),$row["name"]);
$table->data[] = array (__('IP Address'),html_print_input_text ('address',$row["ip_address"],'',50,0,true));
@ -48,7 +48,7 @@ if (isset($_GET["server"])) {
html_print_table ($table);
echo '<div class="action-buttons" style="width: 98%">';
echo '<div class="action-buttons" style="width: 100%">';
echo '<input type="submit" class="sub upd" value="'.__('Update').'">';
echo "</div>";

View File

@ -24,6 +24,7 @@ $table->width = '100%';
$table->data = array ();
$table->size = array();
$table->size[0] = '30%';
$table->style[0] = 'font-weight:bold';
$table->size[1] = '70%';
// Current config["language"] could be set by user, not taken from global setup !

View File

@ -594,7 +594,7 @@ html_print_table ($table_other);
echo "</fieldset>";
echo '<div class="action-buttons" style="width: '.$table->width.'">';
echo '<div class="action-buttons" style="width: '.$table_other->width.'">';
html_print_submit_button (__('Update'), 'update_button', false, 'class="sub upd"');
echo '</div>';
echo '</form>';

View File

@ -2473,6 +2473,10 @@ function grafico_eventos_grupo ($width = 300, $height = 200, $url = "", $meta =
$water_mark = array('file' => $config['homedir'] . "/images/logo_vertical_water.png",
'url' => ui_get_full_url("images/logo_vertical_water.png", false, false, false));
}
else
{
$water_mark = array();
}
return pie3d_graph($config['flash_charts'], $data, $width, $height,
__('Other'), '', $water_mark,
@ -2607,6 +2611,9 @@ function grafico_eventos_total($filter = "", $width = 320, $height = 200, $noWat
'file' => $config['homedir'] . "/images/logo_vertical_water.png",
'url' => ui_get_full_url("/images/logo_vertical_water.png", false, false, false));
}
else {
$water_mark = array();
}
return pie3d_graph($config['flash_charts'], $data, $width, $height,
__('Other'), '', $water_mark,

View File

@ -402,7 +402,7 @@ div#foot {
background-position: center center;
}
}
@media screen and (max-width: 2500px) { /* Specific to this particular image */
@media screen and (min-width: 2000px) { /* Specific to this particular image */
#login_body {
background-image: url("../../images/backgrounds/fondo_madera_bn_2500.jpg");
background-repeat: repeat;
@ -2259,46 +2259,7 @@ ul.operation li a:hover {
.sub_subMenu:hover{
background-color: #585858 !important;
}
/*
ul.operation ul.submenu li a:hover {
background: #373737 url('../../images/menu_op_mark.png') repeat-y right;
#font-weight: bold;
}
ul.operation ul.submenu li .SubNoLink:hover {
background: url('../../images/menu_op_mark.png') repeat-y right !important;
}
ul.operation ul.submenu li.selected>a {
background: #222 url('../../images/menu_op_mark.png') repeat-y right;
}
ul.operation ul.submenu li.selected .SubNoLink {
background: url('../../images/menu_op_mark.png') repeat-y right !important;
}
ul.godmode li a:hover {
#font-weight: bold;
}
ul.godmode ul.submenu li a:hover {
background: #222 url('../../images/menu_gm_mark.png') repeat-y right;
#font-weight: bold;
}
ul.godmode ul.submenu li .SubNoLink:hover {
background: url('../../images/menu_gm_mark.png') repeat-y right !important;
#font-weight: bold;
}
ul.godmode ul.submenu li.selected>a {
background: #222 url('../../images/menu_gm_mark.png') repeat-y right;
}
ul.godmode ul.submenu li.selected .SubNoLink {
background: url('../../images/menu_gm_mark.png') repeat-y right !important;
}
*/
li.links a:hover {
#font-weight: bold;
}
@ -2486,7 +2447,6 @@ a.tip {
}
a.tip>img {
vertical-align: top !important;
margin-left: 2px;
margin-right: 2px;
}

View File

@ -190,7 +190,7 @@ if (defined('METACONSOLE')) {
$table->head_colspan[0] = 5;
$table->headstyle[0] = 'text-align: center';
}
$table->style[2] = 'width: 175px;';
$table->style[2] = 'width: 200px;';
$data = array();
$data[0] = '<b>' . __('User ID') . '</b>';
@ -350,7 +350,7 @@ $data[0] = __('Double authentication');
$data[0] .= $jump;
$data[0] .= html_print_checkbox('double_auth', 1, $double_auth_enabled, true);
if ($double_auth_enabled) {
$data[0] .= '&nbsp;&nbsp;';
$data[0] .= $jump;
$data[0] .= html_print_button(__('Show information'), 'show_info', false, 'javascript:show_double_auth_info();', '', true);
}
// Dialog
@ -410,10 +410,12 @@ $table->data = array ();
$table->head = array ();
$table->align = array ();
$table->style = array ();
if (!defined('METACONSOLE')) {
$table->style[0] = 'font-weight: bold';
$table->style[1] = 'font-weight: bold';
}
$table->head[0] = __('Profile name');
$table->head[1] = __('Group');
$table->head[2] = __('Tags');