_("Your account"))); dual_begin(array()); print("
" . _("You have not authenticated yourself to the system yet with your") . " " . _("username") . " " . _("and") . " " . _("password") . ". " . _("You will not be able to use this section of the website without authenticating yourself first. So, please continue and login using the form on the right hand side.") . "
\n"); dual_middle(array()); show_account_details(array()); dual_end(array()); generic_footer(array()); exit; } $machinename = ""; function machinedescription_startelement($parser, $name, $attrs) { global $machinename; if ($name == "MACHINENAME") $machinename = $attrs["VALUE"]; } function machinedescription_endelement($parser, $name) { } $machinedescription_parser = xml_parser_create(); xml_set_element_handler($machinedescription_parser, "machinedescription_startelement", "machinedescription_endelement"); $machinedescription_fp = fopen("/opt/openfiler/etc/machinedescription.xml", "r"); while ($machinedescription_data = fread($machinedescription_fp, 4096)) xml_parse($machinedescription_parser, $machinedescription_data, feof($machinedescription_fp)); fclose($machinedescription_fp); xml_parser_free($machinedescription_parser); if ($actionnewmachinename == "Change") { $fp = popen("/usr/bin/sudo /usr/bin/tee /opt/openfiler/etc/machinedescription.xml", "w"); fputs($fp, "\n"); fputs($fp, "Welcome Administrator. The following are various system information and preferences, arranged into tabs. Please click on a tab to open up that category.
Machine information\n"); print("\n"); print("