mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Finished up santizeInput Conv and UI updates
This commit is contained in:
14
top_nav.php
14
top_nav.php
@@ -31,7 +31,13 @@
|
||||
|
||||
<!-- New Notifications Dropdown -->
|
||||
<?php
|
||||
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications LEFT JOIN clients ON notification_client_id = client_id WHERE notification_dismissed_at IS NULL AND (notification_user_id = $session_user_id OR notification_user_id = 0) AND notifications.company_id = $session_company_id ORDER BY notification_id DESC LIMIT 5");
|
||||
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
||||
LEFT JOIN clients ON notification_client_id = client_id
|
||||
WHERE notification_dismissed_at IS NULL
|
||||
AND (notification_user_id = $session_user_id OR notification_user_id = 0)
|
||||
AND notifications.company_id = $session_company_id
|
||||
ORDER BY notification_id DESC LIMIT 5"
|
||||
);
|
||||
?>
|
||||
|
||||
<?php if ($num_notifications > 0) { ?>
|
||||
@@ -64,7 +70,7 @@
|
||||
<div class="dropdown-divider"></div>
|
||||
<a href="notifications.php" class="dropdown-item dropdown-footer text-primary">See All Notifications</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a href="post.php?dismiss_all_notifications" class="dropdown-item dropdown-footer text-success"><i class="fa fa-fw fa-check"></i> Dismiss All Notifications</a>
|
||||
<a href="post.php?dismiss_all_notifications" class="dropdown-item dropdown-footer text-success text-bold"><i class="fa fa-fw fa-check mr-2"></i>Dismiss All Notifications</a>
|
||||
</div>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
@@ -112,8 +118,8 @@
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<a href="user_profile.php" class="btn btn-default btn-flat">Profile</a>
|
||||
<a href="post.php?logout" class="btn btn-default btn-flat float-right">Sign out</a>
|
||||
<a href="user_profile.php" class="btn btn-default btn-flat"><i class="fas fa-cog mr-2"></i>Profile</a>
|
||||
<a href="post.php?logout" class="btn btn-default btn-flat float-right"><i class="fas fa-sign-out-alt mr-2"></i>Sign out</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user