本文整理汇总了PHP中draw_navigation_text函数的典型用法代码示例。如果您正苦于以下问题:PHP draw_navigation_text函数的具体用法?PHP draw_navigation_text怎么用?PHP draw_navigation_text使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了draw_navigation_text函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: draw_navigation_text
</tr>
<tr height="2" colspan="2" bgcolor="#183c8f" class="noprint">
<td colspan="2">
<img src="<?php
echo $config['url_path'];
?>
images/transparent_line.gif" width="170" height="2" border="0"><br>
</td>
</tr>
<tr height="5" bgcolor="#e9e9e9" class="noprint">
<td colspan="2">
<table width="100%">
<tr>
<td>
<?php
echo draw_navigation_text();
?>
</td>
<td align="right">
<?php
if (isset($_SESSION["sess_user_id"]) && $using_guest_account == false) {
?>
Logged in as <strong><?php
print db_fetch_cell("select username from user_auth where id=" . $_SESSION["sess_user_id"]);
?>
</strong> (<a href="<?php
echo $config['url_path'];
?>
logout.php">Logout</a>)
<?php
}
示例2: grow_right_pane_tree
//.........这里部分代码省略.........
<option value='5' <?php
print get_request_var_request('columns') == '5' ? ' selected' : '';
?>
>5 Columns</option>
<?php
}
?>
</select>
</td>
<td>
<label for='thumbnails'>Thumbnails:</label>
</td>
<td>
<input id='thumbnails' type='checkbox' name='thumbnails' onClick='changeFilter()' <?php
print $_REQUEST['thumbnails'] == 'true' ? 'checked' : '';
?>
>
</td>
<td>
<input type='button' value='Go' title='Set/Refresh Filter' onClick='changeFilter()'>
</td>
<td>
<input type='button' value='Clear' title='Clear Filters' onClick='clearFilter()'>
</td>
</tr>
</table>
</form>
</td>
</tr>
<script type='text/javascript'>
$(function() {
var navBar = "<div id='navBar' class='navBar'><?php
print draw_navigation_text();
?>
</div>";
if (navBar != '') {
$('#navBar').replaceWith(navBar);
}
setupBreadcrumbs();
});
function changeFilter() {
$.get('graph_view.php?action=tree_content&tree_id=<?php
print $_SESSION['sess_graph_tree_tree_id'];
?>
&leaf_id=<?php
print $_SESSION['sess_graph_tree_leaf_id'];
?>
&host_group_data=<?php
print $_SESSION['sess_graph_tree_host_group_data'];
?>
&graphs='+$('#graphs').val()+'&filter='+$('#filter').val()+'&thumbnails='+$('#thumbnails').is(':checked')+'&columns='+$('#columns').val()+'&nodeid='+'<?php
print $_SESSION['sess_graph_tree_nodeid'];
?>
', function(data) {
$('#main').html(data);
applySkin();
});
}
function clearFilter() {
$.get('graph_view.php?action=tree_content&tree_id=<?php
print $_SESSION['sess_graph_tree_tree_id'];
?>
&leaf_id=<?php
示例3: draw_navigation_text
</td>
</tr>
</table>
</td>
</tr>
<tr height="2" colspan="2" bgcolor="#183c8f" class="noprint">
<td colspan="2">
<img src="images/transparent_line.gif" width="170" height="2" border="0"><br>
</td>
</tr>
<tr height="5" bgcolor="#e9e9e9" class="noprint">
<td colspan="2">
<table width="100%">
<tr>
<td>
<?php draw_navigation_text();?>
</td>
<td align="right">
<?php if ((isset($_SESSION["sess_user_id"])) && ($using_guest_account == false)) { ?>
Logged in as <strong><?php print db_fetch_cell("select username from user_auth where id=" . $_SESSION["sess_user_id"]);?></strong> (<a href="logout.php">Logout</a>)
<?php } ?>
</td>
</tr>
</table>
</td>
</tr>
<tr class="noprint">
<td bgcolor="#efefef" colspan="1" height="8" style="background-image: url(images/shadow_gray.gif); background-repeat: repeat-x; border-right: #aaaaaa 1px solid;">
<img src="images/transparent_line.gif" width="<?php print read_graph_config_option("default_dual_pane_width");?>" height="2" border="0"><br>
</td>
<td bgcolor="#ffffff" colspan="1" height="8" style="background-image: url(images/shadow.gif); background-repeat: repeat-x;">
示例4: draw_header_tab
<body id='body'>
<script type="text/javascript" src="<?php echo CACTI_URL_PATH; ?>include/js/wztooltip/wz_tooltip.js"></script>
<div id='header'>
<div id='logobar' class='logobar'></div>
<div id='navbar' class='navbar'>
<div id='navbar_l'>
<ul>
<?php echo draw_header_tab("console", __("Console"), CACTI_URL_PATH . "index.php");?>
<?php echo draw_header_tab("graphs", __("Graphs"), CACTI_URL_PATH . "graph_view.php");?>
<?php api_plugin_hook('top_header_tabs'); ?>
</ul>
</div>
</div>
<div id='navbrcrumb'>
<div style='float:left;'>
<?php print draw_navigation_text() . "\n";?>
</div>
<div style='float:right;'>
<a href="<?php echo cacti_wiki_url();?>" target="_blank">
<img src="<?php echo CACTI_URL_PATH; ?>images/help.gif" title="<?php print __("Help");?>" alt="<?php print __("Help");?>" align="top">
</a>
</div>
<div style='float:right'>
<?php if (read_config_option("auth_method") != 0) {
if(read_config_option('i18n_timezone_support') != 0) {
?><a href="#" id="menu_timezones" rel="<?php echo CACTI_URL_PATH; ?>"><span id="date_time_format"><strong><?php echo __date("D, " . date_time_format() . " T");?></strong></span></a><?php
}else {
?><span id="date_time_format"><strong><?php echo __date("D, " . date_time_format() . " T");?></strong></span><?php
}
?>
<?php print __("Logged in as");?> <strong><?php print db_fetch_cell("select username from user_auth where id=" . $_SESSION["sess_user_id"]);?></strong> (<a href="<?php echo CACTI_URL_PATH; ?>logout.php"><?php print __("Logout");?></a>)