Exemple #1
0
if (!empty($errormsg)) {
    print_error_box($errormsg);
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="tabcont">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<?php 
html_titleline(gettext("System information"));
?>
	<?php 
if (!empty($config['vinterfaces']['carp'])) {
    ?>
	<?php 
    html_textinfo("vipstatus", gettext("Virtual IP address"), htmlspecialchars(get_vip_status()));
    ?>
	<?php 
}
?>
	<?php 
html_textinfo("hostname", gettext("Hostname"), system_get_hostname());
?>
	<?php 
html_textinfo("version", gettext("Version"), sprintf("<strong>%s %s</strong> (%s %s)", get_product_version(), get_product_versionname(), gettext("revision"), get_product_revision()));
?>
	<?php 
html_textinfo("builddate", gettext("Build date"), get_product_buildtime());
?>
	<?php 
exec("/sbin/sysctl -n kern.osrevision", $osrevision);
Exemple #2
0
 			  <tr>
			    <td colspan="2" class="listtopic"><?php 
echo gettext("System information");
?>
</td>
			  </tr>
			  <?php 
if (!empty($config['vinterfaces']['carp'])) {
    ?>
			  <tr>
			    <td width="25%" class="vncellt"><?php 
    echo gettext("Virtual IP address");
    ?>
</td>
			    <td width="75%" class="listr"><span id="vipstatus"><?php 
    echo htmlspecialchars(get_vip_status());
    ?>
</vip></td>
			  </tr>
			  <?php 
}
?>
			  <tr>
			    <td width="25%" class="vncellt"><?php 
echo gettext("Hostname");
?>
</td>
			    <td width="75%" class="listr"><?php 
echo system_get_hostname();
?>
</td>