From 210814b06462c9ed8aa32b28c7de5d16da25abec Mon Sep 17 00:00:00 2001
From: Bruce Bannon $name
\n";
- $out{$name} .= "$name ( " . '$' . join ( ', $', @params ) .
- " )
\n";
+ $out{$name} .= "$name ( "
+ . '$' . join ( ', $', @params ) . " )
\n";
if ( defined ( $description ) ) {
- $out{$name} .= "Description:" .
- "";
+ $out{$name} .= "Description:"
+ . "
";
$out{$name} .= add_links ( $description ) . "
\n";
}
$out{$name} .= "Parameters:
\n\n";
@@ -51,16 +50,17 @@ sub print_function {
$out{$name} .= "
\n";
- $out{$name} .= "Returns:" .
- ( $returns eq '' ? "Nothing" : add_links ( $returns ) ) . "
\n";
- $out{$name} .= "Location:" .
- "$loc
\n";
+ $out{$name} .= "Returns:"
+ . ( $returns eq '' ? "Nothing" : add_links ( $returns ) )
+ . "
\n";
+ $out{$name} .= "Location:"
+ . "$loc
\n";
$out{$name} .= "
\n";
}
@@ -174,108 +174,90 @@ sub print_function {
}
close ( F );
-print<$TITLE
-
-$info
-
-
-
-
-Home Page:
- $url
-WebCalendar Version: $version ($date)
-Last updated: $now List of Functions
-
+
+
\n $TITLE
+
+ $info
+
+
+
+
+
+ Home Page:
+ $url
+
+
+ WebCalendar Version:
+ $version ($date)
+
+
+ Last updated:
+ $now
+ List of Functions
+ \n
\n";
+print "\n
";
foreach $name ( sort keys ( %out ) ) {
- print "
\n" . $out{$name};
+ print "\n
\n " . $out{$name};
}
-print<
'
- . ( $otheruser != '__default__' && $otheruser != '__public__' ? '
- ' : '' ) . '
-
-
+ . ( $otheruser !== '__default__' && $otheruser !== '__public__' ? '
+ '
+ : '' ) . '
+
+
@@ -438,8 +442,10 @@
echo '
diff --git a/docadd.php b/docadd.php
index 28a2c4d8f..7a2db359c 100644
--- a/docadd.php
+++ b/docadd.php
@@ -216,7 +216,7 @@
:
diff --git a/admin.php b/admin.php
index 4419188c5..eadb8bba5 100644
--- a/admin.php
+++ b/admin.php
@@ -110,10 +110,10 @@ function save_pref ( $prefs, $src ) {
@session_start();
$_SESSION['webcal_tmp_login'] = 'blahblahblah';
- $editStr = '';
+ $editStr = '';
$choices = ['day.php', 'week.php', 'month.php', 'year.php'];
$choices_text = [translate ( 'Day' ), translate ( 'Week' ),
translate ( 'Month' ), translate ( 'Year' )];
@@ -243,8 +243,8 @@ function save_pref ( $prefs, $src ) {
diff --git a/approve_entry.php b/approve_entry.php
index edb22bdfc..01063da74 100644
--- a/approve_entry.php
+++ b/approve_entry.php
@@ -31,10 +31,10 @@
-
-
+
+
-
-
+
+
diff --git a/assistant_edit.php b/assistant_edit.php
index a1f659aca..cabfd71c3 100644
--- a/assistant_edit.php
+++ b/assistant_edit.php
@@ -57,14 +57,15 @@
echo "\n";
if ( $GROUPS_ENABLED == 'Y' ) {
- echo '';
+ echo '';
}
echo "\n";
?>
+
-
+
*' . translate ( 'Global Category' )
- . '
-
+ . '
+
+
@@ -236,7 +236,7 @@
-
+
diff --git a/edit_entry.php b/edit_entry.php
index da9bac12d..bd27440f3 100644
--- a/edit_entry.php
+++ b/edit_entry.php
@@ -1016,7 +1016,8 @@ function time_selection($prefix, $time = '', $trigger = false)
-
+
@@ -1026,7 +1027,8 @@ function time_selection($prefix, $time = '', $trigger = false)
-
+
@@ -1037,7 +1039,8 @@ function time_selection($prefix, $time = '', $trigger = false)
-
+
@@ -1052,8 +1055,10 @@ function time_selection($prefix, $time = '', $trigger = false)
-
-
+
+
@@ -1067,9 +1072,7 @@ function time_selection($prefix, $time = '', $trigger = false)
-
-
-
@@ -1237,9 +1240,9 @@ function time_selection($prefix, $time = '', $trigger = false)
. translate($byday_names[$rpt_byday_mod]) : ' '));
echo '
-
- ';
+ ";
}
echo '
';
@@ -1311,9 +1314,9 @@ function time_selection($prefix, $time = '', $trigger = false)
' : '') . ($loop_ctr == 31 ? '
' : '') . '
- '
+ "
. ($loop_ctr % 10 == 0 ? '
' : '');
@@ -1357,9 +1360,10 @@ function time_selection($prefix, $time = '', $trigger = false)
. '' : '')
. ($loop_ctr == 31 ? '
' : '') . '
- '
+ "
. ($loop_ctr % 10 == 0 ? '
' : '');
@@ -1420,12 +1424,15 @@ function time_selection($prefix, $time = '', $trigger = false)
@@ -1592,7 +1599,8 @@ function time_selection($prefix, $time = '', $trigger = false)
?>
-
-
-
+
+
+
diff --git a/edit_entry_handler.php b/edit_entry_handler.php
index c2123fe1c..d0eae6339 100644
--- a/edit_entry_handler.php
+++ b/edit_entry_handler.php
@@ -1290,10 +1290,10 @@ function sort_byday( $a, $b ) {
echo
// Allow them to override a conflict if server settings allow it.
( ! empty( $ALLOW_CONFLICT_OVERRIDE ) && $ALLOW_CONFLICT_OVERRIDE == 'Y' ? '
- ' : '' ) . '
-
+ ' : '' ) . '
+
';
} else
diff --git a/edit_report.php b/edit_report.php
index bf3ac87c6..c01e91d79 100644
--- a/edit_report.php
+++ b/edit_report.php
@@ -325,13 +325,15 @@ function print_options ( $textarea, $option ) {
//}
echo '
-
- '
+
+ '
. ( ! empty ( $user ) ? '
- '
- : '' ) . '
+ ' : '' ) . '
' ) . "\n" . print_trailer ( false, true, true );
?>
diff --git a/export.php b/export.php
index c4748f620..8d50698d2 100644
--- a/export.php
+++ b/export.php
@@ -106,8 +106,8 @@
-
';
diff --git a/groups.php b/groups.php
index e7a96da86..a480fabfd 100644
--- a/groups.php
+++ b/groups.php
@@ -41,7 +41,8 @@
+
@@ -61,7 +62,9 @@
diff --git a/help_bug.php b/help_bug.php
index 65c45e9e5..79383c12d 100644
--- a/help_bug.php
+++ b/help_bug.php
@@ -18,7 +18,7 @@
. str_replace ('XXX', translate ( get_browser_language ( true ) ),
translate ( 'Also, please use English rather than XXX.' ) ) : '' ) . '