~ubuntu-branches/ubuntu/maverick/cacti/maverick-security

« back to all changes in this revision

Viewing changes to settings.php

  • Committer: Bazaar Package Importer
  • Author(s): Sean Finney
  • Date: 2010-08-17 22:22:02 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100817222202-4a173d1dfbfswz71
Tags: 0.8.7g-1
* New upstream release (Closes: #592465).
* Update context in 05_no-adodb.patch to remove fuzz.
* Remove "official" patches from previous release.
* Remove 563955_undefined_index_local_data_id.patch, incorporated upstream.
* Remove CVE-2010-2092.patch, incorporated upstream.
* Import new batch of "official" upstream patches.
* Update apache configuration to work in FastCGI deployments (Closes: #593203).
   - thanks to Thijs Kinkhorst <thijs@uvt.nl> (Closes: #578909).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/*
3
3
 +-------------------------------------------------------------------------+
4
 
 | Copyright (C) 2004-2009 The Cacti Group                                 |
 
4
 | Copyright (C) 2004-2010 The Cacti Group                                 |
5
5
 |                                                                         |
6
6
 | This program is free software; you can redistribute it and/or           |
7
7
 | modify it under the terms of the GNU General Public License             |
73
73
        if (sizeof($tabs) > 0) {
74
74
        foreach (array_keys($tabs) as $tab_short_name) {
75
75
                print "<td " . (($tab_short_name == $current_tab) ? "bgcolor='silver'" : "bgcolor='#DFDFDF'") . " nowrap='nowrap' width='" . (strlen($tabs[$tab_short_name]) * 9) . "' align='center' class='tab'>
76
 
                                <span class='textHeader'><a href='settings.php?tab=$tab_short_name'>$tabs[$tab_short_name]</a></span>
 
76
                                <span class='textHeader'><a href='" . htmlspecialchars("settings.php?tab=$tab_short_name") . "'>$tabs[$tab_short_name]</a></span>
77
77
                                </td>\n
78
78
                                <td width='1'></td>\n";
79
79
        }
115
115
 
116
116
        form_hidden_box("tab", $current_tab, "");
117
117
 
118
 
        form_save_button("settings.php?tab=$current_tab", "save");
 
118
        form_save_button("", "save");
119
119
 
120
120
        include("./include/bottom_footer.php");
121
121