mirror of https://github.com/MISP/MISP
58 lines
1.8 KiB
PHP
Executable File
58 lines
1.8 KiB
PHP
Executable File
<div class="users view">
|
|
<div class="actions" style="float:right;">
|
|
<ul><li><?php echo $this->Html->link(__('Edit Profile', true), array('action' => 'edit', $user['User']['id'])); ?> </li></ul>
|
|
</div>
|
|
<h2><?php echo __('User');?></h2>
|
|
<dl>
|
|
<dt><?php echo __('Id'); ?></dt>
|
|
<dd>
|
|
<?php echo h($user['User']['id']); ?>
|
|
|
|
</dd>
|
|
<dt><?php echo __('Email'); ?></dt>
|
|
<dd>
|
|
<?php echo h($user['User']['email']); ?>
|
|
|
|
</dd>
|
|
<dt><?php echo __('Org'); ?></dt>
|
|
<dd>
|
|
<?php echo h($user['User']['org']); ?>
|
|
|
|
</dd>
|
|
<dt><?php echo __('Autoalert'); ?></dt>
|
|
<dd>
|
|
<?php echo h(0 == ($user['User']['autoalert'])) ? 'no' : 'yes'; ?>
|
|
|
|
</dd>
|
|
<dt><?php echo __('Authkey'); ?></dt>
|
|
<dd>
|
|
<?php echo h($user['User']['authkey']); ?>
|
|
(<?php echo $this->Html->link('reset', array('controller' => 'users', 'action' => 'resetauthkey', $user['User']['id']));?>)
|
|
|
|
</dd>
|
|
<dt><?php echo __('NIDS Start SID'); ?></dt>
|
|
<dd>
|
|
<?php echo h($user['User']['nids_sid']); ?>
|
|
|
|
</dd>
|
|
<dt><?php echo __('Termsaccepted'); ?></dt>
|
|
<dd>
|
|
<?php echo h((0 == $user['User']['termsaccepted'])? 'no' : 'yes'); ?>
|
|
|
|
</dd>
|
|
<dt><?php echo __('GPG Key'); ?></dt>
|
|
<dd style="font-size: 10px; line-height:100%;">
|
|
<code><?php echo nl2br(h($user['User']['gpgkey'])); ?></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="actions">
|
|
<ul>
|
|
<li><?php echo $this->Html->link(__('Edit User', true), array('action' => 'edit', $user['User']['id'])); ?> </li>
|
|
<li><?php echo $this->Html->link(__('Delete User', true), array('action' => 'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?> </li>
|
|
<li> </li>
|
|
<?php echo $this->element('actions_menu'); ?>
|
|
</ul>
|
|
</div>
|