mirror of
https://github.com/itflow-org/itflow
synced 2026-08-05 07:07:14 +00:00
Use Short echo tags across the code
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<!-- Main Sidebar Container -->
|
||||
<aside class="main-sidebar sidebar-dark-<?php echo escapeHtml($config_theme); ?> d-print-none">
|
||||
<aside class="main-sidebar sidebar-dark-<?= escapeHtml($config_theme) ?> d-print-none">
|
||||
|
||||
<a class="brand-link" href="/agent/dashboard.php">
|
||||
<div class="brand-image"></div>
|
||||
<span class="brand-text h4"><?php echo escapeHtml($session_company_name); ?></span>
|
||||
<span class="brand-text h4"><?= escapeHtml($session_company_name) ?></span>
|
||||
</a>
|
||||
|
||||
<!-- Sidebar -->
|
||||
@@ -25,7 +25,7 @@
|
||||
<p>
|
||||
Clients
|
||||
<?php if ($num_active_clients) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Clients"><?php echo $num_active_clients; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Clients"><?= $num_active_clients ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -62,7 +62,7 @@
|
||||
<p>
|
||||
Tickets
|
||||
<?php if ($num_active_tickets) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Open Tickets"><?php echo $num_active_tickets; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Open Tickets"><?= $num_active_tickets ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -73,7 +73,7 @@
|
||||
<p>
|
||||
Recurring Tickets
|
||||
<?php if ($num_recurring_tickets) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Recurring Tickets"><?php echo $num_recurring_tickets; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Recurring Tickets"><?= $num_recurring_tickets ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -84,7 +84,7 @@
|
||||
<p>
|
||||
Projects
|
||||
<?php if ($num_active_projects) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Open Projects"><?php echo $num_active_projects; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Open Projects"><?= $num_active_projects ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -100,7 +100,7 @@
|
||||
<p>
|
||||
Quotes
|
||||
<?php if ($num_open_quotes) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Quotes"><?php echo $num_open_quotes; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Quotes"><?= $num_open_quotes ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -111,7 +111,7 @@
|
||||
<p>
|
||||
Invoices
|
||||
<?php if ($num_open_invoices) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Open Invoices"><?php echo $num_open_invoices; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Open Invoices"><?= $num_open_invoices ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -122,7 +122,7 @@
|
||||
<p>
|
||||
Recurring Invoices
|
||||
<?php if ($num_recurring_invoices) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Recurring Invoices"><?php echo $num_recurring_invoices; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Active Recurring Invoices"><?= $num_recurring_invoices ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -156,7 +156,7 @@
|
||||
<p>
|
||||
Recurring Expenses
|
||||
<?php if ($num_recurring_expenses) { ?>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Recurring Expenses"><?php echo $num_recurring_expenses; ?></span>
|
||||
<span class="right badge text-light" data-toggle="tooltip" title="Recurring Expenses"><?= $num_recurring_expenses ?></span>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</a>
|
||||
@@ -218,9 +218,9 @@
|
||||
?>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="<?php echo $custom_link_uri; ?>" <?php echo $target; ?> class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == basename($custom_link_uri)) { echo "active"; } ?>">
|
||||
<i class="fas fa-<?php echo $custom_link_icon; ?> nav-icon"></i>
|
||||
<p><?php echo $custom_link_name; ?></p>
|
||||
<a href="<?= $custom_link_uri ?>" <?= $target ?> class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == basename($custom_link_uri)) { echo "active"; } ?>">
|
||||
<i class="fas fa-<?= $custom_link_icon ?> nav-icon"></i>
|
||||
<p><?= $custom_link_name ?></p>
|
||||
<i class="fas fa-angle-right nav-icon float-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user