ona  18.1.1
About: OpenNetAdmin provides a database managed inventory of your IP network (with Web and CLI interface).
  Fossies Dox: ona-18.1.1.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

app_advanced_search.inc.php File Reference

Go to the source code of this file.

Functions

 ws_more_host_options ($window_name, $form='')
 

Variables

global $onadb
 
 $subnet_type_list = '<option value="">&nbsp;</option>\n'
 
 $record ['display_name'] = htmlentities($record['display_name'])
 
foreach($records as $record) $window ['title'] = "Advanced Search"
 
 $window ['js']
 
 _button = el('qf_location_{$window_name}')
 
_button style cursor = 'pointer'
 
_button onclick
 
 EOL
 
 $window ['html']
 
gt
 
</a ></td >< td align="left" class="asearch-line"> & nbsp
 

Function Documentation

◆ ws_more_host_options()

ws_more_host_options (   $window_name,
  $form = '' 
)

Variable Documentation

◆ $onadb

global $onadb

Definition at line 6 of file app_advanced_search.inc.php.

Referenced by ws_more_host_options().

◆ $record

$record[ 'display_name'] = htmlentities($record['display_name'])

◆ $subnet_type_list

$subnet_type_list = '<option value="">&nbsp;</option>\n'

◆ $window [1/3]

$window[ 'html']
Initial value:
= <<<EOL
<!-- Tab for selecting a subnet or host search -->
<table width="100%" cellspacing="0" border="0" cellpadding="0" style="margin-top: 0.2em">
<tr>
<td id="host_search_tab" nowrap="true" class="padding"
style="cursor: pointer; {$style['borderT']}; {$style['borderB']}; {$style['borderR']}; background-color: {$color['window_tab_active_bg']};"
onClick="el('subnet_search').style.display = 'none'; el('subnet_search_tab').style.backgroundColor = '{$color['window_tab_inactive_bg']}';
el('host_search').style.display = 'block'; el('host_search_tab').style.backgroundColor = '{$color['window_tab_active_bg']}';">
Host search</td>
<td id="subnet_search_tab" nowrap="true" class="padding"
style="cursor: pointer; {$style['borderT']}; {$style['borderB']}; {$style['borderR']};"
onClick="el('host_search').style.display = 'none'; el('host_search_tab').style.backgroundColor = '{$color['window_tab_inactive_bg']}';
el('subnet_search').style.display = 'block'; el('subnet_search_tab').style.backgroundColor = '{$color['window_tab_active_bg']}';">
Subnet search</td>
<td width="80%" class="padding" style="{$style['borderB']};">&nbsp

Definition at line 71 of file app_advanced_search.inc.php.

◆ $window [2/3]

$window[ 'js']
Initial value:
= <<<EOL
el('{$window_name}_title_r').innerHTML =
'&nbsp;<a onClick="toggle_window(\'{$window_name}\');" title="Minimize window" style="cursor: pointer;"><img src="{$images}/icon_minimize.gif" border="0" /></a>' +
el('{$window_name}_title_r').innerHTML

Definition at line 23 of file app_advanced_search.inc.php.

◆ $window [3/3]

foreach ( $records as $record) $window[ 'title'] = "Advanced Search"

Definition at line 20 of file app_advanced_search.inc.php.

◆ _button

_button = el('qf_location_{$window_name}')

Definition at line 48 of file app_advanced_search.inc.php.

Referenced by ws_editor(), and ws_search_results_submit().

◆ cursor

◆ EOL

</td><td align="right" class="asearch-line"><input class="button" type="reset" name="reset" value="Clear"><input class="button" type="button" name="search" value="Search" accesskey="s" onClick="toggle_window('{$window_name}'); xajax_window_submit('search_results', xajax.getFormValues('host_search_form'));"></td></tr></table></form><!-- subnet Search Tab --><form id="subnet_search_form"><input type="hidden" name="search_form_id" value="subnet_search_form"><table id="subnet_search" style="display: none; background-color: {$color['window_content_bg']};" width="100%" cellspacing="0" border="0" cellpadding="0"><tr><td align="right" class="asearch-line"><u> V</u> lan</td><td align="left" class="asearch-line"><input id="vlan" name="vlandesc" type="text" class="edit" size="32" accesskey="v" /></td></tr><tr><td align="right" class="asearch-line"> Subnet<u> T</u> ype</td><td align="left" class="asearch-line"><select id="nettype" name="nettype" class="edit" accesskey="u" accesskey="t" ></td><td align="right" class="asearch-line"><input class="button" type="reset" name="reset" value="Clear"><input class="button" type="submit" name="search" value="Search" accesskey="s" onClick="toggle_window('{$window_name}'); xajax_window_submit('search_results', xajax.getFormValues('subnet_search_form'));"></td></tr></table></form> EOL

Definition at line 68 of file app_advanced_search.inc.php.

Referenced by ws_more_host_options().

◆ gt

& gt

Definition at line 164 of file app_advanced_search.inc.php.

◆ nbsp

</td></tr><tr><td align="left" colspan="2" id="more_host_options"></td></tr><tr><td align="right" class="asearch-line"> & nbsp

Definition at line 167 of file app_advanced_search.inc.php.

◆ onclick

_button onclick
Initial value:
=
function(ev) {
if (!ev) ev = event;
wwTT(this, ev,
'id', 'tt_qf_location_{$window_name}',
'type', 'static',
'direction', 'south',
'delay', 0,
'styleClass', 'wwTT_qf',
'javascript',
"xajax_window_submit('tooltips', '" +
"tooltip=>qf_location," +
"id=>tt_qf_location_{$window_name}," +
"input_id=>qf_location_{$window_name}');"
);
}

Definition at line 50 of file app_advanced_search.inc.php.

Referenced by get_switchport_template_select(), rpt_output_html(), workspace_plugin_loader(), ws_display(), ws_editor(), ws_menu_control_submit(), ws_rewrite_history(), and ws_search_results_submit().

nbsp
</a ></td >< td align="left" class="asearch-line"> & nbsp
Definition: app_advanced_search.inc.php:167
EOL
EOL
Definition: app_advanced_search.inc.php:68