Add Hostname to list of servers, since we have the space for it.

This commit is contained in:
Isaac Connor 2016-01-08 10:15:06 -05:00
parent f0486e5b5e
commit d13829c6f3
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,7 @@ elseif ( $tab == "users" )
<thead>
<tr>
<th class="colName"><?php echo translate('name') ?></th>
<th class="colHostname"><?php echo translate('Hostname') ?></th>
<th class="colMark"><?php echo translate('Mark') ?></th>
</tr>
</thead>
@ -228,6 +229,7 @@ elseif ( $tab == "users" )
<?php foreach( dbFetchAll( 'SELECT * FROM Servers' ) as $row ) { ?>
<tr>
<td class="colName"><?php echo makePopupLink( '?view=server&amp;id='.$row['Id'], 'zmServer', 'server', validHtmlStr($row['Name']), $canEdit ) ?></td>
<td class="colHostname"><?php echo makePopupLink( '?view=server&amp;id='.$row['Id'], 'zmServer', 'server', validHtmlStr($row['Hostname']), $canEdit ) ?></td>
<td class="colMark"><input type="checkbox" name="markIds[]" value="<?php echo $row['Id'] ?>" onclick="configureDeleteButton( this );"<?php if ( !$canEdit ) { ?> disabled="disabled"<?php } ?>/></td>
</tr>
<?php } #end foreach Server ?>