2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/menu.php: Made short tag, normal tag * include/functions.php: Got rid of references to language files * godmode/servers/plugin.php: Made proper english * godmode/servers/manage_recontask.php: Made proper HTML * godmode/profiles/profile_list.php: Translation of help strings * godmode/agentes/manage_config_remote.php: Fixed typo that generated errors git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
fbc4b49e73
commit
b9c19ddcb0
|
@ -1,3 +1,17 @@
|
|||
2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||
|
||||
* operation/menu.php: Made short tag, normal tag
|
||||
|
||||
* include/functions.php: Got rid of references to language files
|
||||
|
||||
* godmode/servers/plugin.php: Made proper english
|
||||
|
||||
* godmode/servers/manage_recontask.php: Made proper HTML
|
||||
|
||||
* godmode/profiles/profile_list.php: Translation of help strings
|
||||
|
||||
* godmode/agentes/manage_config_remote.php: Fixed typo that generated errors
|
||||
|
||||
2008-08-12 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* pandoradb_data.sql: Added default languages.
|
||||
|
|
|
@ -138,7 +138,7 @@ if ((isset($_GET["operacion"])) AND ($update_agent == -1) AND ($update_group ==
|
|||
|
||||
// Form buttons
|
||||
echo '<td align="right" class="datosb">';
|
||||
echo '<input type="submit" name="copy" class="sub next" value="'.w__('Replicate configuration').'" onClick="if (!confirm("'.__('Are you sure?').'")) return false;>';
|
||||
echo '<input type="submit" name="copy" class="sub next" value="'.__('Replicate configuration').'" onClick="if (!confirm("'.__('Are you sure?').'")) return false;>';
|
||||
echo '<tr><td colspan=2>';
|
||||
echo '</div></td></tr>';
|
||||
echo '</table>';
|
||||
|
|
|
@ -214,25 +214,25 @@ if (isset ($id_perfil)){ // There are values defined, let's show form with data
|
|||
echo "<tr>";
|
||||
echo "<th width='180px'><font size=1>".__('Profiles');
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>IR<a href='#' class='tipp'> <span>".$help_label["IR"]."</span></a>";
|
||||
<font size=1>IR<a href='#' class='tipp'> <span>".__("System Incidents Reading rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>IW<a href='#' class='tipp'> <span>".$help_label["IW"]."</span></a>";
|
||||
<font size=1>IW<a href='#' class='tipp'> <span>".__("System Incidents Writing rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>IM<a href='#' class='tipp'> <span>".$help_label["IM"]."</span></a>";
|
||||
<font size=1>IM<a href='#' class='tipp'> <span>".__("System Incidents Management rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>AR<a href='#' class='tipp'> <span>".$help_label["AR"]."</span></a>";
|
||||
<font size=1>AR<a href='#' class='tipp'> <span>".__("Agents Reading rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>AW<a href='#' class='tipp'> <span>".$help_label["AW"]."</span></a>";
|
||||
<font size=1>AW<a href='#' class='tipp'> <span>".__("Agents Writing rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>LW<a href='#' class='tipp'> <span>".$help_label["LW"]."</span></a>";
|
||||
<font size=1>LW<a href='#' class='tipp'> <span>".__("Alerts Edition rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>UM<a href='#' class='tipp'> <span>".$help_label["UM"]."</span></a>";
|
||||
<font size=1>UM<a href='#' class='tipp'> <span>".__("Users Management rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>DM<a href='#' class='tipp'> <span>".$help_label["DM"]."</span></a>";
|
||||
<font size=1>DM<a href='#' class='tipp'> <span>".__("Database Management rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>LM<a href='#' class='tipp'> <span>".$help_label["LM"]."</span></a>";
|
||||
<font size=1>LM<a href='#' class='tipp'> <span>".__("Alerts Management rights")."</span></a>";
|
||||
echo "</th><th width='40px'>
|
||||
<font size=1>PM<a href='#' class='tipp'> <span>".$help_label["PM"]."</span></a>";
|
||||
<font size=1>PM<a href='#' class='tipp'> <span>".__("Pandora System Management rights")."</span></a>";
|
||||
echo "</th><th width='40px'>".__('Delete')."</th></tr>";
|
||||
while ($rowdup=mysql_fetch_array($resq1)){
|
||||
$id_perfil = $rowdup["id_perfil"];
|
||||
|
|
|
@ -93,15 +93,15 @@ $result=mysql_query($query);
|
|||
$color=1;
|
||||
if (mysql_num_rows($result)){
|
||||
echo "<table cellpadding='4' cellspacing='4' width='700' class='databox'>";
|
||||
echo "<tr><th class='datos'>".__('Name');
|
||||
echo "<th class='datos'>".__('Type');
|
||||
echo "<th class='datos'>".__('Network');
|
||||
echo "<th class='datos'>".__('Network profile');
|
||||
echo "<th class='datos'>".__('Group');
|
||||
echo "<th class='datos'>".__('Incident');
|
||||
echo "<th class='datos'>".__('OS');
|
||||
echo "<th class='datos'>".__('Interval');
|
||||
echo "<th class='datos'>".__('Action');
|
||||
echo "<tr><th class='datos'>".__('Name')."</th>";
|
||||
echo "<th class='datos'>".__('Type')."</th>";
|
||||
echo "<th class='datos'>".__('Network')."</th>";
|
||||
echo "<th class='datos'>".__('Network profile')."</th>";
|
||||
echo "<th class='datos'>".__('Group')."</th>";
|
||||
echo "<th class='datos'>".__('Incident')."</th>";
|
||||
echo "<th class='datos'>".__('OS')."</th>";
|
||||
echo "<th class='datos'>".__('Interval')."</th>";
|
||||
echo "<th class='datos'>".__('Action')."</th></tr>";
|
||||
}
|
||||
while ($row=mysql_fetch_array($result)){
|
||||
$id_rt = $row["id_rt"];
|
||||
|
|
|
@ -219,7 +219,7 @@ else {
|
|||
}
|
||||
echo "</table>";
|
||||
} else {
|
||||
echo '<div class="nf">'. __('There is no plugins in the system');
|
||||
echo '<div class="nf">'. __('There are no plugins in the system');
|
||||
echo "<br>";
|
||||
}
|
||||
echo "<table width=530>";
|
||||
|
|
|
@ -197,7 +197,6 @@ function popup_help ($help_id, $return = false) {
|
|||
*/
|
||||
function no_permission () {
|
||||
require("config.php");
|
||||
require ("include/languages/language_".$config["language"].".php");
|
||||
echo "<h3 class='error'>".__('You don\'t have access')."</h3>";
|
||||
echo "<img src='images/noaccess.png' alt='No access' width='120'><br><br>";
|
||||
echo "<table width=550>";
|
||||
|
@ -216,9 +215,8 @@ function no_permission () {
|
|||
*/
|
||||
function unmanaged_error ($error = "") {
|
||||
require("config.php");
|
||||
require ("include/languages/language_".$config["language"].".php");
|
||||
echo "<h3 class='error'>".__('Unmanaged error')."</h3>";
|
||||
echo "<img src='images/errror.png' alt='error'><br><br>";
|
||||
echo "<img src='images/error.png' alt='error'><br><br>";
|
||||
echo "<table width=550>";
|
||||
echo "<tr><td>";
|
||||
echo __('Unmanaged error');
|
||||
|
@ -283,7 +281,6 @@ function list_files ($directory, $stringSearch, $searchHandler, $return) {
|
|||
*/
|
||||
function pagination ($count, $url, $offset) {
|
||||
global $config;
|
||||
require ("include/languages/language_".$config["language"].".php");
|
||||
|
||||
/* URL passed render links with some parameter
|
||||
&offset - Offset records passed to next page
|
||||
|
|
Loading…
Reference in New Issue