mirror of https://github.com/itflow-org/itflow
Tidy removed Help on the Top Nav Bar too much clutter and unnessesary
This commit is contained in:
parent
9e7f50b9eb
commit
df313e5bd6
37
top_nav.php
37
top_nav.php
|
|
@ -31,11 +31,6 @@
|
|||
|
||||
<ul class="navbar-nav ml-auto">
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://docs.itflow.org" target="_blank">
|
||||
<i class="fas fa-fw fa-question"></i>
|
||||
</a>
|
||||
</li>
|
||||
<?php if ($config_module_enable_ticketing == 1) { ?>
|
||||
|
||||
<li class="nav-item">
|
||||
|
|
@ -72,17 +67,15 @@
|
|||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php
|
||||
while ($row = mysqli_fetch_array($sql_notifications)) {
|
||||
$notification_id = intval($row['notification_id']);
|
||||
$notification_type = nullable_htmlentities($row['notification_type']);
|
||||
$notification = nullable_htmlentities($row['notification']);
|
||||
$notification_action = nullable_htmlentities($row['notification_action']);
|
||||
$notification_timestamp = date('M d g:ia',strtotime($row['notification_timestamp']));
|
||||
$notification_client_id = intval($row['notification_client_id']);
|
||||
if(empty($notification_action)){
|
||||
$notification_action = "#";
|
||||
}
|
||||
?>
|
||||
while ($row = mysqli_fetch_array($sql_notifications)) {
|
||||
$notification_id = intval($row['notification_id']);
|
||||
$notification_type = nullable_htmlentities($row['notification_type']);
|
||||
$notification = nullable_htmlentities($row['notification']);
|
||||
$notification_action = nullable_htmlentities($row['notification_action']);
|
||||
$notification_timestamp = date('M d g:ia',strtotime($row['notification_timestamp']));
|
||||
$notification_client_id = intval($row['notification_client_id']);
|
||||
if(empty($notification_action)) { $notification_action = "#"; }
|
||||
?>
|
||||
<div class="dropdown-item">
|
||||
<a class="text-dark" href="<?php echo $notification_action; ?>">
|
||||
<p class="mb-1">
|
||||
|
|
@ -93,10 +86,8 @@
|
|||
<small class="text-secondary"><?php echo $notification; ?></small>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<div class="dropdown-divider"></div>
|
||||
<a href="post.php?dismiss_all_notifications"
|
||||
|
|
@ -153,10 +144,8 @@
|
|||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<a href="user_details.php" class="btn btn-default btn-flat"><i
|
||||
class="fas fa-cog mr-2"></i>Account</a>
|
||||
<a href="post.php?logout" class="btn btn-default btn-flat float-right"><i
|
||||
class="fas fa-sign-out-alt mr-2"></i>Logout</a>
|
||||
<a href="user_details.php" class="btn btn-default btn-flat"><i class="fas fa-cog mr-2"></i>Account</a>
|
||||
<a href="post.php?logout" class="btn btn-default btn-flat float-right"><i class="fas fa-sign-out-alt mr-2"></i>Logout</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue