diff options
author | Mario <mario@mariovavti.com> | 2024-07-23 22:08:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-23 22:08:42 +0000 |
commit | 467e0b32b4e5a25c48b7d006058b051d52c005ac (patch) | |
tree | 618fa378aece709f33a24c47094f870a7b36fc82 /Zotlabs | |
parent | 204d91c3c3c0c54b67ac3255a666038533b4fe85 (diff) | |
download | volse-hubzilla-467e0b32b4e5a25c48b7d006058b051d52c005ac.tar.gz volse-hubzilla-467e0b32b4e5a25c48b7d006058b051d52c005ac.tar.bz2 volse-hubzilla-467e0b32b4e5a25c48b7d006058b051d52c005ac.zip |
fa2bi and a php error in mod appman
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Appman.php | 28 | ||||
-rw-r--r-- | Zotlabs/Widget/Hq_controls.php | 4 | ||||
-rw-r--r-- | Zotlabs/Widget/Messages.php | 6 | ||||
-rw-r--r-- | Zotlabs/Widget/Notifications.php | 14 |
4 files changed, 26 insertions, 26 deletions
diff --git a/Zotlabs/Module/Appman.php b/Zotlabs/Module/Appman.php index 5f72d771b..8a842feda 100644 --- a/Zotlabs/Module/Appman.php +++ b/Zotlabs/Module/Appman.php @@ -16,21 +16,21 @@ class Appman extends \Zotlabs\Web\Controller { if(isset($_POST['url']) && $_POST['url']) { $arr = array( 'uid' => intval($_REQUEST['uid']), - 'url' => escape_tags($_REQUEST['url']), - 'guid' => escape_tags($_REQUEST['guid']), - 'author' => escape_tags($_REQUEST['author']), - 'addr' => escape_tags($_REQUEST['addr']), - 'name' => escape_tags($_REQUEST['name']), - 'desc' => escape_tags($_REQUEST['desc']), - 'photo' => escape_tags($_REQUEST['photo']), - 'version' => escape_tags($_REQUEST['version']), - 'price' => escape_tags($_REQUEST['price']), - 'page' => escape_tags($_REQUEST['page']), - 'requires' => escape_tags($_REQUEST['requires']), + 'url' => escape_tags($_REQUEST['url'] ?? ''), + 'guid' => escape_tags($_REQUEST['guid'] ?? ''), + 'author' => escape_tags($_REQUEST['author'] ?? ''), + 'addr' => escape_tags($_REQUEST['addr'] ?? ''), + 'name' => escape_tags($_REQUEST['name'] ?? ''), + 'desc' => escape_tags($_REQUEST['desc'] ?? ''), + 'photo' => escape_tags($_REQUEST['photo'] ?? ''), + 'version' => escape_tags($_REQUEST['version'] ?? ''), + 'price' => escape_tags($_REQUEST['price'] ?? ''), + 'page' => escape_tags($_REQUEST['page'] ?? ''), + 'requires' => escape_tags($_REQUEST['requires'] ?? ''), 'system' => intval($_REQUEST['system']), - 'plugin' => escape_tags($_REQUEST['plugin']), - 'sig' => escape_tags($_REQUEST['sig']), - 'categories' => escape_tags($_REQUEST['categories']) + 'plugin' => escape_tags($_REQUEST['plugin'] ?? ''), + 'sig' => escape_tags($_REQUEST['sig'] ?? ''), + 'categories' => escape_tags($_REQUEST['categories'] ?? '') ); $_REQUEST['appid'] = Apps::app_install(local_channel(),$arr); diff --git a/Zotlabs/Widget/Hq_controls.php b/Zotlabs/Widget/Hq_controls.php index 51212d145..0db492c37 100644 --- a/Zotlabs/Widget/Hq_controls.php +++ b/Zotlabs/Widget/Hq_controls.php @@ -34,7 +34,7 @@ class Hq_controls { 'href' => '#', 'class' => 'btn notes-toggle', 'type' => 'button', - 'icon' => 'sticky-note-o', + 'icon' => 'sticky', 'extra' => 'data-toggle="button"' ]; } @@ -44,7 +44,7 @@ class Hq_controls { 'href' => '#', 'class' => 'btn channel-activities-toggle d-none', 'type' => 'button', - 'icon' => 'user-circle-o', + 'icon' => 'person-circle', 'extra' => 'data-toggle="button"' ]; diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index 8654d8e8f..294a982b1 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -170,10 +170,10 @@ class Messages { switch(intval($item['item_private'])) { case 1: - $icon = '<i class="fa fa-lock"></i>'; + $icon = '<i class="bi bi-lock"></i>'; break; case 2: - $icon = '<i class="fa fa-envelope-o"></i>'; + $icon = '<i class="bi bi-envelope"></i>'; break; default: $icon = ''; @@ -293,7 +293,7 @@ class Messages { $entries[$i]['summary'] = $summary; $entries[$i]['b64mid'] = (($notice['ntype'] & NOTIFY_INTRO) ? '' : ((str_contains($notice['hash'], '-')) ? $notice['hash'] : basename($notice['link']))); $entries[$i]['href'] = (($notice['ntype'] & NOTIFY_INTRO) ? $notice['link'] : z_root() . '/hq/' . ((str_contains($notice['hash'], '-')) ? $notice['hash'] : basename($notice['link']))); - $entries[$i]['icon'] = (($notice['ntype'] & NOTIFY_INTRO) ? '<i class="fa fa-user-plus"></i>' : ''); + $entries[$i]['icon'] = (($notice['ntype'] & NOTIFY_INTRO) ? '<i class="bi bi-person-plus"></i>' : ''); $i++; } diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php index eeef1d7d4..5a922cee0 100644 --- a/Zotlabs/Widget/Notifications.php +++ b/Zotlabs/Widget/Notifications.php @@ -18,7 +18,7 @@ class Notifications { if(local_channel()) { $notifications[] = [ 'type' => 'network', - 'icon' => 'th', + 'icon' => 'grid-3x3', 'severity' => 'secondary', 'label' => t('Network'), 'title' => t('New network activity notifications'), @@ -38,7 +38,7 @@ class Notifications { $notifications[] = [ 'type' => 'home', - 'icon' => 'home', + 'icon' => 'house', 'severity' => 'danger', 'label' => t('Home'), 'title' => t('New home activity notifications'), @@ -76,7 +76,7 @@ class Notifications { $notifications[] = [ 'type' => 'all_events', - 'icon' => 'calendar', + 'icon' => 'calendar-week', 'severity' => 'secondary', 'label' => t('Events'), 'title' => t('New events notifications'), @@ -91,7 +91,7 @@ class Notifications { $notifications[] = [ 'type' => 'intros', - 'icon' => 'users', + 'icon' => 'people', 'severity' => 'danger', 'label' => t('New Connections'), 'title' => t('New connections notifications'), @@ -111,7 +111,7 @@ class Notifications { $notifications[] = [ 'type' => 'notify', - 'icon' => 'exclamation', + 'icon' => 'exclamation-circle', 'severity' => 'danger', 'label' => t('Notices'), 'title' => t('Notices'), @@ -126,7 +126,7 @@ class Notifications { $notifications[] = [ 'type' => 'forums', - 'icon' => 'comments-o', + 'icon' => 'chat-quote', 'severity' => 'secondary', 'label' => t('Forums'), 'title' => t('Forums'), @@ -139,7 +139,7 @@ class Notifications { if(local_channel() && is_site_admin()) { $notifications[] = [ 'type' => 'register', - 'icon' => 'user-o', + 'icon' => 'person-exclamation', 'severity' => 'danger', 'label' => t('Registrations'), 'title' => t('New registrations notifications'), |