diff --git a/composer.lock b/composer.lock index aed126068f..9c204ba806 100755 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9f54029a1093949265d1994e83c8b3c4", + "content-hash": "f0317cf08c00727723e842c7c83a2187", "packages": [ { "name": "bacon/bacon-qr-code", @@ -1606,16 +1606,16 @@ }, { "name": "twbs/bootstrap-icons", - "version": "v1.11.1", + "version": "v1.11.2", "source": { "type": "git", "url": "https://github.com/twbs/icons.git", - "reference": "8d7bc695fb407627378cb184976b348e6a128d59" + "reference": "108565f11f099f177b31929e3eafc2c8d497fcd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twbs/icons/zipball/8d7bc695fb407627378cb184976b348e6a128d59", - "reference": "8d7bc695fb407627378cb184976b348e6a128d59", + "url": "https://api.github.com/repos/twbs/icons/zipball/108565f11f099f177b31929e3eafc2c8d497fcd1", + "reference": "108565f11f099f177b31929e3eafc2c8d497fcd1", "shasum": "" }, "type": "library", @@ -1639,9 +1639,9 @@ ], "support": { "issues": "https://github.com/twbs/icons/issues", - "source": "https://github.com/twbs/icons/tree/v1.11.1" + "source": "https://github.com/twbs/icons/tree/v1.11.2" }, - "time": "2023-09-17T14:09:28+00:00" + "time": "2023-11-21T20:06:00+00:00" }, { "name": "webklex/composer-info", @@ -2203,23 +2203,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.29", + "version": "9.2.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -2269,7 +2269,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" }, "funding": [ { @@ -2277,7 +2277,7 @@ "type": "github" } ], - "time": "2023-09-19T04:57:46+00:00" + "time": "2023-12-22T06:47:57+00:00" }, { "name": "phpunit/php-file-iterator", @@ -2866,20 +2866,20 @@ }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -2911,7 +2911,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -2919,7 +2919,7 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", @@ -3193,20 +3193,20 @@ }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -3238,7 +3238,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -3246,7 +3246,7 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", diff --git a/modules/account/modules.php b/modules/account/modules.php index f0e2a961f9..9f765f13e5 100644 --- a/modules/account/modules.php +++ b/modules/account/modules.php @@ -208,7 +208,7 @@ protected function output() { if ($this->get('internal_users')) { $res = ''; $this->concat('formatted_folder_list', $res); diff --git a/modules/calendar/hm-calendar.php b/modules/calendar/hm-calendar.php index ec273263fc..9d51681bdd 100644 --- a/modules/calendar/hm-calendar.php +++ b/modules/calendar/hm-calendar.php @@ -69,7 +69,7 @@ private function output_event($day) { $res .= '
'. $this->output_event_details($event). $this->output_mod->html_safe(date('H:i', $event['ts'])). - ' '.$this->output_mod->html_safe($event['title']). + ' '.$this->output_mod->html_safe($event['title']). '
'; } return $res; diff --git a/modules/calendar/modules.php b/modules/calendar/modules.php index 2b07e924ae..7d7f2d659e 100644 --- a/modules/calendar/modules.php +++ b/modules/calendar/modules.php @@ -119,7 +119,7 @@ public function process() { class Hm_Output_vcalendar_add_output extends Hm_Output_Module { protected function output() { if ($this->get('imap_calendar_struct')) { - $link = 'Add to calendar'; + $link = 'Add to calendar'; $this->concat('msg_headers', $link); } } @@ -132,7 +132,7 @@ class Hm_Output_calendar_page_link extends Hm_Output_Module { protected function output() { $res = ''; if ($this->format == 'HTML5') { @@ -156,7 +156,7 @@ protected function output() { ); if ($this->get('cal_action') == 'add') { $res = '
-
'.$this->trans('Add an Event').'
+
'.$this->trans('Add an Event').'
@@ -231,8 +231,8 @@ protected function output() { $events = $cal_events->in_date_range($bounds[0], $bounds[1]); $out = new Hm_Cal_Output($this, $events); $out = $out->output($data, $date, $view); - return '
'.$this->trans('Calendar'). - ''. + return ''; } diff --git a/modules/calendar/site.css b/modules/calendar/site.css index d9d595c176..ddf9820da3 100644 --- a/modules/calendar/site.css +++ b/modules/calendar/site.css @@ -1,22 +1,6 @@ -/* .calendar { width: 100%; } */ -/* .event_form { margin-left: 40px; } */ -/* .calendar_week th, .calendar_month th { font-weight: normal; padding-top: 10px; border-bottom: solid 1px #eee; padding-bottom: 10px; border-right: solid 1px #eee; } */ .mobile .calendar_month th { max-width: 30px; overflow: hidden; } .calendar_month td { width: 14%; height: 120px; text-align: left; padding: 10px; border-bottom: solid 1px #eee; vertical-align: top; border-right: solid 1px #eee; } -/* .calendar_week, .calendar_month { padding-bottom: 50px; width: 100%; } */ -/* .calendar_week .today, .calendar_month .today { background-color: #f5f5f5; } */ .calendar_week .offmonth, .calendar_month .offmonth { color: #ccc; } -/* .month_label { font-size: 120%; padding: 20px; margin-left: 10px; color: #999; } */ .calendar_week td { width: 14%; height: 600px; text-align: left; padding: 10px; border-bottom: solid 1px #eee; vertical-align: top; border-right: solid 1px #eee; } -.calendar .event_form { margin-top: 20px; width: 20%; } -.calendar .event_form td { padding-top: 5px; } -/* .cal_label { text-align: left; padding-right: 20px; } */ -/* .event_submit { padding-top: 15px !important; } */ -/* .cal_event { position: relative; margin-top: 5px; color: #666; } */ .event_details { cursor: pointer; z-index: 100; display: none; position: absolute; width: 300px; border: solid 1px #ddd; background-color: #fff; padding: 10px; } .event_details td { padding: 5px; border: none; height: auto; } -.cal_title { cursor: pointer; } -/* .event_title { border-bottom: solid 1px #eee; font-size: 120%; margin-bottom: 10px; } */ -/* .event_detail { padding: 10px; padding-bottom: 15px; } */ -/* .event_repeat { font-size: 90%; font-style: italic; text-align: right; } */ -.add_vcal { padding-right: 35px; float: right; margin-top: 10px; } diff --git a/modules/carddav_contacts/modules.php b/modules/carddav_contacts/modules.php index 9cb232cf60..f79d059b17 100644 --- a/modules/carddav_contacts/modules.php +++ b/modules/carddav_contacts/modules.php @@ -313,7 +313,7 @@ protected function output() { if (array_key_exists('phone_number', $current)) { $phone = $current['phone_number']; } - $form_class = 'contact_update_form'; + $form_class = 'contact_update_form mt-3'; $title = sprintf($this->trans('Update Carddav - %s'), $this->html_safe($current['source'])); $button = ''. ''; diff --git a/modules/contacts/modules.php b/modules/contacts/modules.php index ab0d6db1ae..30f98cb3d1 100644 --- a/modules/contacts/modules.php +++ b/modules/contacts/modules.php @@ -91,7 +91,7 @@ class Hm_Output_contacts_page_link extends Hm_Output_Module { protected function output() { $res = ''; if ($this->format == 'HTML5') { @@ -106,7 +106,7 @@ protected function output() { */ class Hm_Output_contacts_content_start extends Hm_Output_Module { protected function output() { - return '
'.$this->trans('Contacts').'
'; + return '
'.$this->trans('Contacts').'
'; } } @@ -128,19 +128,19 @@ protected function output() { $headers = $this->get('msg_headers'); $backends = $this->get('contact_edit', array()); if (!empty($addresses) && count($backends) > 0) { - $res = '
'. - ''.$this->trans('Add').''; foreach ($addresses as $vals) { $res .= ''; } - $res .= '
'; + $res .= '
'; $headers = $headers.$res; } $this->out('msg_headers', $headers, false); @@ -158,7 +158,7 @@ protected function output() { } $per_page = 25; $current_page = $this->get('contact_page', 1); - $res = '
'; + $res = '
'; $res .= ''; $contacts = $this->get('contact_store'); $editable = $this->get('contact_edit', array()); @@ -173,28 +173,25 @@ protected function output() { $res .= ''; $res .= ''. ''. ''. - ''; $res .= '
'.$this->trans('Contacts').'
'. - ''.$this->trans('Send To').' '. + ' '. ''.$this->html_safe($contact->value('type')).''. ($contact->value('source') == 'local' ? '' : $this->html_safe($contact->value('source'))).''. ''.$this->html_safe($name).'
'.$this->html_safe($contact->value('email_address')).'
'. $this->html_safe($contact->value('phone_number')).''; + ''; if (in_array($contact->value('type').':'.$contact->value('source'), $editable, true)) { $res .= ''.$this->trans('Delete').
-                        ''. + '" class="delete_contact cursor-pointer" title="'.$this->trans('Delete').'">'. ''.$this->trans('Edit').
-                        ''; + '" class="edit_contact cursor-pointer" title="'.$this->trans('Edit').'">'; } $res .= ''. - ''.$this->trans('Send To').''; + '" class="send_to_contact cursor-pointer" title="'.$this->trans('Send To').'">'. + ''; $res .= '
'; @@ -247,7 +244,7 @@ protected function output() { */ if (!hm_exists('build_contact_detail')) { function build_contact_detail($output_mod, $contact, $id) { - $res = '
'; + $res = '
'; $all_fields = false; $contacts = $contact->export(); ksort($contacts); diff --git a/modules/contacts/site.css b/modules/contacts/site.css index a8aedbea25..beb241826b 100644 --- a/modules/contacts/site.css +++ b/modules/contacts/site.css @@ -1,13 +1,3 @@ -/* .add_contact_form input { margin: 5px; margin-left: 0px; background-color: aqua; } */ -/* .add_contact_form { padding-top: 10px; display: block; } */ -/* .contact_list { margin-left: 35px; margin-right: 10px; margin-top: 20px; width: 50%; } */ -/* .contact_list td { white-space: nowrap; padding-right: 20px; padding-bottom: 5px; vertical-align: -5px; padding-top: 5px; border-bottom: solid 1px #ddd; } */ -.gmail_contacts { margin-top: 50px; } -/* .contact_list_title { padding-top: 0px !important; padding-bottom: 10px; } */ -.show_contact img, .edit_contact img, .send_to_contact img, .delete_contact img { opacity: .5; margin-left: 10px; cursor: pointer; } -/* .contact_controls { text-align: right; } */ -.add_contact_row { position: absolute; top: 22px; right: 10px; font-size: 90%; z-index: 100} -.add_contact_row img { opacity: .4; margin-right: 10px; } .add_contact_controls { display: none; } .contact_suggestion { display: block; } .close_autocomplete { float: right; } @@ -15,15 +5,7 @@ .contact_pages { text-align: center; border-bottom: none !important; } .no_contact_sources { text-align: center; color: #999; font-size: 110%; margin-top: 60px; } .add_contact { margin-bottom: 30px; margin-top: 10px; color: #666; margin-right: 25px; float: left; clear: left; margin-left: 25px; width: 300px; } -/* .add_contact input, .add_contact select { margin-bottom: 10px; padding: 5px; margin-right: 5px; } */ -/* .add_contact .server_title { cursor: pointer; } */ .contact_form { margin-top: 10px; display: none; } -.add_contact .menu_caret { opacity: .7; } -.contact_update_form { margin-top: 10px; } -.contact_update_form, .contact_form { white-space: nowrap; } -.contact_detail { margin: 20px; margin-bottom: 30px; } -.contact_detail_row table { width: auto; } -.contact_detail td { border: none; } .contact_detail_row { border: none; display: none;} .display_name, .email_address, .phone_number { font-weight: bold; } .show_contact { margin-right: 15px; } diff --git a/modules/core/message_list_functions.php b/modules/core/message_list_functions.php index 0338452c52..f1cda526ec 100644 --- a/modules/core/message_list_functions.php +++ b/modules/core/message_list_functions.php @@ -386,7 +386,7 @@ function message_since_dropdown($since, $name, $output_mod) { '-1 year' => 'Last year', '-5 years' => 'Last 5 years' ); - $res = ''; $reset = ''; foreach ($times as $val => $label) { $res .= ' $max_pages) { $floor -= ($ceil - $max_pages); } - $prev = '←'; - $next = '→'; + $prev = ''; + $next = ''; if ($floor > 1 ) { $first = '1 ... '; @@ -616,10 +616,10 @@ function build_page_links($page_size, $current_page, $total, $path, $filter=fals $last = ' ... '.$max_pages.''; } if ($current_page > 1) { - $prev = '←'; + $prev = ''; } if ($max_pages > 1 && $current_page < $max_pages) { - $next = '→'; + $next = ''; } for ($i=1;$i<=$max_pages;$i++) { if ($i < $floor || $i > $ceil) { @@ -627,7 +627,7 @@ function build_page_links($page_size, $current_page, $total, $path, $filter=fals } $links .= ' '.$i.''; } diff --git a/modules/core/output_modules.php b/modules/core/output_modules.php index 75d3b1395d..b700beab1f 100644 --- a/modules/core/output_modules.php +++ b/modules/core/output_modules.php @@ -612,9 +612,9 @@ class Hm_Output_start_settings_form extends Hm_Output_Module { * Opens a div, form and table */ protected function output() { - return '
'. + '
'. ''; } } @@ -641,7 +641,7 @@ protected function output() { } $res = ''. - ''. - ''. - ''. - ''; + return ''. + ''; } } @@ -764,8 +764,8 @@ protected function output() { $checked = ''; $reset = ''; } - return ''. - ''; + return ''. + ''; } } @@ -783,8 +783,8 @@ protected function output() { $checked = ''; $reset = ''; } - return ''. - ''; + return ''. + ''; } } @@ -802,8 +802,8 @@ protected function output() { $checked = ''; $reset = ''; } - return ''. - ''; + return ''. + ''; } } @@ -816,8 +816,8 @@ class Hm_Output_start_flagged_settings extends Hm_Output_Module { * Settings in this section control the flagged messages view */ protected function output() { - return ''; } } @@ -834,8 +834,8 @@ protected function output() { if ($this->get('single_server_mode')) { return ''; } - return ''; } } @@ -849,8 +849,8 @@ class Hm_Output_start_unread_settings extends Hm_Output_Module { * Settings in this section control the Unread view */ protected function output() { - return ''; } } @@ -871,8 +871,8 @@ protected function output() { if ($this->get('single_server_mode')) { return ''; } - return ''; } } @@ -886,8 +886,8 @@ class Hm_Output_start_general_settings extends Hm_Output_Module { * General settings like langauge and timezone will go here */ protected function output() { - return ''; } } @@ -912,7 +912,7 @@ protected function output() { } return ''. - ''; + ''; } } @@ -956,7 +956,7 @@ protected function output() { } return ''. - ''; + ''; } } @@ -1003,7 +1003,7 @@ protected function output() { } return ''. - ''; + ''; } } @@ -1027,7 +1027,7 @@ protected function output() { } return ''. - ''; + ''; } } @@ -1093,7 +1093,7 @@ protected function output() { $mylang = $this->get('language', ''); $res = ''. - ''. - ''; + ''; } } @@ -1173,10 +1173,10 @@ class Hm_Output_end_settings_form extends Hm_Output_Module { */ protected function output() { return '
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'. - ''. + return '
'. + ''. $this->trans('Flagged').'
'. - ''. + return '
'. + ''. $this->trans('Everything').'
'. - ''. + return '
'. + ''. $this->trans('Unread').'
'. - ''. + return '
'. + ''. $this->trans('All Email').'
'. - ''. + return '
'. + ''. $this->trans('General').'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'.$reset.'
'. - ''. - '
'. - '
'. - '
'. + ''. + '
'. + '
'. + '
'. '
'; } } @@ -1255,33 +1255,33 @@ protected function output() { if (!$single) { $res .= ''; } - $res .= ''; + $res .= $this->trans('Unread').''; $res .= ''; $res .= ''; $res .= ''; $res .= ''; @@ -1300,7 +1300,7 @@ class Hm_Output_logout_menu_item extends Hm_Output_Module { protected function output() { $res = ''; @@ -1356,7 +1356,7 @@ protected function output() { if ($name == 'Email' && !$single) { $res .= ''; } @@ -1383,7 +1383,7 @@ protected function output() { '