mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Fixed PHP warnings.
This commit is contained in:
parent
0ef4510990
commit
1b766d9e3e
@ -820,9 +820,17 @@ function html_print_extended_select_for_cron ($hour = '*', $minute = '*', $mday
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Days of the week
|
# Days of the week
|
||||||
$wdays = array(__('Sunday'), __('Monday'), __('Tuesday'), __('Wednesday'), __('Thursday'), __('Friday'), __('Saturday'));
|
$wdays = array(
|
||||||
|
__('Sunday'),
|
||||||
|
__('Monday'),
|
||||||
|
__('Tuesday'),
|
||||||
|
__('Wednesday'),
|
||||||
|
__('Thursday'),
|
||||||
|
__('Friday'),
|
||||||
|
__('Saturday'));
|
||||||
|
|
||||||
# Print selectors
|
# Print selectors
|
||||||
|
$table = new stdClass();
|
||||||
$table->id = 'cron';
|
$table->id = 'cron';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'databox data';
|
$table->class = 'databox data';
|
||||||
@ -1012,7 +1020,10 @@ function html_print_div ($options, $return = false) {
|
|||||||
*
|
*
|
||||||
* @return string HTML code if return parameter is true.
|
* @return string HTML code if return parameter is true.
|
||||||
*/
|
*/
|
||||||
function html_print_input_password ($name, $value, $alt = '', $size = 50, $maxlength = 255, $return = false, $disabled = false) {
|
function html_print_input_password ($name, $value, $alt = '',
|
||||||
|
$size = 50, $maxlength = 255, $return = false, $disabled = false,
|
||||||
|
$required = false) {
|
||||||
|
|
||||||
if ($maxlength == 0)
|
if ($maxlength == 0)
|
||||||
$maxlength = 255;
|
$maxlength = 255;
|
||||||
|
|
||||||
|
@ -487,6 +487,7 @@ function snmp_browser_print_oid ($oid = array(), $custom_action = '',
|
|||||||
function snmp_browser_print_container ($return = false, $width = '100%', $height = '500px', $display = '') {
|
function snmp_browser_print_container ($return = false, $width = '100%', $height = '500px', $display = '') {
|
||||||
|
|
||||||
// Target selection
|
// Target selection
|
||||||
|
$table = new stdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'databox filters';
|
$table->class = 'databox filters';
|
||||||
$table->size = array ();
|
$table->size = array ();
|
||||||
@ -510,6 +511,7 @@ function snmp_browser_print_container ($return = false, $width = '100%', $height
|
|||||||
$table->data[0][4] = html_print_button(__('Browse'), 'browse', false, 'snmpBrowse()', 'class="sub search" style="margin-top:0px;"', true);
|
$table->data[0][4] = html_print_button(__('Browse'), 'browse', false, 'snmpBrowse()', 'class="sub search" style="margin-top:0px;"', true);
|
||||||
|
|
||||||
// SNMP v3 options
|
// SNMP v3 options
|
||||||
|
$table3 = new stdClass();
|
||||||
$table3->width = '100%';
|
$table3->width = '100%';
|
||||||
|
|
||||||
$table3->valign[0] = '';
|
$table3->valign[0] = '';
|
||||||
@ -533,6 +535,7 @@ function snmp_browser_print_container ($return = false, $width = '100%', $height
|
|||||||
'authNoPriv' => __('Auth and not privacy method'), 'authPriv' => __('Auth and privacy method')), 'snmp3_browser_security_level', '', '', '', '', true);
|
'authNoPriv' => __('Auth and not privacy method'), 'authPriv' => __('Auth and privacy method')), 'snmp3_browser_security_level', '', '', '', '', true);
|
||||||
|
|
||||||
// Search tools
|
// Search tools
|
||||||
|
$table2 = new stdClass();
|
||||||
$table2->width = '100%';
|
$table2->width = '100%';
|
||||||
$table2->class = 'databox filters';
|
$table2->class = 'databox filters';
|
||||||
$table2->size = array ();
|
$table2->size = array ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user