Skip to content

Commit 74e7507

Browse files
committed
Change asset TV to Display, changed Firewall icon to Fire
1 parent acf5268 commit 74e7507

4 files changed

+17
-12
lines changed

client_overview.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
<i class="<?php echo $item_icon; ?> mr-2 text-secondary"></i><?php echo $item_name; ?>
316316
</td>
317317
<td>
318-
<div>Views: <?php echo "$item_views / $item_view_limit" ?></div>
318+
<div>Views: <?php echo $item_views ?></div>
319319
<div class="text-secondary"><?php echo $item_recipient; ?></div>
320320
</td>
321321
<td title="Expires at <?php echo $item_expire_at; ?>">Expires <?php echo $item_expire_at_human ?></td>

functions.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,10 @@ function getAssetIcon($asset_type)
648648
$device_icon = "print";
649649
} elseif ($asset_type == 'Camera') {
650650
$device_icon = "video";
651-
} elseif ($asset_type == 'Switch' || $asset_type == 'Firewall/Router') {
651+
} elseif ($asset_type == 'Switch') {
652652
$device_icon = "network-wired";
653+
} elseif ($asset_type == 'Firewall/Router') {
654+
$device_icon = "fire-alt";
653655
} elseif ($asset_type == 'Access Point') {
654656
$device_icon = "wifi";
655657
} elseif ($asset_type == 'Phone') {
@@ -658,7 +660,7 @@ function getAssetIcon($asset_type)
658660
$device_icon = "mobile-alt";
659661
} elseif ($asset_type == 'Tablet') {
660662
$device_icon = "tablet-alt";
661-
} elseif ($asset_type == 'TV') {
663+
} elseif ($asset_type == 'Display') {
662664
$device_icon = "tv";
663665
} elseif ($asset_type == 'Virtual Machine') {
664666
$device_icon = "cloud";

get_settings.php

+10-7
Original file line numberDiff line numberDiff line change
@@ -211,23 +211,26 @@
211211
'Phone'=>'fa-phone',
212212
'Mobile Phone'=>'fa-mobile-alt',
213213
'Tablet'=>'fa-tablet-alt',
214-
'Firewall/Router'=>'fa-network-wired',
214+
'Firewall/Router'=>'fa-fire-alt',
215215
'Switch'=>'fa-network-wired',
216-
'Access Point'=>'fa-wifi',
216+
'Wireless Access Point'=>'fa-wifi',
217217
'Printer'=>'fa-print',
218+
'Display'=>'fa-tv',
218219
'Camera'=>'fa-video',
219-
'TV'=>'fa-tv',
220220
'Virtual Machine'=>'fa-cloud',
221221
'Other'=>'fa-tag'
222222
);
223223

224224
$software_types_array = array (
225-
'SaaS',
226-
'Application',
227-
'Mobile',
225+
'Software as a Service (SaaS)',
226+
'Productivity Suites',
227+
'Web Application',
228+
'Desktop Application',
229+
'Mobile Application',
230+
'Security Software',
228231
'System Software',
229232
'Operating System',
230-
'Misc'
233+
'Other'
231234
);
232235

233236
$license_types_array = array (

guest_view_item.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@
9797
<div class="card mt-2">
9898
<div class="card-header bg-dark">
9999
<div class="card-title">
100-
<h5><small>Secure Message intended for:</small><br><strong><?php echo $item_recipient ?></strong></h5>
100+
<h6><small>Secure link intended for:</small><br><strong><?php echo $item_recipient ?></strong></h6>
101101
</div>
102102

103103
<div class="card-tools">
104104
<div>
105-
<?php echo "Views: $item_views / <strong>$item_view_limit</strong>"; ?>
105+
<?php echo "Viewed: <strong>$item_views</strong> Times"; ?>
106106
</div>
107107
<div>
108108
<?php echo "Expires: <strong>$item_expire</strong>"; ?>

0 commit comments

Comments
 (0)