2008-09-02 Esteban Sanchez <estebans@artica.es>

* include/functions.php: Style correction.

        * general/footer.php: Fixed link to Firefox and make it
        translatable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2008-09-02 17:21:22 +00:00
parent 9a4725dd3e
commit 802bf1b359
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2008-09-02 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Style correction.
* general/footer.php: Fixed link to Firefox and make it
translatable.
2008-09-02 Sancho Lerena <slerena@gmail.com>

View File

@ -32,7 +32,8 @@ if ((isset($develop_bypass)) AND ($develop_bypass == 1)) {
echo ' - Saved '.format_numeric ($sql_cache["saved"]).' Queries';
}
echo '</a><br>';
echo "<a href='http://www.mozilla.org'><img src='images/firefox.gif' align='middle' title='Pandora FMS console is best viewed with firefox'></a>";
echo '<a href="http://www.mozilla-europe.org/en/firefox/"><img src="images/firefox.gif" align="middle"
title="'.__('Pandora FMS console is best viewed with Firefox web browser').'" /></a>';
echo "</center>";
?>

View File

@ -1195,9 +1195,9 @@ function unsafe_string ($string) {
return $string;
}
function safe_sql_string ($string){
if (get_magic_quotes_gpc() == 0)
$string = mysql_escape_string ($string);
function safe_sql_string ($string) {
if (get_magic_quotes_gpc () == 0)
$string = mysql_escape_string ($string);
return $string;
}