From e0186431fa3f7a3a6e45b632b2ddc135482a29e7 Mon Sep 17 00:00:00 2001
From: Bruce Bannon
Date: Wed, 26 Jul 2023 16:42:20 -0600
Subject: [PATCH] Upgrade the 'almost optional' bits.
---
about.php | 10 +-
access.php | 62 +++++------
activity_log.php | 2 +-
admin.php | 52 ++++-----
adminhome.php | 6 +-
approve_entry.php | 4 +-
assistant_edit.php | 15 ++-
availability.php | 8 +-
category.php | 24 ++---
catsel.php | 10 +-
docadd.php | 21 ++--
edit_entry.php | 170 +++++++++++++++---------------
edit_entry_handler.php | 12 +--
edit_remotes_handler.php | 12 +--
edit_report.php | 22 ++--
edit_template.php | 18 ++--
events_ajax.php | 6 +-
export.php | 12 +--
export_handler.php | 2 +-
groups.php | 22 ++--
help_bug.php | 2 +-
icons.php | 4 +-
import.php | 20 ++--
import_handler.php | 26 ++---
includes/assert.php | 4 +-
includes/classes/WebCalMailer.php | 2 +-
includes/classes/WebCalendar.php | 2 +-
includes/config.php | 4 +-
includes/dbi4php.php | 20 ++--
includes/dbtable.php | 32 +++---
includes/formvars.php | 8 +-
includes/functions.php | 124 +++++++++++-----------
includes/gradient.php | 4 +-
includes/index.html | 4 +-
includes/index.php | 4 +-
includes/init.php | 20 ++--
includes/menu.php | 12 +--
includes/site_extras.php | 2 +-
includes/site_extras.php.modified | 4 +-
includes/trailer.php | 12 +--
includes/translate.php | 2 +-
includes/validate.php | 2 +-
includes/xcal.php | 68 ++++++------
install/index.php | 106 +++++++++----------
install/install_functions.php | 10 +-
layers.php | 26 ++---
list_unapproved.php | 22 ++--
login-app.php | 36 +++----
month.php | 8 +-
pref.php | 49 +++++----
purge.php | 20 ++--
register.php | 18 ++--
reject_entry.php | 2 +-
remotecal_mgmt.php | 38 +++----
report.php | 4 +-
resourcecal_mgmt.php | 26 ++---
rss_activity_log.php | 2 +-
search.php | 20 ++--
search_handler.php | 6 +-
security_audit.php | 4 +-
select_user.php | 4 +-
set_entry_cat.php | 16 +--
themes/theme_inc.php | 2 +-
tools/convert_passwords.php | 10 +-
tools/reload_remotes.php | 8 +-
tools/send_reminders.php | 64 +++++------
user_mgmt.php | 46 ++++----
usersel.php | 26 ++---
view_d.php | 14 +--
view_entry.php | 36 +++----
view_l.php | 6 +-
view_m.php | 12 +--
view_r.php | 21 ++--
view_t.php | 8 +-
view_v.php | 8 +-
view_w.php | 8 +-
views.php | 4 +-
views_edit.php | 17 ++-
week.php | 4 +-
week_details.php | 24 ++---
week_ssi.php | 2 +-
year.php | 16 ++-
82 files changed, 809 insertions(+), 816 deletions(-)
diff --git a/about.php b/about.php
index 195e4a4cf..cf2995504 100644
--- a/about.php
+++ b/about.php
@@ -16,24 +16,24 @@
$replacements[1] = "";
$data = preg_replace ( $patterns, $replacements, $data );
}
-print_header ( [], '',
+print_header ( [], '',
'', true, false, true );
echo '
' . ( empty ( $credits ) ? '' : "
- ',
+ ',
( ! empty( $op['time'] ) && $op['time'] == 'Y'
? 'onload="enableAll( true );"' : '' ) );
@@ -214,8 +214,8 @@
echo '';
$pagetitle = translate( 'Allow Access to Other Users Calendar' );
@@ -284,7 +284,7 @@
' . translate ( 'System Settings' ) . '
';
diff --git a/icons.php b/icons.php
index 3208283d8..2733af76d 100644
--- a/icons.php
+++ b/icons.php
@@ -45,7 +45,7 @@
echo '
| '
+ . $title_str . '" alt="' . $title_str . '">'
. ($i > 0 && $i % 8 == 0 ? '
' : '');
@@ -58,4 +58,4 @@