2008-08-21 Esteban Sanchez <estebans@artica.es>
* general/pandora_help.php: Added a require of a functions file. Added missing HTML tags. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
54fcab7b74
commit
4c922ded73
|
@ -1,3 +1,8 @@
|
||||||
|
2008-08-21 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* general/pandora_help.php: Added a require of a functions file. Added
|
||||||
|
missing HTML tags.
|
||||||
|
|
||||||
2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||||
|
|
||||||
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
|
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
|
||||||
|
|
|
@ -9,7 +9,11 @@
|
||||||
// as published by the Free Software Foundation for version 2.
|
// as published by the Free Software Foundation for version 2.
|
||||||
|
|
||||||
require_once ("../include/config.php");
|
require_once ("../include/config.php");
|
||||||
|
require_once ("../include/functions.php");
|
||||||
|
|
||||||
|
echo '<html><head><title>'.__('Pandora FMS help system').'</title></head>';
|
||||||
echo '<link rel="stylesheet" href="../include/styles/'.$config['style'].'.css" type="text/css">';
|
echo '<link rel="stylesheet" href="../include/styles/'.$config['style'].'.css" type="text/css">';
|
||||||
|
echo '<body>';
|
||||||
|
|
||||||
$id = get_parameter ('id');
|
$id = get_parameter ('id');
|
||||||
$help_file = $config["homedir"]."/include/help/".$config["language"]."/help_".$id.".php";
|
$help_file = $config["homedir"]."/include/help/".$config["language"]."/help_".$id.".php";
|
||||||
|
@ -29,7 +33,7 @@ if (! $id || ! file_exists ($help_file)) {
|
||||||
|
|
||||||
/* Show help */
|
/* Show help */
|
||||||
echo '<div>';
|
echo '<div>';
|
||||||
echo '<p style="text-align: right"><strong>Pandora FMS Help System</strong></p>';
|
echo '<p style="text-align: right"><strong>'.__('Pandora FMS Help System').'</strong></p>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<hr width="100%" size="1" />';
|
echo '<hr width="100%" size="1" />';
|
||||||
echo '<div style="font-family: verdana, arial; font-size: 11px; text-align:left">';
|
echo '<div style="font-family: verdana, arial; font-size: 11px; text-align:left">';
|
||||||
|
@ -40,3 +44,5 @@ echo '<br /><br /><hr width="100%" size="1" />';
|
||||||
echo '<div style="font-family: verdana, arial; font-size: 11px;">';
|
echo '<div style="font-family: verdana, arial; font-size: 11px;">';
|
||||||
include ('footer.php');
|
include ('footer.php');
|
||||||
?>
|
?>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue