Beispiel #1
0
		<?php 
    echo $unix_status2str[$u->getUnixStatus()];
    ?>
	</td>
</tr>

<tr>
	<td>
		<?php 
    echo _('Unix Shell:');
    ?>
	</td>
	<td>
<select name="shell">
<?php 
    account_shellselects($u->getShell());
    ?>
</select>
	</td>
</tr>
<?php 
}
// end of sys_use_shell conditionnal
?>

<tr>
<td>
<?php 
echo _('Email:');
?>
</td>
Beispiel #2
0
<h3>Unix Account Info</h3>
<form method="post" action="<?php 
echo $PHP_SELF;
?>
">
<input type="hidden" name="action" value="update_user">
<input type="hidden" name="user_id" value="<?php 
print $user_id;
?>
">

<p>
Shell:
<select name="shell">
<?php 
account_shellselects($row_user[shell]);
?>
</select>

<p>
Unix Account Status:
<select name="unix_status">
<option <?php 
echo $row_user['unix_status'] == 'N' ? 'selected ' : '';
?>
value="N">No Unix Account
<option <?php 
echo $row_user['unix_status'] == 'A' ? 'selected ' : '';
?>
value="A">Active
<option <?php