?> </h2> <div class="user-show-actions"> <ul> <li> <a href="?controller=user&action=show&user_id=<?php echo $user['id']; ?> "><?php echo t('Summary'); ?> </a> </li> <?php if (Helper\is_admin() || Helper\is_current_user($user['id'])) { ?> <li> <a href="?controller=user&action=edit&user_id=<?php echo $user['id']; ?> "><?php echo t('Edit profile'); ?> </a> </li> <?php if ($user['is_ldap_user'] == 0) { ?> <li>
?> </span> </p> <?php if (isset($task)) { ?> <ul class="comment-actions"> <li><a href="#comment-<?php echo $comment['id']; ?> "><?php echo t('link'); ?> </a></li> <?php if (Helper\is_admin() || Helper\is_current_user($comment['user_id'])) { ?> <li> <a href="?controller=comment&action=confirm&project_id=<?php echo $task['project_id']; ?> &comment_id=<?php echo $comment['id']; ?> "><?php echo t('remove'); ?> </a> </li> <li> <a href="?controller=comment&action=edit&task_id=<?php
</p> <?php } ?> <?php if (GITHUB_AUTH) { ?> <h3><i class="fa fa-github"></i> <?php echo t('Github Account'); ?> </h3> <p class="listing"> <?php if (Helper\is_current_user($user['id'])) { ?> <?php if (empty($user['github_id'])) { ?> <a href="?controller=user&action=gitHub<?php echo Helper\param_csrf(); ?> "><?php echo t('Link my GitHub Account'); ?> </a> <?php } else { ?> <a href="?controller=user&action=unlinkGitHub<?php
?> <br/> <?php if (Helper\is_admin()) { ?> <?php echo Helper\form_checkbox('is_admin', t('Administrator'), 1, isset($values['is_admin']) && $values['is_admin'] == 1 ? true : false); ?> <br/> <?php } ?> <?php if (GOOGLE_AUTH && Helper\is_current_user($values['id'])) { ?> <div class="form-row"> <?php if (empty($values['google_id'])) { ?> <a href="?controller=user&action=google"><?php echo t('Link my Google Account'); ?> </a> <?php } else { ?> <a href="?controller=user&action=unlinkGoogle"><?php echo t('Unlink my Google Account'); ?>
<div class="comment-inner"> <?php if (!isset($preview)) { ?> <ul class="comment-actions"> <li><a href="#comment-<?php echo $comment['id']; ?> "><?php echo t('link'); ?> </a></li> <?php if ((!isset($not_editable) || !$not_editable) && (Helper\is_admin() || Helper\is_current_user($comment['user_id']))) { ?> <li> <a href="?controller=comment&action=confirm&task_id=<?php echo $task['id']; ?> &comment_id=<?php echo $comment['id']; ?> "><?php echo t('remove'); ?> </a> </li> <li> <a href="?controller=comment&action=edit&task_id=<?php